|
@ -13,6 +13,7 @@ import * as PurchaseMainApi from '@/api/wms/purchaseMain' |
|
|
import * as PurchaseDetailApi from '@/api/wms/purchaseDetail' |
|
|
import * as PurchaseDetailApi from '@/api/wms/purchaseDetail' |
|
|
import { PurchaseDetail, PurchaseMain } from '../purchaseMain/purchaseMain.data' |
|
|
import { PurchaseDetail, PurchaseMain } from '../purchaseMain/purchaseMain.data' |
|
|
import { PurchasePlanDetail, PurchasePlanMain } from '../purchasePlanMain/purchasePlanMain.data' |
|
|
import { PurchasePlanDetail, PurchasePlanMain } from '../purchasePlanMain/purchasePlanMain.data' |
|
|
|
|
|
import {validateHanset,validateEmail} from '@/utils/validator' |
|
|
|
|
|
|
|
|
// 获取自动提交自动通过自动执行,跳过任务直接删生成记录的默认值
|
|
|
// 获取自动提交自动通过自动执行,跳过任务直接删生成记录的默认值
|
|
|
const queryParams = { |
|
|
const queryParams = { |
|
@ -475,15 +476,32 @@ export const SupplierdeliverRequestMainRules = reactive({ |
|
|
ppNumber: [ |
|
|
ppNumber: [ |
|
|
{ required: true, message: '请输入要货计划单号', trigger: 'blur' } |
|
|
{ required: true, message: '请输入要货计划单号', trigger: 'blur' } |
|
|
], |
|
|
], |
|
|
// fromWarehouseCode: [
|
|
|
asnNumber: [ |
|
|
// { required: true, message: '请输入从仓库代码', trigger: 'blur' }
|
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } |
|
|
// ],
|
|
|
], |
|
|
// toWarehouseCode: [
|
|
|
contactName: [ |
|
|
// { required: true, message: '请输入到仓库代码', trigger: 'blur' }
|
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } |
|
|
// ],
|
|
|
], |
|
|
// toDockCode: [
|
|
|
contactPhone: [ |
|
|
// { required: true, message: '请输入到月台代码', trigger: 'change' }
|
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' }, |
|
|
// ],
|
|
|
{ validator:validateHanset, message: '请输入正确的手机号', trigger: 'blur'} |
|
|
|
|
|
], |
|
|
|
|
|
contactEmail: [ |
|
|
|
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' }, |
|
|
|
|
|
{ validator:validateEmail, message: '请输入正确的手机号', trigger: 'blur'} |
|
|
|
|
|
], |
|
|
|
|
|
carrierCode: [ |
|
|
|
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } |
|
|
|
|
|
], |
|
|
|
|
|
transferMode: [ |
|
|
|
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } |
|
|
|
|
|
], |
|
|
|
|
|
vehiclePlateNumber: [ |
|
|
|
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } |
|
|
|
|
|
], |
|
|
|
|
|
remark: [ |
|
|
|
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } |
|
|
|
|
|
], |
|
|
planArriveTime: [ |
|
|
planArriveTime: [ |
|
|
{ required: true, message: '请输入计划到货时间', trigger: 'blur' } |
|
|
{ required: true, message: '请输入计划到货时间', trigger: 'blur' } |
|
|
], |
|
|
], |
|
@ -1001,7 +1019,8 @@ export const SupplierdeliverRequestDetailRules = reactive({ |
|
|
// { required: true, message: '请输入包装号', trigger: 'blur' }
|
|
|
// { required: true, message: '请输入包装号', trigger: 'blur' }
|
|
|
// ],
|
|
|
// ],
|
|
|
batch: [ |
|
|
batch: [ |
|
|
{ required: true, message: '请输入批次', trigger: 'blur' } |
|
|
{ required: true, message: '请输入批次', trigger: 'blur' }, |
|
|
|
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' }, |
|
|
], |
|
|
], |
|
|
produceDate: [ |
|
|
produceDate: [ |
|
|
{ required: true, message: '请输入生产日期', trigger: 'blur' } |
|
|
{ required: true, message: '请输入生产日期', trigger: 'blur' } |
|
@ -1027,4 +1046,7 @@ export const SupplierdeliverRequestDetailRules = reactive({ |
|
|
itemCode: [ |
|
|
itemCode: [ |
|
|
{ required: true, message: '请选择物品代码', trigger: 'change' } |
|
|
{ required: true, message: '请选择物品代码', trigger: 'change' } |
|
|
], |
|
|
], |
|
|
|
|
|
remark: [ |
|
|
|
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } |
|
|
|
|
|
], |
|
|
}) |
|
|
}) |
|
|