|
|
@ -11,6 +11,7 @@ import { SupplierdeliverRecordMain } from "@/views/wms/purchasereceiptManage/sup |
|
|
|
import * as SupplierdeliverRecordMainApi from "@/api/wms/supplierdeliverRecordMain"; |
|
|
|
import * as ItemPackageApi from "@/api/wms/itempackage"; |
|
|
|
import {Itempackaging} from "@/views/wms/basicDataManage/itemManage/itempackage/itempackage.data"; |
|
|
|
import {validatePositiveNumber} from "@/utils/validator"; |
|
|
|
|
|
|
|
// 表单校验
|
|
|
|
export const PackageRules = reactive({ |
|
|
@ -610,7 +611,8 @@ export const PackageRulesInventor = reactive({ |
|
|
|
{ required: true, message: '请选择物料代码', trigger: 'change' } |
|
|
|
], |
|
|
|
qty: [ |
|
|
|
{ required: true, message: '请输入数量', trigger: 'blur' } |
|
|
|
{ required: true, message: '请输入数量', trigger: 'blur' }, |
|
|
|
{ validator:validatePositiveNumber, message: '必须是一个正数', trigger: 'change'} |
|
|
|
], |
|
|
|
toDockCode: [ |
|
|
|
{ required: true, message: '请选择月台代码', trigger: 'change' } |
|
|
|