|
@ -97,6 +97,27 @@ export const UnplannedissueJobMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '原因', |
|
|
|
|
|
field: 'reason', |
|
|
|
|
|
dictType: DICT_TYPE.UNPLANNED_ISSUE_REASON, |
|
|
|
|
|
dictClass: 'string', |
|
|
|
|
|
formatter: (_: Recordable, __: TableColumn, cellValue: number) => { |
|
|
|
|
|
return cellValue |
|
|
|
|
|
}, |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
filterable: true |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
type: 'Select', |
|
|
|
|
|
filterable: true |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '从仓库代码', |
|
|
label: '从仓库代码', |
|
|
field: 'fromWarehouseCode', |
|
|
field: 'fromWarehouseCode', |
|
@ -518,12 +539,12 @@ export const UnplannedissueJobMainRules = reactive({ |
|
|
fromAreaCodes: [ |
|
|
fromAreaCodes: [ |
|
|
{ required: true, message: '请选择从库区代码范围', trigger: 'change' } |
|
|
{ required: true, message: '请选择从库区代码范围', trigger: 'change' } |
|
|
], |
|
|
], |
|
|
requestTime: [ |
|
|
// requestTime: [
|
|
|
{ required: true, message: '请输入申请时间', trigger: 'change' } |
|
|
// { required: true, message: '请输入申请时间', trigger: 'change' }
|
|
|
], |
|
|
// ],
|
|
|
requestDueTime: [ |
|
|
// requestDueTime: [
|
|
|
{ required: true, message: '请输入要求截止时间', trigger: 'change' } |
|
|
// { required: true, message: '请输入要求截止时间', trigger: 'change' }
|
|
|
], |
|
|
// ],
|
|
|
status: [ |
|
|
status: [ |
|
|
{ required: true, message: '请选择状态', trigger: 'change' } |
|
|
{ required: true, message: '请选择状态', trigger: 'change' } |
|
|
], |
|
|
], |
|
@ -665,27 +686,6 @@ export const UnplannedissueJobDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
|
|
|
label: '原因', |
|
|
|
|
|
field: 'reason', |
|
|
|
|
|
dictType: DICT_TYPE.UNPLANNED_ISSUE_REASON, |
|
|
|
|
|
dictClass: 'string', |
|
|
|
|
|
formatter: (_: Recordable, __: TableColumn, cellValue: number) => { |
|
|
|
|
|
return cellValue |
|
|
|
|
|
}, |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
filterable: true |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
type: 'Select', |
|
|
|
|
|
filterable: true |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '货主代码', |
|
|
label: '货主代码', |
|
|
field: 'ownerCode', |
|
|
field: 'ownerCode', |
|
|