Browse Source

新增

hella_online_20240829
wangyufei 5 months ago
parent
commit
7e7904fb59
  1. 7
      src/views/wms/productionManage/processproduction/processproductionRequest/index.vue

7
src/views/wms/productionManage/processproduction/processproductionRequest/index.vue

@ -114,7 +114,12 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
nextTick(() => {
if (type == 'tableForm') {
if(formField === 'productionLine'){
row['productionLine']=val[0]['productionLineCode']
val.forEach(item=>{
// if(tableData.value.find(item1=>item1['productionLine'] == item['productionLineCode'])) return
const newRow = JSON.parse(JSON.stringify(tableFormKeys))
newRow['productionLine'] = item['productionLineCode']
tableData.value.push(newRow)
})
}
if(formField === 'processCode'){
row['processCode']=val[0]['code']

Loading…
Cancel
Save