|
|
@ -488,36 +488,9 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
|
|
|
|
//表单校验
|
|
|
|
export const CustomerreturnRequestMainRules = reactive({ |
|
|
|
// customerCode: [
|
|
|
|
// { required: true, message: '请选择客户代码', trigger: 'change' }
|
|
|
|
// ],
|
|
|
|
// customerDockCode: [
|
|
|
|
// { required: true, message: '请选择客户月台代码', trigger: 'change' }
|
|
|
|
// ],
|
|
|
|
// fromWarehouseCode: [
|
|
|
|
// { required: true, message: '请选择从仓库代码', trigger: 'change' }
|
|
|
|
// ],
|
|
|
|
// fromLocationTypes: [
|
|
|
|
// { required: true, message: '请选择从库位类型范围', trigger: 'change' }
|
|
|
|
// ],
|
|
|
|
// fromAreaCodes: [
|
|
|
|
// { required: true, message: '请选择从库区代码范围', trigger: 'change' }
|
|
|
|
// ],
|
|
|
|
// toWarehouseCode: [
|
|
|
|
// { required: true, message: '请选择到仓库代码', trigger: 'change' }
|
|
|
|
// ],
|
|
|
|
// toLocationTypes: [
|
|
|
|
// { required: true, message: '请选择到库位类型范围', trigger: 'change' }
|
|
|
|
// ],
|
|
|
|
// toAreaCodes: [
|
|
|
|
// { required: true, message: '请选择到库区代码范围', trigger: 'change' }
|
|
|
|
// ],
|
|
|
|
deliverRecordNumber: [ |
|
|
|
{ required: true, message: '请选择发货记录单号', trigger: 'change' } |
|
|
|
], |
|
|
|
// customerDockCode: [
|
|
|
|
// { required: true, message: '请选择客户月台代码', trigger: 'change' }
|
|
|
|
// ],
|
|
|
|
departmentCode: [ |
|
|
|
{ required: true, message: '请输入部门', trigger: 'blur' } |
|
|
|
], |
|
|
@ -533,9 +506,12 @@ export const CustomerreturnRequestMainRules = reactive({ |
|
|
|
directCreateRecord: [ |
|
|
|
{ required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } |
|
|
|
], |
|
|
|
// businessType: [
|
|
|
|
// { required: true, message: '请输入业务类型', trigger: 'blur' }
|
|
|
|
// ],
|
|
|
|
vehiclePlateNumber: [ |
|
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } |
|
|
|
], |
|
|
|
remark: [ |
|
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } |
|
|
|
], |
|
|
|
}) |
|
|
|
|
|
|
|
/** |
|
|
@ -943,22 +919,10 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]> |
|
|
|
|
|
|
|
//表单校验
|
|
|
|
export const CustomerreturnRequestDetailRules = reactive({ |
|
|
|
// soNumber: [
|
|
|
|
// { required: true, message: '请选择销售订单号', trigger: 'change' }
|
|
|
|
// ],
|
|
|
|
// packingNumber: [
|
|
|
|
// { required: true, message: '请选择包装号', trigger: 'change' }
|
|
|
|
// ],
|
|
|
|
// batch: [
|
|
|
|
// { required: true, message: '请输入批次', trigger: 'blur' }
|
|
|
|
// ],
|
|
|
|
// inventoryStatus: [
|
|
|
|
// { required: true, message: '请选择库存状态', trigger: 'change' }
|
|
|
|
// ],
|
|
|
|
// fromLocationCode: [
|
|
|
|
// { required: true, message: '请选择从库位代码', trigger: 'change' }
|
|
|
|
// ],
|
|
|
|
itemCode: [ |
|
|
|
{ required: true, message: '请选择物品代码', trigger: 'change' } |
|
|
|
], |
|
|
|
remark: [ |
|
|
|
{ max: 50, message: '不得超过50个字符', trigger: 'blur' } |
|
|
|
], |
|
|
|
}) |