|
|
@ -240,6 +240,12 @@ const clearSearchInput = (field)=>{ |
|
|
|
//车间代码 |
|
|
|
formRef.value.formRef.setValues({ |
|
|
|
productionLineCode: '', |
|
|
|
team: '', |
|
|
|
}) |
|
|
|
tableData.value = [] |
|
|
|
}else if('productionLineCode'==field){ |
|
|
|
formRef.value.formRef.setValues({ |
|
|
|
team: '', |
|
|
|
}) |
|
|
|
tableData.value = [] |
|
|
|
} |
|
|
@ -298,6 +304,11 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
|
if('workshopCode' == formField){ |
|
|
|
//车间代码 |
|
|
|
setV['productionLineCode'] = '' |
|
|
|
setV['team'] = '' |
|
|
|
tableData.value = [] |
|
|
|
}else if('productionLineCode' == formField){ |
|
|
|
//车间代码 |
|
|
|
setV['team'] = '' |
|
|
|
tableData.value = [] |
|
|
|
} |
|
|
|
formRef.setValues(setV) |
|
|
|