| | |
| | | <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" |
| | |
| | | searchProductOptions: [], // 产品查询 |
| | | commonDetail: { |
| | | visible: false, |
| | | infomation: {} |
| | | infomation: {}, |
| | | productListInfo:[] |
| | | }, |
| | | editConfig: { |
| | | visible: false, |
| | |
| | | }, |
| | | // 详情 |
| | | 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 } |
| | | }, |