|
|
@ -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) |
|
|
|
} |
|
|
|