From 14d2e539f18307ecab4ea415d16c54fff012a1c2 Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期六, 25 五月 2024 15:05:31 +0800 Subject: [PATCH] Merge branch 'phyzasrs' of http://47.97.1.152:5880/r/wms_app into phyzasrs --- 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..446135c 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 + } else { + this.maxCount = this.dataList[index].stock + } + this.$refs.addItem.open() }, addClose() { -- Gitblit v1.9.1