|
@@ -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
|