Browse Source

bug修复

chenrui 4 năm trước cách đây
mục cha
commit
05a0520c16
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/views/common/chooseProductsModal.vue

+ 2 - 2
src/views/common/chooseProductsModal.vue

@@ -110,7 +110,7 @@ import { STable } from '@/components'
 import { productBrandQuery } from '@/api/productBrand'
 import { productTypeQuery } from '@/api/productType'
 import { dealerScopeValidProduct } from '@/api/dealerScope'
-import { productPricedList, productList } from '@/api/product'
+import { productPricedList, productPricingList } from '@/api/product'
 export default {
   name: 'ChooseProductsModal',
   components: { STable },
@@ -310,7 +310,7 @@ export default {
       this.loading = true
       let url = productPricedList //  获取定过价的产品
       if (this.type == 'supplier') { //  供应商增加产品
-        url = productList //  获取全部产品(包含定过价和未定过价的所有)
+        url = productPricingList //  获取定价产品
       }
       url(Object.assign(params, this.queryParam)).then(res => {
         this.loading = false