Browse Source

HL-5785制品子件报废字段调整

hella_online_20240904
yufei_wang 2 months ago
parent
commit
a049b66ca9
  1. 82
      src/views/wms/productionManage/productscrap/productscrapRecordMain/productscrapRecordMain.data.ts
  2. 3
      src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue

82
src/views/wms/productionManage/productscrap/productscrapRecordMain/productscrapRecordMain.data.ts

@ -100,22 +100,22 @@ export const ProductscrapRecordMain = useCrudSchemas(
width: 150
}
},
{
label: '班组',
field: 'team',
sort: 'custom',
table: {
width: 150
}
},
{
label: '班次',
field: 'shift',
sort: 'custom',
table: {
width: 150
}
},
// {
// label: '班组',
// field: 'team',
// sort: 'custom',
// table: {
// width: 150
// }
// },
// {
// label: '班次',
// field: 'shift',
// sort: 'custom',
// table: {
// width: 150
// }
// },
{
label: '报废原因',
field: 'scrappingReason',
@ -270,15 +270,15 @@ export const ProductscrapRecordMain = useCrudSchemas(
},
isTable: false
},
{
label: '备注',
field: 'remark',
sort: 'custom',
table: {
width: 150
},
isTable: false
},
// {
// label: '备注',
// field: 'remark',
// sort: 'custom',
// table: {
// width: 150
// },
// isTable: false
// },
{
label: '是否已撤销',
field: 'revokeFlag',
@ -729,22 +729,22 @@ export const ProductscrapRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
},
isTable: false,
},
{
label: '备注',
field: 'remark',
sort: 'custom',
table: {
width: 150
},
isSearch: true,
search: {
component: 'Input',
componentProps: {
placeholder: '请输入备注'
}
},
isTable: true,
},
// {
// label: '备注',
// field: 'remark',
// sort: 'custom',
// table: {
// width: 150
// },
// isSearch: true,
// search: {
// component: 'Input',
// componentProps: {
// placeholder: '请输入备注'
// }
// },
// isTable: true,
// },
{
label: '创建时间',
field: 'createTime',

3
src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue

@ -390,6 +390,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
//
if(formField == 'productionLineCode'){
row['productionLineCode'] = val[0]['code']
tableData.value = []
}else if(formField == 'fromLocationCode'){
// val.forEach(item=>{
// const newRow = JSON.parse(JSON.stringify({...tableFormKeys,...item}))
@ -458,6 +459,8 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
//
//
setV['costCenterType'] = val[0]['costcentreType']
}else if(formField == 'productionLineCode'){
tableData.value = []
}
formRef.setValues(setV)
}

Loading…
Cancel
Save