Commit 5e483e54 by sunhaiwei

采购到货页面单据号字段改成自动生成

parent f89510ea
...@@ -342,34 +342,24 @@ export const formProps: FormProps = { ...@@ -342,34 +342,24 @@ export const formProps: FormProps = {
span: 8, span: 8,
list: [ list: [
{ {
key: '2be7c2009d5d496fa83ebca7a699f656', key: '8e8adb239db44a4ba19cd28a3d661f16',
field: 'djh', field: 'djh',
label: '单据号', label: '单据号',
type: 'input', type: 'auto-code',
component: 'Input', component: 'AutoCodeRule',
colProps: { span: 24 }, colProps: { span: 24 },
defaultValue: '',
componentProps: { componentProps: {
width: '100%', width: '100%',
span: 7, span: 7,
defaultValue: '', placeholder: '请输入单据号',
placeholder: '',
prefix: '', prefix: '',
suffix: '', suffix: '',
addonBefore: '', addonBefore: '',
addonAfter: '', addonAfter: '',
disabled: false,
allowClear: false,
showLabel: true, showLabel: true,
autoCodeRule: 'cgdhbh',
required: false, required: false,
rules: [],
events: {},
listStyle: '',
isSave: false,
isShow: true, isShow: true,
scan: false,
bordered: true,
isShowAi: false,
tooltipConfig: { visible: false, title: '提示文本' }, tooltipConfig: { visible: false, title: '提示文本' },
style: { width: '100%' }, style: { width: '100%' },
}, },
......
...@@ -2,19 +2,18 @@ export const permissionList = [ ...@@ -2,19 +2,18 @@ export const permissionList = [
{ {
required: false, required: false,
view: true, view: true,
edit: true, edit: false,
disabled: false, disabled: true,
isSaveTable: false, isSaveTable: false,
tableName: '', tableName: '',
fieldName: '单据号', fieldName: '单据号',
fieldId: 'djh', fieldId: 'djh',
isSubTable: false, isSubTable: false,
showChildren: true, showChildren: true,
type: 'input', type: 'auto-code',
key: '2be7c2009d5d496fa83ebca7a699f656', key: '8e8adb239db44a4ba19cd28a3d661f16',
children: [], children: [],
options: {}, options: {},
defaultValue: '',
}, },
{ {
required: false, required: false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment