From 9d3f1aa7571cd532c0c27bf8376ebf4b2178a252 Mon Sep 17 00:00:00 2001 From: charles <981744753@qq.com> Date: 星期三, 24 七月 2024 17:45:45 +0800 Subject: [PATCH] fix:解决srm之前改了域名,处理各种异常状态,跳转也会出现异常等问题。 --- src/views/purchaseManage/purchase/index.vue | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/views/purchaseManage/purchase/index.vue b/src/views/purchaseManage/purchase/index.vue index d606fe8..c8380df 100644 --- a/src/views/purchaseManage/purchase/index.vue +++ b/src/views/purchaseManage/purchase/index.vue @@ -180,7 +180,7 @@ { label: "瑙勬牸", prop: "specifications" }, { label: "鍨嬪彿", prop: "modelNumber" }, { label: "閲囪喘鏁伴噺", prop: "amount" }, - { label: "宸插彂璐ф暟閲�", prop: "sendAmount" }, + { label: "宸叉敹璐ф暟閲�", prop: "sendAmount" }, { label: "宸插叆搴撴暟閲�", prop: "overAmount" }, { label: "鍗曚綅", prop: "unit" }, { label: "閲囪喘鍗曚环", prop: "purchasePrice", price: true }, @@ -267,7 +267,7 @@ "瑙勬牸", "鍨嬪彿", "閲囪喘鏁伴噺", - "宸插彂璐ф暟閲�", + "宸叉敹璐ф暟閲�", "宸插叆搴撴暟閲�", "鍗曚綅", "閲囪喘鍗曚环", @@ -607,9 +607,9 @@ tableRowClick(row) { this.selectRow = row if (this.TabsIndex == 0) { - getPurchaseInfo({ id: row.id }).then((res) => { + getOperationInfo({ id: row.id }).then((res) => { if (res.code == 200) { - this.productTableList.tableInfomation = res.data.productList + this.productTableList.tableInfomation = res.data.productInfos } else { this.$message.error(res.msg ? res.msg + "," : "" + "鑾峰彇淇℃伅澶辫触锛�") } @@ -637,7 +637,7 @@ ) { getOperationInfo({ id: row.id }).then((res) => { if (res.code == 200) { - this.productTableList.tableInfomation = res.data + this.productTableList.tableInfomation = res.data.inWarehouseInfos } else { this.$message.error(res.msg ? res.msg + "," : "" + "鑾峰彇淇℃伅澶辫触锛�") } @@ -751,7 +751,11 @@ ) { getOperationInfo({ id: row.id }).then((res) => { if (res.code == 200) { - this.productTableList.tableInfomation = res.data + if(this.TabsIndex == 0){ + this.productTableList.tableInfomation = res.data.productInfos + }else if(this.TabsIndex == 2){ + this.productTableList.tableInfomation = res.data.inWarehouseInfos + } } else { this.$message.error(res.msg ? res.msg + "," : "" + "鑾峰彇淇℃伅澶辫触锛�") } -- Gitblit v1.8.0