|
@ -251,6 +251,14 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
} else { |
|
|
} else { |
|
|
const setV = {} |
|
|
const setV = {} |
|
|
setV[formField] = val[0][searchField] |
|
|
setV[formField] = val[0][searchField] |
|
|
|
|
|
if('workshopCode'==formField){ |
|
|
|
|
|
//车间代码 |
|
|
|
|
|
setV['productionLineCode'] = '' |
|
|
|
|
|
tableData.value = [] |
|
|
|
|
|
}else if('productionLineCode'==formField){ |
|
|
|
|
|
//生产线代码 |
|
|
|
|
|
tableData.value = [] |
|
|
|
|
|
} |
|
|
formRef.setValues(setV) |
|
|
formRef.setValues(setV) |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|