src/views/supplierManage/supplier/index.vue
@@ -124,7 +124,7 @@
import AddSupplier from "@/views/supplierManage/supplier/AddSupplier"
import RaleteSupplierList from "@/views/supplierManage/supplier/RaleteSupplierList"
import AddNewProduct from "@/views/supplierManage/supplier/AddNewProduct"
import { getProductList, deleteProduct } from "@/api/productManage/product"
import { getProductListTwo, deleteProduct } from "@/api/productManage/product"
import AddPurchase from "@/views/purchaseManage/purchase/components/AddPurchase"
export default {
@@ -317,7 +317,7 @@
    // 产品列表
    async getProductList(val, content) {
      console.log(val, content)
      await getProductList({
      await getProductListTwo({
        [val]: content,
        supplierId: this.supplierId,
        page: this.productPagerOptions.currPage,