|
@ -12,7 +12,7 @@ import { Shift } from '@/views/wms/basicDataManage/orderManage/shift/shift.data' |
|
|
import * as TeamApi from '@/api/wms/team' |
|
|
import * as TeamApi from '@/api/wms/team' |
|
|
import { Team } from '@/views/wms/basicDataManage/orderManage/team/team.data' |
|
|
import { Team } from '@/views/wms/basicDataManage/orderManage/team/team.data' |
|
|
import * as ProductionlineitemApi from '@/api/wms/productionlineitem' |
|
|
import * as ProductionlineitemApi from '@/api/wms/productionlineitem' |
|
|
import { Productionlineitem } from '@/views/wms/basicDataManage/itemManage/productionlineitem/productionlineitem.data' |
|
|
import { Productionlineitem, ProductionlineitemInfo } from '@/views/wms/basicDataManage/itemManage/productionlineitem/productionlineitem.data' |
|
|
import * as BomApi from '@/api/wms/bom' |
|
|
import * as BomApi from '@/api/wms/bom' |
|
|
import { Bom } from '@/views/wms/basicDataManage/itemManage/bom/bom.data' |
|
|
import { Bom } from '@/views/wms/basicDataManage/itemManage/bom/bom.data' |
|
|
|
|
|
|
|
@ -43,6 +43,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
}, |
|
|
}, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
|
|
|
sortSearchDefault:1, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '客户订单号', |
|
|
label: '客户订单号', |
|
@ -51,7 +52,8 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
table: { |
|
|
table: { |
|
|
width: 150, |
|
|
width: 150, |
|
|
} |
|
|
}, |
|
|
|
|
|
sortSearchDefault: 2, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '计划类型', |
|
|
label: '计划类型', |
|
@ -89,6 +91,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
// }
|
|
|
// }
|
|
|
// },
|
|
|
// },
|
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
|
|
|
sortSearchDefault: 3, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '顺序', |
|
|
label: '顺序', |
|
@ -177,7 +180,9 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
isFormModel: true, |
|
|
isFormModel: true, |
|
|
}], // 失去焦点校验参数
|
|
|
}], // 失去焦点校验参数
|
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
|
|
|
isSearch:true, |
|
|
|
|
|
sortSearchDefault: 6, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '班组', |
|
|
label: '班组', |
|
@ -286,6 +291,8 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
sortTableDefault: 1000, |
|
|
sortTableDefault: 1000, |
|
|
|
|
|
sortSearchDefault: 4, |
|
|
|
|
|
isTable: false, |
|
|
form: { |
|
|
form: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -562,6 +569,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isTable: true, |
|
|
isTable: true, |
|
|
|
|
|
sortTableDefault: 1000, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -576,6 +584,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
width: 180 |
|
|
width: 180 |
|
|
}, |
|
|
}, |
|
|
isTable: true, |
|
|
isTable: true, |
|
|
|
|
|
sortTableDefault: 1000, |
|
|
form: { |
|
|
form: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -586,7 +595,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
isSearch: true, |
|
|
isSearch: false, |
|
|
search: { |
|
|
search: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -688,7 +697,7 @@ export const ProductionMainRules = reactive({ |
|
|
*/ |
|
|
*/ |
|
|
export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
{ |
|
|
{ |
|
|
label: '物料代码', |
|
|
label: '品番', |
|
|
field: 'itemCode', |
|
|
field: 'itemCode', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
@ -699,10 +708,10 @@ export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
componentProps: { |
|
|
componentProps: { |
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
searchListPlaceholder: '请选择物料代码', // 输入框占位文本
|
|
|
searchListPlaceholder: '请选择品番', // 输入框占位文本
|
|
|
searchField: 'itemCode', // 查询弹窗赋值字段
|
|
|
searchField: 'itemCode', // 查询弹窗赋值字段
|
|
|
searchTitle: '生产线物料关系信息', // 查询弹窗标题
|
|
|
searchTitle: '生产线物料关系信息', // 查询弹窗标题
|
|
|
searchAllSchemas: Productionlineitem.allSchemas, // 查询弹窗所需类
|
|
|
searchAllSchemas: ProductionlineitemInfo.allSchemas, // 查询弹窗所需类
|
|
|
searchPage: ProductionlineitemApi.getProductionlineitemPage, // 查询弹窗所需分页方法
|
|
|
searchPage: ProductionlineitemApi.getProductionlineitemPage, // 查询弹窗所需分页方法
|
|
|
searchCondition: [{ |
|
|
searchCondition: [{ |
|
|
key:'productionLineCode', |
|
|
key:'productionLineCode', |
|
@ -717,14 +726,15 @@ export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
sortSearchDefault: 5, |
|
|
tableForm:{ |
|
|
tableForm:{ |
|
|
multiple:true, |
|
|
multiple:true, |
|
|
disabled:true, |
|
|
disabled:true, |
|
|
// isInpuFocusShow: true,
|
|
|
// isInpuFocusShow: true,
|
|
|
searchListPlaceholder: '请选择物料代码', // 输入框占位文本
|
|
|
searchListPlaceholder: '请选择品番', // 输入框占位文本
|
|
|
searchField: 'itemCode', // 查询弹窗赋值字段
|
|
|
searchField: 'itemCode', // 查询弹窗赋值字段
|
|
|
searchTitle: '生产线物料关系信息', // 查询弹窗标题
|
|
|
searchTitle: '生产线物料关系信息', // 查询弹窗标题
|
|
|
searchAllSchemas: Productionlineitem.allSchemas, // 查询弹窗所需类
|
|
|
searchAllSchemas: ProductionlineitemInfo.allSchemas, // 查询弹窗所需类
|
|
|
searchPage: ProductionlineitemApi.getProductionlineitemPage, // 查询弹窗所需分页方法
|
|
|
searchPage: ProductionlineitemApi.getProductionlineitemPage, // 查询弹窗所需分页方法
|
|
|
searchCondition: [{ |
|
|
searchCondition: [{ |
|
|
key:'productionLineCode', |
|
|
key:'productionLineCode', |
|
@ -750,7 +760,7 @@ export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '物料名称', |
|
|
label: '品名', |
|
|
field: 'itemName', |
|
|
field: 'itemName', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
@ -765,6 +775,38 @@ export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
disabled: true |
|
|
disabled: true |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '背番', |
|
|
|
|
|
field: 'backNumber', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '车型', |
|
|
|
|
|
field: 'vehicleType', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: 'Bom版本', |
|
|
label: 'Bom版本', |
|
|
field: 'bomVersion', |
|
|
field: 'bomVersion', |
|
@ -772,10 +814,13 @@ export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTableForm: false, |
|
|
|
|
|
isTable: false, |
|
|
form: { |
|
|
form: { |
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
componentProps: { |
|
|
componentProps: { |
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
disabled:true, |
|
|
|
|
|
isSearchList: false, // 开启查询弹窗
|
|
|
searchListPlaceholder: '请选择Bom版本', // 输入框占位文本
|
|
|
searchListPlaceholder: '请选择Bom版本', // 输入框占位文本
|
|
|
searchField: 'version', // 查询弹窗赋值字段
|
|
|
searchField: 'version', // 查询弹窗赋值字段
|
|
|
searchTitle: '物料清单信息', // 查询弹窗标题
|
|
|
searchTitle: '物料清单信息', // 查询弹窗标题
|
|
@ -794,7 +839,8 @@ export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
tableForm: { |
|
|
tableForm: { |
|
|
isInpuFocusShow: true, |
|
|
disabled: true, |
|
|
|
|
|
isInpuFocusShow: false, |
|
|
searchListPlaceholder: '请选择Bom版本', // 输入框占位文本
|
|
|
searchListPlaceholder: '请选择Bom版本', // 输入框占位文本
|
|
|
searchField: 'version', // 查询弹窗赋值字段
|
|
|
searchField: 'version', // 查询弹窗赋值字段
|
|
|
searchTitle: '物料清单信息', // 查询弹窗标题
|
|
|
searchTitle: '物料清单信息', // 查询弹窗标题
|
|
@ -812,40 +858,7 @@ export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
}] |
|
|
}] |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
|
|
|
label: '计划日期', |
|
|
|
|
|
field: 'planDate', |
|
|
|
|
|
formatter: dateFormatter2, |
|
|
|
|
|
detail: { |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD' |
|
|
|
|
|
}, |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 120 |
|
|
|
|
|
}, |
|
|
|
|
|
search: { |
|
|
|
|
|
component: 'DatePicker', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
valueFormat: 'YYYY-MM-DD', |
|
|
|
|
|
type: 'daterange', |
|
|
|
|
|
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
isTableForm: false, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
// hiddenInMain: true,
|
|
|
|
|
|
sortTableDefault:1000, |
|
|
|
|
|
form: { |
|
|
|
|
|
component: 'DatePicker', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
style: {width: '100%'}, |
|
|
|
|
|
type: 'date', |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD', |
|
|
|
|
|
valueFormat: 'x', |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '计划数量', |
|
|
label: '计划数量', |
|
|
field: 'planQty', |
|
|
field: 'planQty', |
|
@ -873,7 +886,7 @@ export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
field: 'uom', |
|
|
field: 'uom', |
|
|
dictType: DICT_TYPE.UOM, |
|
|
dictType: DICT_TYPE.UOM, |
|
|
dictClass: 'string', |
|
|
dictClass: 'string', |
|
|
isSearch: true, |
|
|
isSearch: false, |
|
|
isTable: true, |
|
|
isTable: true, |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
@ -891,6 +904,40 @@ export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
dictClass: 'string' |
|
|
dictClass: 'string' |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '计划日期', |
|
|
|
|
|
field: 'planDate', |
|
|
|
|
|
formatter: dateFormatter2, |
|
|
|
|
|
detail: { |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD' |
|
|
|
|
|
}, |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 120 |
|
|
|
|
|
}, |
|
|
|
|
|
search: { |
|
|
|
|
|
component: 'DatePicker', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
valueFormat: 'YYYY-MM-DD', |
|
|
|
|
|
type: 'daterange', |
|
|
|
|
|
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
isTableForm: false, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
// hiddenInMain: true,
|
|
|
|
|
|
sortSearchDefault: 4, |
|
|
|
|
|
form: { |
|
|
|
|
|
component: 'DatePicker', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
style: { width: '100%' }, |
|
|
|
|
|
type: 'date', |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD', |
|
|
|
|
|
valueFormat: 'x', |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '合格数量', |
|
|
label: '合格数量', |
|
|
field: 'goodQty', |
|
|
field: 'goodQty', |
|
|