|
|
@ -117,19 +117,8 @@ export const DeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
}, |
|
|
|
isSearch: true, |
|
|
|
form: { |
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
componentProps: { |
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
|
searchListPlaceholder: '请选择客户代码', // 输入框占位文本
|
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
|
searchTitle: '客户信息', // 查询弹窗标题
|
|
|
|
searchAllSchemas: Customer.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: CustomerApi.getCustomerPage, // 查询弹窗所需分页方法
|
|
|
|
searchCondition: [{ |
|
|
|
key: 'available', |
|
|
|
value: 'TRUE', |
|
|
|
isMainValue: false |
|
|
|
}] |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
@ -154,6 +143,11 @@ export const DeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
key: 'available', |
|
|
|
value: 'TRUE', |
|
|
|
isMainValue: false |
|
|
|
}, |
|
|
|
{ |
|
|
|
key: 'customerCode', |
|
|
|
value: 'customerCode', |
|
|
|
isMainValue: true |
|
|
|
}] |
|
|
|
} |
|
|
|
} |
|
|
@ -527,9 +521,9 @@ export const DeliverRequestMainRules = reactive({ |
|
|
|
// toLocationTypes: [
|
|
|
|
// { required: true, message: '请选择到库位类型范围', trigger: 'change' }
|
|
|
|
// ],
|
|
|
|
deliverPlanNumber: [ |
|
|
|
{ required: true, message: '请选择发货计划单号', trigger: 'change' } |
|
|
|
], |
|
|
|
// deliverPlanNumber: [
|
|
|
|
// { required: true, message: '请选择发货计划单号', trigger: 'change' }
|
|
|
|
// ],
|
|
|
|
departmentCode: [ |
|
|
|
{ required: true, message: '请输入部门', trigger: 'blur' } |
|
|
|
], |
|
|
|