|
|
@ -1114,6 +1114,13 @@ export const SupplierdeliverRequestDetailRules = reactive({ |
|
|
|
packUnit: [ |
|
|
|
{ required: true, message: '请选择包装规格', trigger: 'change' } |
|
|
|
], |
|
|
|
secondPackUnit: [ |
|
|
|
{ required: false, message: '请选择包装规格2', trigger: 'change' } |
|
|
|
], |
|
|
|
secondPackQty: [ |
|
|
|
{ required: false, message: '请输入包装数量2', trigger: 'blur' }, |
|
|
|
{ validator: validateInteger, message: '请输入正确的整数', trigger: 'blur' } |
|
|
|
], |
|
|
|
convertRate: [ |
|
|
|
{ required: true, message: '请输入转换率', trigger: 'blur' } |
|
|
|
], |
|
|
@ -1123,7 +1130,7 @@ export const SupplierdeliverRequestDetailRules = reactive({ |
|
|
|
remark: [ |
|
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } |
|
|
|
], |
|
|
|
secondPackQty:[{ validator:validateInteger, message: '请输入正确的整数', trigger: 'blur'}] |
|
|
|
// secondPackQty:[{ validator:validateInteger, message: '请输入正确的整数', trigger: 'blur'}]
|
|
|
|
}) |
|
|
|
|
|
|
|
export const SupplierdeliverRequestDetailLabel = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
@ -1157,6 +1164,7 @@ export const SupplierdeliverRequestDetailLabel = useCrudSchemas(reactive<CrudSch |
|
|
|
type: 'date', |
|
|
|
dateFormat: 'YYYY-MM-DD', |
|
|
|
valueFormat: 'x', |
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
@ -1526,7 +1534,6 @@ export const SupplierdeliverRequestDetailLabel = useCrudSchemas(reactive<CrudSch |
|
|
|
} |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
|
// disabled: true,
|
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
@ -1595,7 +1602,6 @@ export const SupplierdeliverRequestDetailLabel = useCrudSchemas(reactive<CrudSch |
|
|
|
} |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
|
// disabled: true,
|
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|