zuozhengqing
2023-11-21 0712b49e5538589dac4859ca8cebf196caa954ab
src/views/supplierManage/supplier/index.vue
@@ -119,6 +119,7 @@
<script>
import pageMixin from "@/components/makepager/pager/mixin/pageMixin"
import { getSupplierList, changeSupplierStatus } from "@/api/supplierManage/supplier"
import {getPurchaseList} from "@/api/purchaseManage/purchase"
import DetailSupplier from "@/views/supplierManage/supplier/DetailSupplier"
import AddSupplier from "@/views/supplierManage/supplier/AddSupplier"
import RaleteSupplierList from "@/views/supplierManage/supplier/RaleteSupplierList"
@@ -142,7 +143,8 @@
      searchProductOptions: [], // 产品查询
      commonDetail: {
        visible: false,
        infomation: {}
        infomation: {},
        productListInfo:[]
      },
      editConfig: {
        visible: false,
@@ -422,7 +424,9 @@
    },
    // 详情
    selCommonClick(row) {
      console.log(row)
      getPurchaseList({pageSize:10,page:1,supplierId:row.ID}).then((res)=>{
        this.commonDetail.productListInfo=res.data.data.list
      })
      this.commonDetail.visible = true
      this.commonDetail.infomation = { ...row }
    },