|
|
@ -44,6 +44,7 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isSearch: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '承运商', |
|
|
@ -60,6 +61,7 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isSearch: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '车牌号', |
|
|
@ -90,7 +92,6 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
field: 'fromLocationTypes', |
|
|
|
dictType: DICT_TYPE.LOCATION_TYPE, |
|
|
|
dictClass: 'string', |
|
|
|
isSearch: true, |
|
|
|
isTable: true, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
@ -102,7 +103,6 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
field: 'toLocationTypes', |
|
|
|
dictType: DICT_TYPE.LOCATION_TYPE, |
|
|
|
dictClass: 'string', |
|
|
|
isSearch: true, |
|
|
|
isTable: true, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
@ -138,8 +138,11 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
field: 'number', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
width: 150, |
|
|
|
fixed: 'left' |
|
|
|
}, |
|
|
|
isForm: false, |
|
|
|
isSearch: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '业务类型', |
|
|
@ -148,6 +151,12 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
value: 'PurchaseReceipt', |
|
|
|
componentProps: { |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '备注', |
|
|
@ -156,6 +165,7 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isForm: false, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '创建时间', |
|
|
@ -176,6 +186,7 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
valueFormat: 'x', |
|
|
|
} |
|
|
|
}, |
|
|
|
isForm: false, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '创建者', |
|
|
@ -184,6 +195,7 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isForm: false, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '最后更新时间', |
|
|
@ -204,6 +216,7 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
valueFormat: 'x', |
|
|
|
} |
|
|
|
}, |
|
|
|
isForm: false, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '最后更新者', |
|
|
@ -212,6 +225,7 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isForm: false, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '申请时间', |
|
|
@ -261,7 +275,10 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
value: userDept.name |
|
|
|
value: userDept.name, |
|
|
|
componentProps: { |
|
|
|
disabled: true, |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
@ -275,13 +292,13 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isForm: false, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '自动提交', |
|
|
|
field: 'autoCommit', |
|
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
|
dictClass: 'string', |
|
|
|
isSearch: true, |
|
|
|
isTable: true, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
@ -292,7 +309,8 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
value: requestsettingData.autoCommit, |
|
|
|
componentProps: { |
|
|
|
inactiveValue: 'FALSE', |
|
|
|
activeValue: 'TRUE' |
|
|
|
activeValue: 'TRUE', |
|
|
|
disabled: true, |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
@ -301,7 +319,6 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
field: 'autoAgree', |
|
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
|
dictClass: 'string', |
|
|
|
isSearch: true, |
|
|
|
isTable: true, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
@ -312,7 +329,8 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
value: requestsettingData.autoAgree, |
|
|
|
componentProps: { |
|
|
|
inactiveValue: 'FALSE', |
|
|
|
activeValue: 'TRUE' |
|
|
|
activeValue: 'TRUE', |
|
|
|
disabled: true, |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
@ -321,7 +339,6 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
field: 'autoExecute', |
|
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
|
dictClass: 'string', |
|
|
|
isSearch: true, |
|
|
|
isTable: true, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
@ -332,7 +349,8 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
value: requestsettingData.autoExecute, |
|
|
|
componentProps: { |
|
|
|
inactiveValue: 'FALSE', |
|
|
|
activeValue: 'TRUE' |
|
|
|
activeValue: 'TRUE', |
|
|
|
disabled: true, |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
@ -341,7 +359,6 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
field: 'directCreateRecord', |
|
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
|
dictClass: 'string', |
|
|
|
isSearch: true, |
|
|
|
isTable: true, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
@ -352,7 +369,8 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
value: requestsettingData.directCreateRecord, |
|
|
|
componentProps: { |
|
|
|
inactiveValue: 'FALSE', |
|
|
|
activeValue: 'TRUE' |
|
|
|
activeValue: 'TRUE', |
|
|
|
disabled: true, |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
@ -372,9 +390,6 @@ export const PurchasereceiptRequestMainRules = reactive({ |
|
|
|
departmentCode: [ |
|
|
|
{ required: true, message: '请输入部门', trigger: 'blur' } |
|
|
|
], |
|
|
|
status: [ |
|
|
|
{ required: true, message: '请选择状态', trigger: 'change' } |
|
|
|
], |
|
|
|
autoCommit: [ |
|
|
|
{ required: true, message: '请选择是否自动提交', trigger: 'change' } |
|
|
|
], |
|
|
@ -387,19 +402,9 @@ export const PurchasereceiptRequestMainRules = reactive({ |
|
|
|
directCreateRecord: [ |
|
|
|
{ required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } |
|
|
|
], |
|
|
|
number: [ |
|
|
|
{ required: true, message: '请输入单据号', trigger: 'blur' } |
|
|
|
], |
|
|
|
businessType: [ |
|
|
|
{ required: true, message: '请输入业务类型', trigger: 'blur' } |
|
|
|
], |
|
|
|
createTime: [ |
|
|
|
{ required: true, message: '请输入创建时间', trigger: 'blur' } |
|
|
|
], |
|
|
|
creator: [ |
|
|
|
{ required: true, message: '请输入创建者', trigger: 'blur' } |
|
|
|
], |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
/** |
|
|
@ -503,7 +508,6 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
field: 'inventoryStatus', |
|
|
|
dictType: DICT_TYPE.INVENTORY_STATUS, |
|
|
|
dictClass: 'string', |
|
|
|
isSearch: true, |
|
|
|
isTable: true, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
@ -550,7 +554,6 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
field: 'stdPackUnit', |
|
|
|
dictType: DICT_TYPE.PACK_UNIT, |
|
|
|
dictClass: 'string', |
|
|
|
isSearch: true, |
|
|
|
isTable: true, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
@ -573,7 +576,6 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
field: 'supplierPackUnit', |
|
|
|
dictType: DICT_TYPE.UOM, |
|
|
|
dictClass: 'string', |
|
|
|
isSearch: true, |
|
|
|
isTable: true, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
@ -598,6 +600,12 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isTableForm: false, |
|
|
|
form: { |
|
|
|
componentProps: { |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '物品代码', |
|
|
@ -655,7 +663,6 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
field: 'uom', |
|
|
|
dictType: DICT_TYPE.UOM, |
|
|
|
dictClass: 'string', |
|
|
|
isSearch: true, |
|
|
|
isTable: true, |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
@ -685,6 +692,8 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isTableForm: false, |
|
|
|
isForm: false |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '创建者', |
|
|
@ -693,6 +702,8 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isTableForm: false, |
|
|
|
isForm: false |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '创建时间', |
|
|
@ -713,6 +724,8 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
valueFormat: 'x', |
|
|
|
} |
|
|
|
}, |
|
|
|
isTableForm: false, |
|
|
|
isForm: false |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '最后更新者', |
|
|
@ -721,6 +734,8 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isTableForm: false, |
|
|
|
isForm: false |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '最后更新时间', |
|
|
@ -741,6 +756,8 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
|
valueFormat: 'x', |
|
|
|
} |
|
|
|
}, |
|
|
|
isTableForm: false, |
|
|
|
isForm: false |
|
|
|
} |
|
|
|
])) |
|
|
|
|
|
|
@ -779,16 +796,7 @@ export const PurchasereceiptRequestDetailRules = reactive({ |
|
|
|
inventoryStatus: [ |
|
|
|
{ required: true, message: '请选择库存状态', trigger: 'change' } |
|
|
|
], |
|
|
|
number: [ |
|
|
|
{ required: true, message: '请输入单据号', trigger: 'blur' } |
|
|
|
], |
|
|
|
itemCode: [ |
|
|
|
{ required: true, message: '请输入物品代码', trigger: 'blur' } |
|
|
|
], |
|
|
|
createTime: [ |
|
|
|
{ required: true, message: '请输入创建时间', trigger: 'blur' } |
|
|
|
], |
|
|
|
creator: [ |
|
|
|
{ required: true, message: '请输入创建者', trigger: 'blur' } |
|
|
|
], |
|
|
|
}) |