Browse Source

采购退货申请失去焦点从库位代码无法填写相同的

hella_online_20240829
zhang_li 3 months ago
parent
commit
cd81b1488c
  1. 4
      src/api/wms/business/inputBlur.ts
  2. 1
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts

4
src/api/wms/business/inputBlur.ts

@ -158,7 +158,8 @@ export const tableFormBlurVer = async (headerItem, val, row, index, routeName, f
}
}
}
// 判断改包装号是否已经添加
// 判断代码是否存在
if (!headerItem?.tableForm.isRepeat) {
const seen = new Set()
const repeatCode = new Set()
const arr = tableData.map((item) => item[headerItem.field]?.trim())
@ -177,6 +178,7 @@ export const tableFormBlurVer = async (headerItem, val, row, index, routeName, f
row[headerItem.field] = ''
return
}
}
if (filters.length > 0) {
params.value.isSearch = true
params.value.filters = filters

1
src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts

@ -1035,6 +1035,7 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
searchTitle: '库位代码信息',
searchAllSchemas: Location.allSchemas,
searchPage: LocationApi.getLocationListByAreaAndBusinesstype,
isRepeat:true,
searchCondition: [{
key: 'businessType',
value: 'PurchaseReturn',

Loading…
Cancel
Save