From c5e96048fa8d1b40baf1a6a92ed3e8ba17d60761 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期三, 27 三月 2024 17:10:10 +0800 Subject: [PATCH] 采购管理 入库信息列表的数量字段修改 --- src/views/purchaseManage/purchase/index.vue | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/views/purchaseManage/purchase/index.vue b/src/views/purchaseManage/purchase/index.vue index 9b7ca55..9240ba5 100644 --- a/src/views/purchaseManage/purchase/index.vue +++ b/src/views/purchaseManage/purchase/index.vue @@ -203,7 +203,7 @@ { label: "鏀惰揣浠撳簱", prop: "warehouseName" }, { label: "浜у搧鍚嶇О", prop: "name" }, { label: "浜у搧缂栫爜", prop: "number" }, - { label: "鏁伴噺", prop: "amount" }, + { label: "鏁伴噺", prop: "overAmount" }, { label: "鍏ュ簱鏃堕棿", prop: "overTime" }, { label: "鏀惰揣浜�", prop: "principal" }, { label: "鐘舵��", prop: "status", isCallMethod: true, getCallMethod: this.getWarehouseStatus } @@ -629,7 +629,11 @@ this.$message.error(res.msg ? res.msg + "," : "" + "鑾峰彇淇℃伅澶辫触锛�") } }) - } else if (this.TabsIndex == 2) { + } else if ( + (this.TabsIndex == 2 && row.status == 8) || + (this.TabsIndex == 2 && row.status == 2) || + (this.TabsIndex == 2 && row.status == 3) + ) { getOperationInfo({ id: row.id }).then((res) => { if (res.code == 200) { this.productTableList.tableInfomation = res.data @@ -737,7 +741,11 @@ this.$message.error(res.msg ? res.msg + "," : "" + "鑾峰彇淇℃伅澶辫触锛�") } }) - } else if (this.TabsIndex == 2) { + } else if ( + (this.TabsIndex == 2 && row.status == 8) || + (this.TabsIndex == 2 && row.status == 2) || + (this.TabsIndex == 2 && row.status == 3) + ) { getOperationInfo({ id: row.id }).then((res) => { if (res.code == 200) { this.productTableList.tableInfomation = res.data -- Gitblit v1.8.0