|
@ -13,7 +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' |
|
|
import { validateHanset, validateEmail } from '@/utils/validator' |
|
|
|
|
|
|
|
|
// 获取自动提交自动通过自动执行,跳过任务直接删生成记录的默认值
|
|
|
// 获取自动提交自动通过自动执行,跳过任务直接删生成记录的默认值
|
|
|
const queryParams = { |
|
|
const queryParams = { |
|
@ -484,11 +484,11 @@ export const SupplierdeliverRequestMainRules = reactive({ |
|
|
], |
|
|
], |
|
|
contactPhone: [ |
|
|
contactPhone: [ |
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' }, |
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' }, |
|
|
{ validator:validateHanset, message: '请输入正确的手机号', trigger: 'blur'} |
|
|
{ validator: validateHanset, message: '请输入正确的手机号', trigger: 'blur' } |
|
|
], |
|
|
], |
|
|
contactEmail: [ |
|
|
contactEmail: [ |
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' }, |
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' }, |
|
|
{ validator:validateEmail, message: '请输入正确的手机号', trigger: 'blur'} |
|
|
{ validator: validateEmail, message: '请输入正确的手机号', trigger: 'blur' } |
|
|
], |
|
|
], |
|
|
carrierCode: [ |
|
|
carrierCode: [ |
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } |
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } |
|
@ -646,7 +646,14 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
key: 'number', |
|
|
key: 'number', |
|
|
value: 'ppNumber', |
|
|
value: 'ppNumber', |
|
|
isMainValue: true |
|
|
isMainValue: true |
|
|
}] |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
key: 'available', |
|
|
|
|
|
value: 'TRUE', |
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
] |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
tableForm: { |
|
|
tableForm: { |
|
@ -661,6 +668,11 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[] |
|
|
key: 'number', |
|
|
key: 'number', |
|
|
value: 'ppNumber', |
|
|
value: 'ppNumber', |
|
|
isMainValue: true |
|
|
isMainValue: true |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
key: 'available', |
|
|
|
|
|
value: 'TRUE', |
|
|
|
|
|
isMainValue: false |
|
|
}] |
|
|
}] |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|