|
@@ -168,8 +168,7 @@
|
|
|
|
|
|
<script>
|
|
|
import { commonMixin } from '@/utils/mixin'
|
|
|
-import { getCurrentDealer, productUpdate, productExportPrice } from '@/api/product'
|
|
|
-import { dealerProductList } from '@/api/dealerProduct'
|
|
|
+import { productList, getCurrentDealer, productUpdate, productExportPrice } from '@/api/product'
|
|
|
import ProductType from '../../common/productType.js'
|
|
|
import ProductBrand from '../../common/productBrand.js'
|
|
|
import { STable, VSelect } from '@/components'
|
|
@@ -211,7 +210,7 @@ export default {
|
|
|
loadData: parameter => {
|
|
|
this.disabled = true
|
|
|
this.spinning = true
|
|
|
- return dealerProductList(Object.assign(parameter, this.queryParam)).then(res => {
|
|
|
+ return productList(Object.assign(parameter, this.queryParam)).then(res => {
|
|
|
let data
|
|
|
if (res.status == 200) {
|
|
|
data = res.data
|