|
|
@ -4,6 +4,9 @@ import { dateFormatter } from '@/utils/formatTime' |
|
|
|
import * as CustomerApi from '@/api/wms/customer' |
|
|
|
import { Customer } from '@/views/wms/basicDataManage/customerManage/customer/customer.data' |
|
|
|
|
|
|
|
import * as CustomerDockApi from '@/api/wms/customerdock' |
|
|
|
import { Customerdock } from '@/views/wms/basicDataManage/customerManage/customerdock/customerdock.data' |
|
|
|
|
|
|
|
import * as SaleMainApi from '@/api/wms/saleMain' |
|
|
|
import * as SaleDetailApi from '@/api/wms/saleDetail' |
|
|
|
import { SaleDetail, SaleMain } from '../saleMain/saleMain.data' |
|
|
@ -320,7 +323,23 @@ export const DeliverPlanDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isTableForm: false, |
|
|
|
tableForm:{ |
|
|
|
isInpuFocusShow: true, // 开启查询弹窗
|
|
|
|
searchListPlaceholder: '请选择物料代码', |
|
|
|
searchField: 'code', |
|
|
|
searchTitle: '物料基础信息', |
|
|
|
searchAllSchemas: Customerdock.allSchemas, |
|
|
|
searchPage: CustomerDockApi.getCustomerdockPage, |
|
|
|
searchCondition: [{ |
|
|
|
key: 'available', |
|
|
|
value: 'TRUE', |
|
|
|
isMainValue: false |
|
|
|
},{ |
|
|
|
key: 'customerCode', |
|
|
|
value: 'customerCode', |
|
|
|
isMainValue: true |
|
|
|
}] |
|
|
|
}, |
|
|
|
isForm: false, |
|
|
|
}, |
|
|
|
{ |
|
|
@ -533,6 +552,9 @@ export const DeliverPlanDetailRules = reactive({ |
|
|
|
number: [ |
|
|
|
{ required: true, message: '请输入单据号', trigger: 'blur' } |
|
|
|
], |
|
|
|
customerDockCode: [ |
|
|
|
{ required: true, message: '请选择客户月台代码', trigger: 'blur' } |
|
|
|
], |
|
|
|
itemCode: [ |
|
|
|
{ required: true, message: '请选择物料代码', trigger: 'change' } |
|
|
|
], |
|
|
|