|
@ -62,7 +62,26 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '车间代码', |
|
|
label: '状态', |
|
|
|
|
|
field: 'status', |
|
|
|
|
|
dictType: DICT_TYPE.REQUEST_STATUS, |
|
|
|
|
|
dictClass: 'string', |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
isForm:false, |
|
|
|
|
|
isTable: true, |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
value: '1', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '车间', |
|
|
field: 'workshopCode', |
|
|
field: 'workshopCode', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
@ -86,6 +105,53 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '生产线', |
|
|
|
|
|
field: 'productionLineCode', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
tableForm:{ |
|
|
|
|
|
isInpuFocusShow: true, |
|
|
|
|
|
searchListPlaceholder: '请选择生产线代码', // 输入框占位文本
|
|
|
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
|
|
|
searchTitle: '生产线信息', // 查询弹窗标题
|
|
|
|
|
|
searchAllSchemas: Productionline.allSchemas, // 查询弹窗所需类
|
|
|
|
|
|
searchPage: ProductionlineApi.getProductionlinePage, // 查询弹窗所需分页方法
|
|
|
|
|
|
searchCondition: [{ |
|
|
|
|
|
key: 'available', |
|
|
|
|
|
value: 'TRUE', |
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
},{ |
|
|
|
|
|
key: 'workshopCode', |
|
|
|
|
|
value: 'workshopCode', |
|
|
|
|
|
message: '请填写车间代码!', |
|
|
|
|
|
isMainValue: true |
|
|
|
|
|
}] |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
|
|
componentProps: { |
|
|
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
|
|
|
searchListPlaceholder: '请选择生产线代码', // 输入框占位文本
|
|
|
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
|
|
|
searchTitle: '生产线信息', // 查询弹窗标题
|
|
|
|
|
|
searchAllSchemas: Productionline.allSchemas, // 查询弹窗所需类
|
|
|
|
|
|
searchPage: ProductionlineApi.getProductionlinePage, // 查询弹窗所需分页方法
|
|
|
|
|
|
searchCondition: [{ |
|
|
|
|
|
key: 'available', |
|
|
|
|
|
value: 'TRUE', |
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
},{ |
|
|
|
|
|
key: 'workshopCode', |
|
|
|
|
|
value: 'workshopCode', |
|
|
|
|
|
message: '请填写车间代码!', |
|
|
|
|
|
isMainValue: true |
|
|
|
|
|
}] |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '班组', |
|
|
label: '班组', |
|
|
field: 'team', |
|
|
field: 'team', |
|
@ -150,7 +216,7 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
field: 'fromAreaTypes', |
|
|
field: 'fromAreaTypes', |
|
|
dictType: DICT_TYPE.AREA_TYPE, |
|
|
dictType: DICT_TYPE.AREA_TYPE, |
|
|
dictClass: 'string', |
|
|
dictClass: 'string', |
|
|
isTable: true, |
|
|
isTable:false, |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
@ -164,6 +230,7 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable:false, |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
@ -174,6 +241,7 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable:false, |
|
|
form: { |
|
|
form: { |
|
|
value: 'ProductScrap', |
|
|
value: 'ProductScrap', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -182,25 +250,7 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
}, |
|
|
}, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
|
|
|
label: '状态', |
|
|
|
|
|
field: 'status', |
|
|
|
|
|
dictType: DICT_TYPE.REQUEST_STATUS, |
|
|
|
|
|
dictClass: 'string', |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
isForm:false, |
|
|
|
|
|
isTable: true, |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
value: '1', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '创建时间', |
|
|
label: '创建时间', |
|
|
field: 'createTime', |
|
|
field: 'createTime', |
|
@ -212,6 +262,7 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 180 |
|
|
width: 180 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable:false, |
|
|
form: { |
|
|
form: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -230,6 +281,7 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable:false, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -239,6 +291,7 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
detail: { |
|
|
detail: { |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable:false, |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 180 |
|
|
width: 180 |
|
@ -265,6 +318,7 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 180 |
|
|
width: 180 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable:false, |
|
|
form: { |
|
|
form: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -292,6 +346,7 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable:false, |
|
|
formatter: (_: Recordable, __: TableColumn, cellValue: number) => { |
|
|
formatter: (_: Recordable, __: TableColumn, cellValue: number) => { |
|
|
return userDeptArray.find((account) => account.id == cellValue)?.name |
|
|
return userDeptArray.find((account) => account.id == cellValue)?.name |
|
|
}, |
|
|
}, |
|
@ -319,6 +374,7 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 180 |
|
|
width: 180 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable:false, |
|
|
form: { |
|
|
form: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -337,6 +393,7 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable:false, |
|
|
isForm: false |
|
|
isForm: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -344,7 +401,7 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
field: 'autoCommit', |
|
|
field: 'autoCommit', |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
dictClass: 'string', |
|
|
dictClass: 'string', |
|
|
isTable: true, |
|
|
isTable:false, |
|
|
isForm:false, |
|
|
isForm:false, |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
@ -365,7 +422,7 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
field: 'autoAgree', |
|
|
field: 'autoAgree', |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
dictClass: 'string', |
|
|
dictClass: 'string', |
|
|
isTable: true, |
|
|
isTable:false, |
|
|
isForm:false, |
|
|
isForm:false, |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
@ -386,7 +443,7 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
field: 'autoExecute', |
|
|
field: 'autoExecute', |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
dictClass: 'string', |
|
|
dictClass: 'string', |
|
|
isTable: true, |
|
|
isTable:false, |
|
|
isForm:false, |
|
|
isForm:false, |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
@ -478,56 +535,11 @@ export const ProductscrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
width: 150, |
|
|
width: 150, |
|
|
show: false |
|
|
show: false |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable: false, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
isTableForm: false, |
|
|
isTableForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
|
|
|
label: '来源生产线代码', |
|
|
|
|
|
field: 'productionLineCode', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
tableForm:{ |
|
|
|
|
|
isInpuFocusShow: true, |
|
|
|
|
|
searchListPlaceholder: '请选择生产线代码', // 输入框占位文本
|
|
|
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
|
|
|
searchTitle: '生产线信息', // 查询弹窗标题
|
|
|
|
|
|
searchAllSchemas: Productionline.allSchemas, // 查询弹窗所需类
|
|
|
|
|
|
searchPage: ProductionlineApi.getProductionlinePage, // 查询弹窗所需分页方法
|
|
|
|
|
|
searchCondition: [{ |
|
|
|
|
|
key: 'available', |
|
|
|
|
|
value: 'TRUE', |
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
},{ |
|
|
|
|
|
key: 'workshopCode', |
|
|
|
|
|
value: 'workshopCode', |
|
|
|
|
|
message: '请填写车间代码!', |
|
|
|
|
|
isMainValue: true |
|
|
|
|
|
}] |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
|
|
componentProps: { |
|
|
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
|
|
|
searchListPlaceholder: '请选择生产线代码', // 输入框占位文本
|
|
|
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
|
|
|
searchTitle: '生产线信息', // 查询弹窗标题
|
|
|
|
|
|
searchAllSchemas: Productionline.allSchemas, // 查询弹窗所需类
|
|
|
|
|
|
searchPage: ProductionlineApi.getProductionlinePage, // 查询弹窗所需分页方法
|
|
|
|
|
|
searchCondition: [{ |
|
|
|
|
|
key: 'available', |
|
|
|
|
|
value: 'TRUE', |
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
},{ |
|
|
|
|
|
key: 'workshopCode', |
|
|
|
|
|
value: 'workshopCode', |
|
|
|
|
|
message: '请填写车间代码!', |
|
|
|
|
|
isMainValue: true |
|
|
|
|
|
}] |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '来源工位代码', |
|
|
label: '来源工位代码', |
|
|
field: 'workStationCode', |
|
|
field: 'workStationCode', |
|
@ -660,160 +672,109 @@ export const ProductscrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '包装号', |
|
|
label: '物料名称', |
|
|
field: 'packingNumber', |
|
|
field: 'itemName', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150, |
|
|
width: 150 |
|
|
show: false |
|
|
|
|
|
}, |
|
|
}, |
|
|
isTable: false, |
|
|
|
|
|
isTableForm: false, |
|
|
|
|
|
isForm: false, |
|
|
isForm: false, |
|
|
tableForm:{ |
|
|
isTableForm: false, |
|
|
isInpuFocusShow: false, |
|
|
|
|
|
searchListPlaceholder: '请选择包装号', |
|
|
|
|
|
searchField: 'packingNumber', |
|
|
|
|
|
searchTitle: '库存余额信息', |
|
|
|
|
|
searchAllSchemas: Balance.allSchemas, |
|
|
|
|
|
searchPage: BalanceApi.getBalancePage |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
|
|
componentProps: { |
|
|
|
|
|
isSearchList: true, |
|
|
|
|
|
searchListPlaceholder: '请选择包装号', |
|
|
|
|
|
searchField: 'packingNumber', |
|
|
|
|
|
searchTitle: '库存余额信息', |
|
|
|
|
|
searchAllSchemas: Balance.allSchemas, |
|
|
|
|
|
searchPage: BalanceApi.getBalancePage |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '器具号', |
|
|
label: 'Bom版本', |
|
|
field: 'containerNumber', |
|
|
field: 'bomVersion', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150, |
|
|
width: 150 |
|
|
show: false |
|
|
|
|
|
}, |
|
|
}, |
|
|
isTable: false, |
|
|
|
|
|
isTableForm: false, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
tableForm: { |
|
|
tableForm: { |
|
|
disabled: true |
|
|
isInpuFocusShow: true, |
|
|
|
|
|
searchListPlaceholder: '请选择Bom版本', // 输入框占位文本
|
|
|
|
|
|
searchField: 'version', // 查询弹窗赋值字段
|
|
|
|
|
|
searchTitle: '物料清单信息', // 查询弹窗标题
|
|
|
|
|
|
searchAllSchemas: Bom.allSchemas, // 查询弹窗所需类
|
|
|
|
|
|
searchPage: BomApi.getBomPage, // 查询弹窗所需分页方法
|
|
|
|
|
|
searchCondition: [{ |
|
|
|
|
|
key:'productItemCode', |
|
|
|
|
|
value:'itemCode', |
|
|
|
|
|
message: '请填写物料代码!', |
|
|
|
|
|
isMainValue: true |
|
|
|
|
|
},{ |
|
|
|
|
|
key: 'available', |
|
|
|
|
|
value: 'TRUE', |
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
}] |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
|
|
|
searchListPlaceholder: '请选择Bom版本', // 输入框占位文本
|
|
|
|
|
|
searchField: 'version', // 查询弹窗赋值字段
|
|
|
|
|
|
searchTitle: '物料清单信息', // 查询弹窗标题
|
|
|
|
|
|
searchAllSchemas: Bom.allSchemas, // 查询弹窗所需类
|
|
|
|
|
|
searchPage: BomApi.getBomPage, // 查询弹窗所需分页方法
|
|
|
|
|
|
searchCondition: [{ |
|
|
|
|
|
key:'productItemCode', |
|
|
|
|
|
value:'itemCode', |
|
|
|
|
|
message: '请填写物料代码!', |
|
|
|
|
|
isMainValue: true |
|
|
|
|
|
},{ |
|
|
|
|
|
key: 'available', |
|
|
|
|
|
value: 'TRUE', |
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
}] |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '批次', |
|
|
label: '批次', |
|
|
field: 'batch', |
|
|
field: 'batch', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150, |
|
|
width: 150, |
|
|
show: false |
|
|
|
|
|
}, |
|
|
}, |
|
|
isTable: false, |
|
|
|
|
|
isTableForm: false, |
|
|
|
|
|
isForm: false, |
|
|
isForm: false, |
|
|
tableForm: { |
|
|
isTable:true, |
|
|
disabled: true |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '从库位代码', |
|
|
label: '报废数量', |
|
|
field: 'fromLocationCode', |
|
|
field: 'qty', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
tableForm: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
form: { |
|
|
|
|
|
component: 'InputNumber', |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
disabled: true |
|
|
min: 0, |
|
|
} |
|
|
precision: 6 |
|
|
} |
|
|
|
|
|
}, |
|
|
}, |
|
|
{ |
|
|
|
|
|
label: '库存状态', |
|
|
|
|
|
field: 'inventoryStatus', |
|
|
|
|
|
dictType: DICT_TYPE.INVENTORY_STATUS, |
|
|
|
|
|
dictClass: 'string', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
isTable: false, |
|
|
|
|
|
isTableForm: false, |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150, |
|
|
|
|
|
show: false |
|
|
|
|
|
}, |
|
|
}, |
|
|
isForm: false, |
|
|
|
|
|
tableForm: { |
|
|
tableForm: { |
|
|
disabled: true |
|
|
type: 'InputNumber', |
|
|
|
|
|
min: 0, |
|
|
|
|
|
precision: 6 |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '原因', |
|
|
label: '计量单位', |
|
|
field: 'reason', |
|
|
field: 'uom', |
|
|
dictType: DICT_TYPE.SCRAP_REASON, |
|
|
dictType: DICT_TYPE.UOM, |
|
|
dictClass: 'string', |
|
|
dictClass: 'string', |
|
|
isTable: true, |
|
|
isTable: true, |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isForm: false, |
|
|
tableForm: { |
|
|
isTableForm: false, |
|
|
type: 'Select', |
|
|
}, |
|
|
disabled: true |
|
|
{ |
|
|
|
|
|
label: '物料名称', |
|
|
|
|
|
field: 'itemName', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
isTableForm: false, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '物料描述1', |
|
|
|
|
|
field: 'itemDesc1', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
isTableForm: false, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '物料描述2', |
|
|
|
|
|
field: 'itemDesc2', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
isTableForm: false, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '数量', |
|
|
|
|
|
field: 'qty', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
}, |
|
|
form: { |
|
|
form: { |
|
|
component: 'InputNumber', |
|
|
|
|
|
componentProps: { |
|
|
componentProps: { |
|
|
min: 0, |
|
|
disabled: true |
|
|
precision: 6 |
|
|
} |
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
type: 'InputNumber', |
|
|
|
|
|
min: 0, |
|
|
|
|
|
precision: 6 |
|
|
|
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -861,35 +822,137 @@ export const ProductscrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '项目代码', |
|
|
label: '来源库位', |
|
|
field: 'projectCode', |
|
|
field: 'fromLocationCode', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isForm: false, |
|
|
tableForm: { |
|
|
isTableForm: false, |
|
|
disabled: true |
|
|
}, |
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps:{ |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '计量单位', |
|
|
label: '包装号', |
|
|
field: 'uom', |
|
|
field: 'packingNumber', |
|
|
dictType: DICT_TYPE.UOM, |
|
|
|
|
|
dictClass: 'string', |
|
|
|
|
|
isTable: true, |
|
|
|
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150, |
|
|
|
|
|
show: false |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable: false, |
|
|
|
|
|
isTableForm: false, |
|
|
|
|
|
isForm: false, |
|
|
tableForm:{ |
|
|
tableForm:{ |
|
|
type: 'Select', |
|
|
isInpuFocusShow: false, |
|
|
disabled: true |
|
|
searchListPlaceholder: '请选择包装号', |
|
|
|
|
|
searchField: 'packingNumber', |
|
|
|
|
|
searchTitle: '库存余额信息', |
|
|
|
|
|
searchAllSchemas: Balance.allSchemas, |
|
|
|
|
|
searchPage: BalanceApi.getBalancePage |
|
|
}, |
|
|
}, |
|
|
form: { |
|
|
form: { |
|
|
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
componentProps: { |
|
|
componentProps: { |
|
|
|
|
|
isSearchList: true, |
|
|
|
|
|
searchListPlaceholder: '请选择包装号', |
|
|
|
|
|
searchField: 'packingNumber', |
|
|
|
|
|
searchTitle: '库存余额信息', |
|
|
|
|
|
searchAllSchemas: Balance.allSchemas, |
|
|
|
|
|
searchPage: BalanceApi.getBalancePage |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '器具号', |
|
|
|
|
|
field: 'containerNumber', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150, |
|
|
|
|
|
show: false |
|
|
|
|
|
}, |
|
|
|
|
|
isTable: false, |
|
|
|
|
|
isTableForm: false, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
tableForm: { |
|
|
disabled: true |
|
|
disabled: true |
|
|
} |
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
label: '库存状态', |
|
|
|
|
|
field: 'inventoryStatus', |
|
|
|
|
|
dictType: DICT_TYPE.INVENTORY_STATUS, |
|
|
|
|
|
dictClass: 'string', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
isTable: false, |
|
|
|
|
|
isTableForm: false, |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150, |
|
|
|
|
|
show: false |
|
|
|
|
|
}, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
disabled: true |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '原因', |
|
|
|
|
|
field: 'reason', |
|
|
|
|
|
dictType: DICT_TYPE.SCRAP_REASON, |
|
|
|
|
|
dictClass: 'string', |
|
|
|
|
|
isTable: false, |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
isTableForm: false, |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
label: '物料描述1', |
|
|
|
|
|
field: 'itemDesc1', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
isTable: false, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
isTableForm: false, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '物料描述2', |
|
|
|
|
|
field: 'itemDesc2', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
isTable: false, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
isTableForm: false, |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
label: '项目代码', |
|
|
|
|
|
field: 'projectCode', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
isTable: false, |
|
|
|
|
|
isForm: false, |
|
|
|
|
|
isTableForm: false, |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '最后更新时间', |
|
|
label: '最后更新时间', |
|
|
field: 'updateTime', |
|
|
field: 'updateTime', |
|
@ -901,6 +964,7 @@ export const ProductscrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 180 |
|
|
width: 180 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable: false, |
|
|
form: { |
|
|
form: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -920,6 +984,7 @@ export const ProductscrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable: false, |
|
|
isTableForm: false, |
|
|
isTableForm: false, |
|
|
isForm: false |
|
|
isForm: false |
|
|
}, |
|
|
}, |
|
@ -930,6 +995,7 @@ export const ProductscrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 180 |
|
|
width: 180 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable: false, |
|
|
isTableForm: false, |
|
|
isTableForm: false, |
|
|
form: { |
|
|
form: { |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -941,6 +1007,7 @@ export const ProductscrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
label: '备注', |
|
|
label: '备注', |
|
|
field: 'remark', |
|
|
field: 'remark', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
|
|
|
isTable: false, |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
@ -956,6 +1023,7 @@ export const ProductscrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 180 |
|
|
width: 180 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable: false, |
|
|
form: { |
|
|
form: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -975,55 +1043,11 @@ export const ProductscrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable: false, |
|
|
isTableForm: false, |
|
|
isTableForm: false, |
|
|
isForm: false |
|
|
isForm: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
|
|
|
label: 'Bom版本', |
|
|
|
|
|
field: 'bomVersion', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
isInpuFocusShow: true, |
|
|
|
|
|
searchListPlaceholder: '请选择Bom版本', // 输入框占位文本
|
|
|
|
|
|
searchField: 'version', // 查询弹窗赋值字段
|
|
|
|
|
|
searchTitle: '物料清单信息', // 查询弹窗标题
|
|
|
|
|
|
searchAllSchemas: Bom.allSchemas, // 查询弹窗所需类
|
|
|
|
|
|
searchPage: BomApi.getBomPage, // 查询弹窗所需分页方法
|
|
|
|
|
|
searchCondition: [{ |
|
|
|
|
|
key:'productItemCode', |
|
|
|
|
|
value:'itemCode', |
|
|
|
|
|
message: '请填写物料代码!', |
|
|
|
|
|
isMainValue: true |
|
|
|
|
|
},{ |
|
|
|
|
|
key: 'available', |
|
|
|
|
|
value: 'TRUE', |
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
}] |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
|
|
|
searchListPlaceholder: '请选择Bom版本', // 输入框占位文本
|
|
|
|
|
|
searchField: 'version', // 查询弹窗赋值字段
|
|
|
|
|
|
searchTitle: '物料清单信息', // 查询弹窗标题
|
|
|
|
|
|
searchAllSchemas: Bom.allSchemas, // 查询弹窗所需类
|
|
|
|
|
|
searchPage: BomApi.getBomPage, // 查询弹窗所需分页方法
|
|
|
|
|
|
searchCondition: [{ |
|
|
|
|
|
key:'productItemCode', |
|
|
|
|
|
value:'itemCode', |
|
|
|
|
|
message: '请填写物料代码!', |
|
|
|
|
|
isMainValue: true |
|
|
|
|
|
},{ |
|
|
|
|
|
key: 'available', |
|
|
|
|
|
value: 'TRUE', |
|
|
|
|
|
isMainValue: false |
|
|
|
|
|
}] |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '操作', |
|
|
label: '操作', |
|
|
field: 'action', |
|
|
field: 'action', |
|
@ -1033,6 +1057,7 @@ export const ProductscrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
width: 150, |
|
|
width: 150, |
|
|
fixed: 'right' |
|
|
fixed: 'right' |
|
|
}, |
|
|
}, |
|
|
|
|
|
hiddeInMain:true, |
|
|
tableForm: { |
|
|
tableForm: { |
|
|
type: 'action', |
|
|
type: 'action', |
|
|
buttonText: 'Bom', |
|
|
buttonText: 'Bom', |
|
|