diff --git a/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue b/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue index eff3ca35c..a72f3a5cd 100644 --- a/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue +++ b/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue @@ -275,6 +275,9 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => } if (formField === 'projectCode') { setV['projectCode'] = val[0]['projectCode'] + } + if (formField === 'fromWarehouseCode' &&formRef.formModel.fromWarehouseCode != val[0]['code']) { + tableData.value = [] } setV[formField] = val[0][searchField] formRef.setValues(setV)