diff --git a/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/index.vue b/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/index.vue index fd3704b0f..1d66f01c4 100644 --- a/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/index.vue +++ b/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/index.vue @@ -105,6 +105,7 @@ @handleDeleteTable="handleDeleteTable" @searchTableSuccess="searchTableSuccess" @submitForm="submitFormLabel" + @clearInput="clearInputLabel" /> @@ -696,6 +697,12 @@ const searchFormClick = (searchData) => { getList() // 刷新当前列表 } +const clearInputLabel = (field, row, index) => { + if(field=='secondPackUnit'){ + row['secondPackQty'] = '' + } +} + // 创建标签 const submitFormLabel = async (formType, submitData) => { let data = {...submitData}