|
@@ -99,7 +99,7 @@
|
|
|
import moment from 'moment'
|
|
|
import { dealerProductBrandQuery } from '@/api/dealerProductBrand'
|
|
|
import { productTypeQuery } from '@/api/productType'
|
|
|
-import { productList } from '@/api/product'
|
|
|
+import { productListPurchase } from '@/api/product'
|
|
|
import { STable, VSelect } from '@/components'
|
|
|
export default {
|
|
|
components: { STable, VSelect },
|
|
@@ -139,7 +139,7 @@ export default {
|
|
|
if (this.tableHeight == 0) {
|
|
|
this.tableHeight = window.innerHeight - 210
|
|
|
}
|
|
|
- return productList(Object.assign(parameter, this.queryParam)).then(res => {
|
|
|
+ return productListPurchase(Object.assign(parameter, this.queryParam)).then(res => {
|
|
|
const data = res.data
|
|
|
const no = (data.pageNo - 1) * data.pageSize
|
|
|
for (var i = 0; i < data.list.length; i++) {
|