Browse Source

报废收货申请、制品拆解申请

hella_online_20240829
wangyufei 5 months ago
parent
commit
2b6fecb79b
  1. 5
      src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue
  2. 5
      src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/index.vue
  3. 3
      src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/productreceiptscrapRequestMain.data.ts

5
src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue

@ -286,12 +286,15 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
row['bomVersion'] = res.list[0].version
}
})
} else {
} else if(formField == 'productionLineCode'){
val.forEach(item=>{
const newRow = JSON.parse(JSON.stringify({...tableFormKeys,...item}))
newRow[formField] = item[searchField]
tableData.value.push(newRow)
})
}else{
row[formField] = val[0][searchField]
}
} else {
const setV = {}

5
src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/index.vue

@ -220,7 +220,7 @@ const searchTableSuccess = async (formField, searchField, val, formRef, type, ro
row['bomVersion'] = res.list[0].version
}
})
}else{
}else if(formField == 'productionLineCode'){
//
val.forEach(item=>{
const newRow = JSON.parse(JSON.stringify({...tableFormKeys,...item}))
@ -228,6 +228,9 @@ const searchTableSuccess = async (formField, searchField, val, formRef, type, ro
newRow[formField] = item[searchField]
tableData.value.push(newRow)
})
}else{
row[formField] = val[0][searchField]
}
} else {
const setV = {}

3
src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/productreceiptscrapRequestMain.data.ts

@ -523,8 +523,9 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
width: 150
},
tableForm:{
disabled:true,
multiple: true,
isInpuFocusShow: true,
// isInpuFocusShow: true,
searchListPlaceholder: '请选择生产线代码',
searchField: 'code',
searchTitle: '生产线信息',

Loading…
Cancel
Save