From 873e64746e0f64889392a34dbe62dc8913d9ecf3 Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期四, 30 五月 2024 10:44:29 +0800
Subject: [PATCH] #
---
pages/phyz/stationManage/pickAgain.vue | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/pages/phyz/stationManage/pickAgain.vue b/pages/phyz/stationManage/pickAgain.vue
index 3c22660..2ddb41e 100644
--- a/pages/phyz/stationManage/pickAgain.vue
+++ b/pages/phyz/stationManage/pickAgain.vue
@@ -155,7 +155,12 @@
// 鍒ゆ柇娣诲姞鐨勫晢鍝佹槸鍚﹀拰宸茬粡娣诲姞鐨勯噸澶�
let dataList = this.dataList
this.index = index
- this.maxCount = this.dataList[index].stock
+
+ if (this.dataList[index].stock > this.dataList[index].anfme) {
+ this.maxCount = this.dataList[index].anfme - this.dataList[index].pickedAnfme
+ } else {
+ this.maxCount = this.dataList[index].stock
+ }
this.$refs.addItem.open()
},
addClose() {
--
Gitblit v1.9.1