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