| | |
| | | total: pagination.total, |
| | | }" |
| | | @pagination="changePage" |
| | | ></PIMTable> |
| | | > |
| | | <template #customerContractNo="{ row }"> |
| | | <el-button type="primary" text @click="showDetail(row)">{{ row.customerContractNo }} |
| | | </el-button> |
| | | </template> |
| | | </PIMTable> |
| | | </div> |
| | | </div> |
| | | </template> |
| | |
| | | import { getPurchaseList } from "@/api/procurementManagement/projectProfit"; |
| | | import { onMounted, getCurrentInstance } from "vue"; |
| | | import { ElMessageBox } from "element-plus"; |
| | | import { useRouter, useRoute } from "vue-router"; |
| | | |
| | | const router = useRouter(); |
| | | const route = useRoute(); |
| | | const { proxy } = getCurrentInstance(); |
| | | |
| | | defineOptions({ |
| | |
| | | label: "销售合同号", |
| | | align: "center", |
| | | prop: "customerContractNo", |
| | | dataType: "slot", |
| | | slot: "customerContractNo", |
| | | }, |
| | | { |
| | | label: "客户名称", |
| | |
| | | ] |
| | | ); |
| | | |
| | | const showDetail = (row) => { |
| | | |
| | | router.push({ |
| | | path: "/salesManagement/salesLedger", |
| | | query: { |
| | | customerContractNo: row.customerContractNo |
| | | }, |
| | | }); |
| | | }; |
| | | |
| | | |
| | | const changePage = ({ page }) => { |
| | | pagination.currentPage = page; |
| | | onCurrentChange(page); |