|
@ -4,6 +4,9 @@ import { dateFormatter } from '@/utils/formatTime' |
|
|
import * as CustomerApi from '@/api/wms/customer' |
|
|
import * as CustomerApi from '@/api/wms/customer' |
|
|
import { Customer } from '../customer/customer.data' |
|
|
import { Customer } from '../customer/customer.data' |
|
|
|
|
|
|
|
|
|
|
|
import * as DockApi from '@/api/wms/dock' |
|
|
|
|
|
import { Dock } from '../../factoryModeling/dock/dock.data' |
|
|
|
|
|
|
|
|
import * as WarehouseApi from '@/api/wms/warehouse' |
|
|
import * as WarehouseApi from '@/api/wms/warehouse' |
|
|
import { Warehouse } from '../../factoryModeling/warehouse/warehouse.data' |
|
|
import { Warehouse } from '../../factoryModeling/warehouse/warehouse.data' |
|
|
|
|
|
|
|
@ -26,7 +29,50 @@ export const Customerdock = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
width: 150, |
|
|
width: 150, |
|
|
fixed: 'left' |
|
|
fixed: 'left' |
|
|
}, |
|
|
}, |
|
|
isSearch: true |
|
|
form: { |
|
|
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
|
|
componentProps: { |
|
|
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
|
|
|
searchListPlaceholder: '请选择月台代码', // 输入框占位文本
|
|
|
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
|
|
|
searchTitle: '月台基础信息', // 查询弹窗标题
|
|
|
|
|
|
searchAllSchemas: Dock.allSchemas, // 查询弹窗所需类
|
|
|
|
|
|
searchPage: DockApi.getDockPage, // 查询弹窗所需分页方法
|
|
|
|
|
|
searchCondition: [{ |
|
|
|
|
|
key: 'available', |
|
|
|
|
|
value: 'TRUE', |
|
|
|
|
|
action: '==', |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
}] |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '客户代码', |
|
|
|
|
|
field: 'customerCode', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
|
|
componentProps: { |
|
|
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
|
|
|
searchListPlaceholder: '请选择客户代码', // 输入框占位文本
|
|
|
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
|
|
|
searchTitle: '客户基础信息', // 查询弹窗标题
|
|
|
|
|
|
searchAllSchemas: Customer.allSchemas, // 查询弹窗所需类
|
|
|
|
|
|
searchPage: CustomerApi.getCustomerPage, // 查询弹窗所需分页方法
|
|
|
|
|
|
searchCondition: [{ |
|
|
|
|
|
key: 'available', |
|
|
|
|
|
value: 'TRUE', |
|
|
|
|
|
action: '==', |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
}] |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '名称', |
|
|
label: '名称', |
|
@ -77,32 +123,6 @@ export const Customerdock = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
|
|
|
label: '客户代码', |
|
|
|
|
|
field: 'customerCode', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
|
|
componentProps: { |
|
|
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
|
|
|
searchListPlaceholder: '请选择客户代码', // 输入框占位文本
|
|
|
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
|
|
|
searchTitle: '客户基础信息', // 查询弹窗标题
|
|
|
|
|
|
searchAllSchemas: Customer.allSchemas, // 查询弹窗所需类
|
|
|
|
|
|
searchPage: CustomerApi.getCustomerPage, // 查询弹窗所需分页方法
|
|
|
|
|
|
searchCondition: [{ |
|
|
|
|
|
key: 'available', |
|
|
|
|
|
value: 'TRUE', |
|
|
|
|
|
action: '==', |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
}] |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '仓库', |
|
|
label: '仓库', |
|
|
field: 'warehouseCode', |
|
|
field: 'warehouseCode', |
|
|