From 302858f921bed077ab54dd31102f086bfe1add3c Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期三, 07 二月 2024 11:59:47 +0800 Subject: [PATCH] srm项目 系统参数设置的前端页面开发+增加相关路由+公共列表组件增加是否可以配置表头的逻辑 --- src/views/purchaseManage/purchase/index.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/purchaseManage/purchase/index.vue b/src/views/purchaseManage/purchase/index.vue index 2c70931..b53992b 100644 --- a/src/views/purchaseManage/purchase/index.vue +++ b/src/views/purchaseManage/purchase/index.vue @@ -265,7 +265,7 @@ this.editConfig.detailEnter = false this.editConfig.isDisabled = false this.tableLoading = true - getPurchaseInfo({ id: row.id }).then((res) => { + getPurchaseInfo({ id: Number(row.id) }).then((res) => { if (res.code == 200) { this.tableLoading = false this.editConfig.visible = true @@ -303,7 +303,7 @@ if (!row.supplierName) { this.btnEdit(row) } else { - submitPurchase({ id: row.ID, status: 2 }).then((response) => { + submitPurchase({ id: Number(row.id), status: 2 }).then((response) => { if (response.code === 200) { this.$message.success("鎻愪氦鎴愬姛") this.getData() @@ -326,7 +326,7 @@ type: "warning" }).then( () => { - submitPurchase({ id: row.ID, status: 5 }).then((response) => { + submitPurchase({ id: Number(row.id), status: 5 }).then((response) => { if (response.code === 200) { this.$message.success("宸插彇娑�") this.getData() @@ -348,7 +348,7 @@ type: "warning" }) .then(() => { - deletePurchase({ id: row.ID }).then((response) => { + deletePurchase({ id: Number(row.id) }).then((response) => { if (response.code === 200) { this.$message.success("鍒犻櫎鎴愬姛") this.getData() -- Gitblit v1.8.0