|
|
@ -449,9 +449,9 @@ export const ProductreceiptRequestMainRules = reactive({ |
|
|
|
directCreateRecord: [ |
|
|
|
{ required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } |
|
|
|
], |
|
|
|
// businessType: [
|
|
|
|
// { required: true, message: '请输入业务类型', trigger: 'blur' }
|
|
|
|
// ],
|
|
|
|
remark: [ |
|
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } |
|
|
|
], |
|
|
|
}) |
|
|
|
|
|
|
|
/** |
|
|
@ -1003,35 +1003,15 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
|
|
|
|
|
//表单校验
|
|
|
|
export const ProductreceiptRequestDetailRules = reactive({ |
|
|
|
// productionLineCode: [
|
|
|
|
// { required: true, message: '请选择生产线代码', trigger: 'change' }
|
|
|
|
// ],
|
|
|
|
// packingNumber: [
|
|
|
|
// { required: true, message: '请输入包装号', trigger: 'change' }
|
|
|
|
// ],
|
|
|
|
produceDate: [ |
|
|
|
{ required: true, message: '请选择生产日期', trigger: 'change' } |
|
|
|
], |
|
|
|
expireDate: [ |
|
|
|
{ required: true, message: '请选择过期日期', trigger: 'change' } |
|
|
|
], |
|
|
|
// inventoryStatus: [
|
|
|
|
// { required: true, message: '请选择库存状态', trigger: 'change' }
|
|
|
|
// ],
|
|
|
|
// woNumber: [
|
|
|
|
// { required: true, message: '请输入订单号', trigger: 'blur' }
|
|
|
|
// ],
|
|
|
|
// woLine: [
|
|
|
|
// { required: true, message: '请输入订单行', trigger: 'blur' }
|
|
|
|
// ],
|
|
|
|
// stdPackQty: [
|
|
|
|
// { required: true, message: '请输入标包数量', trigger: 'blur' }
|
|
|
|
// ],
|
|
|
|
// stdPackUnit: [
|
|
|
|
// { required: true, message: '请选择标包单位', trigger: 'change' }
|
|
|
|
// ],
|
|
|
|
batch: [ |
|
|
|
{ required: true, message: '请输入批次', trigger: 'blur' } |
|
|
|
{ required: true, message: '请输入批次', trigger: 'blur' }, |
|
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } |
|
|
|
], |
|
|
|
itemCode: [ |
|
|
|
{ required: true, message: '请选择物品代码', trigger: 'change' } |
|
|
@ -1048,6 +1028,9 @@ export const ProductreceiptRequestDetailRules = reactive({ |
|
|
|
productionLineCode: [ |
|
|
|
{ required: true, message: '请选择生产线代码', trigger: 'change' } |
|
|
|
], |
|
|
|
remark: [ |
|
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } |
|
|
|
], |
|
|
|
}) |
|
|
|
|
|
|
|
/** |
|
|
|