|
@ -2,6 +2,8 @@ import type { CrudSchema } from '@/hooks/web/useCrudSchemas' |
|
|
import { dateFormatter, dateFormatter2 } from '@/utils/formatTime' |
|
|
import { dateFormatter, dateFormatter2 } from '@/utils/formatTime' |
|
|
import * as CustomerApi from '@/api/wms/customer' |
|
|
import * as CustomerApi from '@/api/wms/customer' |
|
|
import { Customer } from '../../../basicDataManage/customerManage/customer/customer.data' |
|
|
import { Customer } from '../../../basicDataManage/customerManage/customer/customer.data' |
|
|
|
|
|
import * as CustomerItemApi from '@/api/wms/customeritem' |
|
|
|
|
|
import { Customeritem } from '@/views/wms/basicDataManage/customerManage/customeritem/customeritem.data' |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @returns {Array} 发货记录主表 |
|
|
* @returns {Array} 发货记录主表 |
|
@ -16,48 +18,8 @@ export const DeliverRecordMain = useCrudSchemas( |
|
|
width: 180, |
|
|
width: 180, |
|
|
fixed: 'left' |
|
|
fixed: 'left' |
|
|
}, |
|
|
}, |
|
|
isSearch: true |
|
|
isSearch: true, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '申请单号', |
|
|
|
|
|
field: 'requestNumber', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 180 |
|
|
|
|
|
}, |
|
|
|
|
|
isTable: false, |
|
|
|
|
|
isSearch: false |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '任务单号', |
|
|
|
|
|
field: 'jobNumber', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 180 |
|
|
|
|
|
}, |
|
|
|
|
|
isTable: false, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '发货记录单号', |
|
|
|
|
|
field: 'deliverRecordNumber', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
isSearch: false, |
|
|
|
|
|
isTable: false, |
|
|
|
|
|
isForm: false, |
|
|
isForm: false, |
|
|
isDetail: false |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '发货计划单号', |
|
|
|
|
|
field: 'deliverPlanNumber', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 180 |
|
|
|
|
|
}, |
|
|
|
|
|
isTable: false, |
|
|
|
|
|
isDetail: true |
|
|
|
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '发货类型', |
|
|
label: '发货类型', |
|
@ -69,16 +31,15 @@ export const DeliverRecordMain = useCrudSchemas( |
|
|
dictClass: 'string', |
|
|
dictClass: 'string', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
component: 'Select', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true, |
|
|
|
|
|
defaultValue: 'InducedProduct' |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
// {
|
|
|
|
|
|
// label: '客户发货单号',
|
|
|
|
|
|
// field: 'customerDeliverNumber',
|
|
|
|
|
|
// sort: 'custom',
|
|
|
|
|
|
// table: {
|
|
|
|
|
|
// width: 150
|
|
|
|
|
|
// },
|
|
|
|
|
|
// },
|
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '客户订单号', |
|
|
label: '客户订单号', |
|
|
field: 'customerOrderNumber', |
|
|
field: 'customerOrderNumber', |
|
@ -87,7 +48,7 @@ export const DeliverRecordMain = useCrudSchemas( |
|
|
width: 180 |
|
|
width: 180 |
|
|
}, |
|
|
}, |
|
|
isTable: true, |
|
|
isTable: true, |
|
|
isForm: true, |
|
|
isForm: false, |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
search: { |
|
|
search: { |
|
|
component: 'Input', |
|
|
component: 'Input', |
|
@ -95,26 +56,6 @@ export const DeliverRecordMain = useCrudSchemas( |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
form: { |
|
|
|
|
|
component: 'Input', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '状态', |
|
|
|
|
|
field: 'status', |
|
|
|
|
|
dictType: DICT_TYPE.REQUEST_STATUS, |
|
|
|
|
|
dictClass: 'string', |
|
|
|
|
|
isSearch: false, |
|
|
|
|
|
isTable: false, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
isDetail: false, |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '客户代码', |
|
|
label: '客户代码', |
|
@ -123,9 +64,42 @@ export const DeliverRecordMain = useCrudSchemas( |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
|
|
componentProps: { |
|
|
|
|
|
enterSearch: true, |
|
|
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
|
|
|
searchListPlaceholder: '请选择客户代码', // 输入框占位文本
|
|
|
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
|
|
|
searchTitle: '客户信息', // 查询弹窗标题
|
|
|
|
|
|
searchAllSchemas: Customer.allSchemas, // 查询弹窗所需类
|
|
|
|
|
|
searchPage: CustomerApi.getCustomerPage, // 查询弹窗所需分页方法
|
|
|
|
|
|
searchCondition: [ |
|
|
|
|
|
{ |
|
|
|
|
|
key: 'available', |
|
|
|
|
|
value: 'TRUE', |
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
key: 'type', |
|
|
|
|
|
value: 'DEFAULT', |
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
} |
|
|
|
|
|
], |
|
|
|
|
|
verificationParams: [ |
|
|
|
|
|
{ |
|
|
|
|
|
key: 'code', |
|
|
|
|
|
action: '==', |
|
|
|
|
|
value: '', |
|
|
|
|
|
isMainValue: false, |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
isFormModel: true |
|
|
|
|
|
} |
|
|
|
|
|
] // 失去焦点校验参数
|
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
isSearch: true |
|
|
isSearch: true |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '客户月台代码', |
|
|
label: '客户月台代码', |
|
|
field: 'customerDockCode', |
|
|
field: 'customerDockCode', |
|
@ -133,7 +107,8 @@ export const DeliverRecordMain = useCrudSchemas( |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isTable: false |
|
|
isTable: false, |
|
|
|
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '承运商', |
|
|
label: '承运商', |
|
@ -142,7 +117,8 @@ export const DeliverRecordMain = useCrudSchemas( |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isTable: false |
|
|
isTable: false, |
|
|
|
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '运输方式', |
|
|
label: '运输方式', |
|
@ -152,7 +128,8 @@ export const DeliverRecordMain = useCrudSchemas( |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isTable: false |
|
|
isTable: false, |
|
|
|
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '车牌号', |
|
|
label: '车牌号', |
|
@ -161,7 +138,8 @@ export const DeliverRecordMain = useCrudSchemas( |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isTable: false |
|
|
isTable: false, |
|
|
|
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '申请时间', |
|
|
label: '申请时间', |
|
@ -175,6 +153,7 @@ export const DeliverRecordMain = useCrudSchemas( |
|
|
width: 180 |
|
|
width: 180 |
|
|
}, |
|
|
}, |
|
|
isTable: false, |
|
|
isTable: false, |
|
|
|
|
|
isForm: false, |
|
|
form: { |
|
|
form: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -185,7 +164,7 @@ export const DeliverRecordMain = useCrudSchemas( |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '截止时间', |
|
|
label: '发运时间', |
|
|
field: 'dueTime', |
|
|
field: 'dueTime', |
|
|
formatter: dateFormatter, |
|
|
formatter: dateFormatter, |
|
|
detail: { |
|
|
detail: { |
|
@ -195,7 +174,7 @@ export const DeliverRecordMain = useCrudSchemas( |
|
|
table: { |
|
|
table: { |
|
|
width: 180 |
|
|
width: 180 |
|
|
}, |
|
|
}, |
|
|
isTable: false, |
|
|
isTable: true, |
|
|
form: { |
|
|
form: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -205,6 +184,38 @@ export const DeliverRecordMain = useCrudSchemas( |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '生产线项', |
|
|
|
|
|
field: 'productionLine', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
dictType: DICT_TYPE.PRODUCTION_LINE_ITEM, |
|
|
|
|
|
dictClass: 'string', |
|
|
|
|
|
form: { |
|
|
|
|
|
component: 'Select', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
isSearch: true |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '顺引单据号', |
|
|
|
|
|
field: 'billNo', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
component: 'Input', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
isSearch: false |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '执行时间', |
|
|
label: '执行时间', |
|
|
field: 'executeTime', |
|
|
field: 'executeTime', |
|
@ -217,6 +228,7 @@ export const DeliverRecordMain = useCrudSchemas( |
|
|
width: 180 |
|
|
width: 180 |
|
|
}, |
|
|
}, |
|
|
isTable: false, |
|
|
isTable: false, |
|
|
|
|
|
isForm: false, |
|
|
form: { |
|
|
form: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -238,6 +250,7 @@ export const DeliverRecordMain = useCrudSchemas( |
|
|
width: 180 |
|
|
width: 180 |
|
|
}, |
|
|
}, |
|
|
isTable: false, |
|
|
isTable: false, |
|
|
|
|
|
isForm: false, |
|
|
form: { |
|
|
form: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -255,7 +268,8 @@ export const DeliverRecordMain = useCrudSchemas( |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isTable: false |
|
|
isTable: false, |
|
|
|
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '到仓库代码', |
|
|
label: '到仓库代码', |
|
@ -264,7 +278,8 @@ export const DeliverRecordMain = useCrudSchemas( |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isTable: false |
|
|
isTable: false, |
|
|
|
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '从库区类型范围', |
|
|
label: '从库区类型范围', |
|
@ -275,7 +290,8 @@ export const DeliverRecordMain = useCrudSchemas( |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
} |
|
|
}, |
|
|
|
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '到库区类型范围', |
|
|
label: '到库区类型范围', |
|
@ -286,7 +302,8 @@ export const DeliverRecordMain = useCrudSchemas( |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
} |
|
|
}, |
|
|
|
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '从库区代码范围', |
|
|
label: '从库区代码范围', |
|
@ -295,7 +312,8 @@ export const DeliverRecordMain = useCrudSchemas( |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isTable: false |
|
|
isTable: false, |
|
|
|
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '到库区代码范围', |
|
|
label: '到库区代码范围', |
|
@ -304,7 +322,8 @@ export const DeliverRecordMain = useCrudSchemas( |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isTable: false |
|
|
isTable: false, |
|
|
|
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '从月台代码', |
|
|
label: '从月台代码', |
|
@ -313,7 +332,8 @@ export const DeliverRecordMain = useCrudSchemas( |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isTable: false |
|
|
isTable: false, |
|
|
|
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '出库事务类型', |
|
|
label: '出库事务类型', |
|
@ -322,7 +342,8 @@ export const DeliverRecordMain = useCrudSchemas( |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isTable: false |
|
|
isTable: false, |
|
|
|
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '入库事务类型', |
|
|
label: '入库事务类型', |
|
@ -331,16 +352,8 @@ export const DeliverRecordMain = useCrudSchemas( |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isTable: false |
|
|
isTable: false, |
|
|
}, |
|
|
isForm: false, |
|
|
{ |
|
|
|
|
|
label: '发货类型', |
|
|
|
|
|
field: 'businessType', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
isTable: false |
|
|
|
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '部门', |
|
|
label: '部门', |
|
@ -349,7 +362,8 @@ export const DeliverRecordMain = useCrudSchemas( |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isTable: false |
|
|
isTable: false, |
|
|
|
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '接口类型', |
|
|
label: '接口类型', |
|
@ -360,7 +374,8 @@ export const DeliverRecordMain = useCrudSchemas( |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
} |
|
|
}, |
|
|
|
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '备注', |
|
|
label: '备注', |
|
@ -392,6 +407,7 @@ export const DeliverRecordMain = useCrudSchemas( |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
|
|
|
isForm: false, |
|
|
search: { |
|
|
search: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -408,37 +424,8 @@ export const DeliverRecordMain = useCrudSchemas( |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isTable: false |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '最后更新时间', |
|
|
|
|
|
field: 'updateTime', |
|
|
|
|
|
formatter: dateFormatter, |
|
|
|
|
|
detail: { |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
|
|
}, |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 180 |
|
|
|
|
|
}, |
|
|
|
|
|
isTable: false, |
|
|
|
|
|
form: { |
|
|
|
|
|
component: 'DatePicker', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
type: 'datetime', |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
|
|
valueFormat: 'x' |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '最后更新者', |
|
|
|
|
|
field: 'updater', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
isTable: false, |
|
|
isTable: false, |
|
|
|
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
// {
|
|
|
// {
|
|
|
// label: '代码',
|
|
|
// label: '代码',
|
|
@ -455,6 +442,7 @@ export const DeliverRecordMain = useCrudSchemas( |
|
|
dictClass: 'string', |
|
|
dictClass: 'string', |
|
|
isSearch: false, |
|
|
isSearch: false, |
|
|
isTable: false, |
|
|
isTable: false, |
|
|
|
|
|
isForm: false, |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
@ -546,24 +534,9 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 180 |
|
|
width: 180 |
|
|
}, |
|
|
}, |
|
|
isTable: false |
|
|
isTable: false, |
|
|
|
|
|
isTableForm: false, |
|
|
}, |
|
|
}, |
|
|
// {
|
|
|
|
|
|
// label: '销售订单号',
|
|
|
|
|
|
// field: 'soNumber',
|
|
|
|
|
|
// sort: 'custom',
|
|
|
|
|
|
// table: {
|
|
|
|
|
|
// width: 150
|
|
|
|
|
|
// },
|
|
|
|
|
|
// },
|
|
|
|
|
|
// {
|
|
|
|
|
|
// label: '销售订单行',
|
|
|
|
|
|
// field: 'soLine',
|
|
|
|
|
|
// sort: 'custom',
|
|
|
|
|
|
// table: {
|
|
|
|
|
|
// width: 150
|
|
|
|
|
|
// },
|
|
|
|
|
|
// },
|
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '物料代码', |
|
|
label: '物料代码', |
|
|
field: 'itemCode', |
|
|
field: 'itemCode', |
|
@ -571,7 +544,26 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isSearch: true |
|
|
isSearch: true, |
|
|
|
|
|
tableForm:{ |
|
|
|
|
|
multiple:true, |
|
|
|
|
|
isInpuFocusShow: true, // 开启查询弹窗
|
|
|
|
|
|
isShowTableFormSearch: true, |
|
|
|
|
|
searchListPlaceholder: '请选择物料代码', |
|
|
|
|
|
searchField: 'itemCode', |
|
|
|
|
|
searchTitle: '客户物料基础信息', |
|
|
|
|
|
searchAllSchemas: Customeritem.allSchemas, |
|
|
|
|
|
searchPage: CustomerItemApi.getPageBusinessTypeToItemCode, |
|
|
|
|
|
verificationPage: CustomerItemApi.getCustomerItemListByCodes, // 校验数去焦点输入是否正确的方法
|
|
|
|
|
|
verificationParams: [{ |
|
|
|
|
|
key: 'itemCode', |
|
|
|
|
|
action: '==', |
|
|
|
|
|
value: '', |
|
|
|
|
|
isMainValue: false, |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
isFormModel: true, |
|
|
|
|
|
}], // 失去焦点校验参数
|
|
|
|
|
|
}, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '物料名称', |
|
|
label: '物料名称', |
|
@ -580,6 +572,7 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTableForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '物料描述1', |
|
|
label: '物料描述1', |
|
@ -588,7 +581,8 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
hiddenInMain: true |
|
|
hiddenInMain: true, |
|
|
|
|
|
isTableForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '物料描述2', |
|
|
label: '物料描述2', |
|
@ -597,7 +591,8 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
hiddenInMain: true |
|
|
hiddenInMain: true, |
|
|
|
|
|
isTableForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '批次', |
|
|
label: '批次', |
|
@ -606,6 +601,7 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTableForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '包装号', |
|
|
label: '包装号', |
|
@ -614,6 +610,7 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTableForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '父包装号', |
|
|
label: '父包装号', |
|
@ -623,6 +620,7 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isTable: false, |
|
|
isTable: false, |
|
|
|
|
|
isTableForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '包装规格', |
|
|
label: '包装规格', |
|
@ -635,6 +633,7 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTableForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '数量', |
|
|
label: '数量', |
|
@ -645,6 +644,12 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
}, |
|
|
}, |
|
|
form: { |
|
|
form: { |
|
|
component: 'InputNumber', |
|
|
component: 'InputNumber', |
|
|
|
|
|
}, |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
type: 'InputNumber', |
|
|
|
|
|
min: 0, |
|
|
|
|
|
max:999999, |
|
|
|
|
|
// precision: 6
|
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -657,6 +662,7 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTableForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '单价', |
|
|
label: '单价', |
|
@ -668,7 +674,8 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
hiddenInMain: true, |
|
|
hiddenInMain: true, |
|
|
form: { |
|
|
form: { |
|
|
component: 'InputNumber', |
|
|
component: 'InputNumber', |
|
|
} |
|
|
}, |
|
|
|
|
|
isTableForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '金额', |
|
|
label: '金额', |
|
@ -680,7 +687,8 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
hiddenInMain: true, |
|
|
hiddenInMain: true, |
|
|
form: { |
|
|
form: { |
|
|
component: 'InputNumber', |
|
|
component: 'InputNumber', |
|
|
} |
|
|
}, |
|
|
|
|
|
isTableForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '在途库库位', |
|
|
label: '在途库库位', |
|
@ -690,6 +698,7 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isTable: false, |
|
|
isTable: false, |
|
|
|
|
|
isTableForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '从库位', |
|
|
label: '从库位', |
|
@ -698,6 +707,7 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTableForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '到库位', |
|
|
label: '到库位', |
|
@ -706,6 +716,7 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTableForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '从库位组', |
|
|
label: '从库位组', |
|
@ -715,6 +726,7 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
hiddenInMain: true, |
|
|
hiddenInMain: true, |
|
|
|
|
|
isTableForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '到库位组', |
|
|
label: '到库位组', |
|
@ -724,6 +736,7 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
hiddenInMain: true, |
|
|
hiddenInMain: true, |
|
|
|
|
|
isTableForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '从库区', |
|
|
label: '从库区', |
|
@ -733,6 +746,7 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
hiddenInMain: true, |
|
|
hiddenInMain: true, |
|
|
|
|
|
isTableForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '到库区', |
|
|
label: '到库区', |
|
@ -742,6 +756,7 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
hiddenInMain: true, |
|
|
hiddenInMain: true, |
|
|
|
|
|
isTableForm: false, |
|
|
}, |
|
|
}, |
|
|
// {
|
|
|
// {
|
|
|
// label: '从器具号',
|
|
|
// label: '从器具号',
|
|
@ -771,6 +786,7 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTableForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '从货主代码', |
|
|
label: '从货主代码', |
|
@ -780,6 +796,7 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isTable: false, |
|
|
isTable: false, |
|
|
|
|
|
isTableForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '到货主代码', |
|
|
label: '到货主代码', |
|
@ -789,6 +806,7 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isTable: false, |
|
|
isTable: false, |
|
|
|
|
|
isTableForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '项目代码', |
|
|
label: '项目代码', |
|
@ -798,6 +816,7 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isTable: false, |
|
|
isTable: false, |
|
|
|
|
|
isTableForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '备注', |
|
|
label: '备注', |
|
@ -818,7 +837,19 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTableForm: false, |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '创建者', |
|
|
|
|
|
field: 'creator', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
isTable: true, |
|
|
|
|
|
isTableForm: false, |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '创建时间', |
|
|
label: '创建时间', |
|
|
field: 'createTime', |
|
|
field: 'createTime', |
|
@ -831,6 +862,7 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
width: 180 |
|
|
width: 180 |
|
|
}, |
|
|
}, |
|
|
isTable: true, |
|
|
isTable: true, |
|
|
|
|
|
isTableForm: false, |
|
|
form: { |
|
|
form: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -850,15 +882,36 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '创建者', |
|
|
label: '最后更新者', |
|
|
field: 'creator', |
|
|
field: 'updater', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isTable: true, |
|
|
isTable: true, |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '最后更新时间', |
|
|
|
|
|
field: 'updateTime', |
|
|
|
|
|
formatter: dateFormatter, |
|
|
|
|
|
detail: { |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
|
|
}, |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 180 |
|
|
|
|
|
}, |
|
|
|
|
|
isTable: true, |
|
|
|
|
|
isTableForm: false, |
|
|
|
|
|
form: { |
|
|
|
|
|
component: 'DatePicker', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
type: 'datetime', |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
|
|
|
valueFormat: 'x' |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
// {
|
|
|
// {
|
|
|
// label: '任务明细ID',
|
|
|
// label: '任务明细ID',
|
|
|
// field: 'jobDetailId',
|
|
|
// field: 'jobDetailId',
|
|
|