|
|
@ -9,6 +9,7 @@ import { validateHanset, validateEmail } from '@/utils/validator' |
|
|
|
import { Itempackaging } from '@/views/wms/basicDataManage/itemManage/itempackage/itempackage.data' |
|
|
|
import * as ItemPackageApi from '@/api/wms/itempackage/index' |
|
|
|
|
|
|
|
import {validateInteger} from '@/utils/validator' |
|
|
|
const { t } = useI18n() // 国际化
|
|
|
|
|
|
|
|
// 获取自动提交自动通过自动执行,跳过任务直接删生成记录的默认值
|
|
|
@ -1101,7 +1102,8 @@ export const SupplierdeliverRequestDetailRules = reactive({ |
|
|
|
{ required: true, message: '请输入生产日期', trigger: 'blur' } |
|
|
|
], |
|
|
|
packQty: [ |
|
|
|
{ required: true, message: '请输入包装数量', trigger: 'blur' } |
|
|
|
{ required: true, message: '请输入包装数量', trigger: 'blur' }, |
|
|
|
{ validator: validateInteger, message: '请输入正确的整数', trigger: 'blur' } |
|
|
|
], |
|
|
|
poNumber: [ |
|
|
|
{ required: true, message: '请选择订单号', trigger: 'change' } |
|
|
@ -1121,6 +1123,8 @@ export const SupplierdeliverRequestDetailRules = reactive({ |
|
|
|
remark: [ |
|
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } |
|
|
|
], |
|
|
|
|
|
|
|
secondPackQty:[required,{ validator:validateInteger, message: '请输入正确的整数', trigger: 'blur'}] |
|
|
|
}) |
|
|
|
|
|
|
|
export const SupplierdeliverRequestDetailLabel = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
@ -1520,11 +1524,10 @@ export const SupplierdeliverRequestDetailLabel = useCrudSchemas(reactive<CrudSch |
|
|
|
}, |
|
|
|
form: { |
|
|
|
componentProps: { |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
|
disabled: true, |
|
|
|
// disabled: true,
|
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
@ -1590,11 +1593,10 @@ export const SupplierdeliverRequestDetailLabel = useCrudSchemas(reactive<CrudSch |
|
|
|
}, |
|
|
|
form: { |
|
|
|
componentProps: { |
|
|
|
disabled:true |
|
|
|
} |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
|
disabled: true, |
|
|
|
// disabled: true,
|
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|