Browse Source

上架策略问题修复

master_hella_20240701
yufei0306 6 months ago
parent
commit
d6d477725d
  1. 10
      src/views/wms/basicDataManage/strategySetting/strategy/upShelfStrategy/AddForm.vue

10
src/views/wms/basicDataManage/strategySetting/strategy/upShelfStrategy/AddForm.vue

@ -674,19 +674,23 @@ const buttonBaseClick = (val, item) => {
//
const getFormSupplierList = async () => {
options.originSupplierList = await getSupplierList()
options.originSupplierList = await getSupplierList(null)
options.supplierList = [...options.originSupplierList]
}
//
const getFormCustomerList = async () => {
options.originSupplierList = await getCustomerList()
options.originSupplierList = await getCustomerList(null)
options.supplierList = [...options.originSupplierList]
}
const filterMethod = (query: string) => {
if (query) {
options.supplierList = options.originSupplierList.filter((item) => {
return item.name.includes(query)
if(item.name==''){
return item.code.includes(query)
}else{
return item.name.includes(query)
}
})
} else {
options.supplierList = [...options.originSupplierList]

Loading…
Cancel
Save