Browse Source

YT-1014WMS 报废出库申请新增时,重新选择从仓库代码后,明细应该清空

intex
zhang_li 2 weeks ago
parent
commit
c562eba388
  1. 3
      src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue

3
src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue

@ -275,6 +275,9 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) =>
} }
if (formField === 'projectCode') { if (formField === 'projectCode') {
setV['projectCode'] = val[0]['projectCode'] setV['projectCode'] = val[0]['projectCode']
}
if (formField === 'fromWarehouseCode' &&formRef.formModel.fromWarehouseCode != val[0]['code']) {
tableData.value = []
} }
setV[formField] = val[0][searchField] setV[formField] = val[0][searchField]
formRef.setValues(setV) formRef.setValues(setV)

Loading…
Cancel
Save