|
@ -310,6 +310,18 @@ export const ProductscrapRequestMain = useCrudSchemas( |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '报废原因', |
|
|
|
|
|
field: 'scrappingReason', |
|
|
|
|
|
dictType: DICT_TYPE.SCRAPPING_REASON, |
|
|
|
|
|
dictClass: 'string', |
|
|
|
|
|
isForm: true, |
|
|
|
|
|
isTable: true, |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '从仓库代码', |
|
|
label: '从仓库代码', |
|
|
field: 'fromWarehouseCode', |
|
|
field: 'fromWarehouseCode', |
|
@ -644,6 +656,9 @@ export const ProductscrapRequestMainRules = reactive({ |
|
|
remark: [ |
|
|
remark: [ |
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } |
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } |
|
|
], |
|
|
], |
|
|
|
|
|
scrappingReason: [ |
|
|
|
|
|
{ required: true, message: '请输入报废原因', trigger: 'blur' } |
|
|
|
|
|
], |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|