From 2a39aa8035613ddcb00ab2edd2d3aea046b0c838 Mon Sep 17 00:00:00 2001 From: Junjie <xjj@123> Date: 星期六, 14 六月 2025 10:17:14 +0800 Subject: [PATCH] # --- pages/basics/stockCheck.vue | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/pages/basics/stockCheck.vue b/pages/basics/stockCheck.vue index c350986..c036b85 100644 --- a/pages/basics/stockCheck.vue +++ b/pages/basics/stockCheck.vue @@ -76,10 +76,10 @@ <view class="revise-box"> <view class="revise-box-top"> <view class="color-block-blue"></view> - <text class="title">缁勬墭鏁伴噺</text> + <text class="title">鐩樼偣澶嶆牳</text> </view> <view class="text-box"> - <text>鍙粍鏁伴噺锛歿{enableQty}}</text> + <text>澶嶆牳鏁伴噺锛歿{enableQty}}</text> </view> <view class="changeBox"> <view class="num-box"> @@ -278,7 +278,11 @@ }, confirm() { - this.matList[this.rowNum].anfme = this.count + let arr = this.matList[this.rowNum].origin.split("/") + let mainAnfme = this.count * parseFloat(arr[1]) * parseFloat(arr[0]) + console.log(mainAnfme); + this.matList[this.rowNum].anfme = mainAnfme + this.matList[this.rowNum].weight = this.count this.$refs.revise.close() }, resst() { @@ -364,7 +368,6 @@ .title { display: inline-block; - float: left; font-size: 34rpx; font-weight: 700; height: 50rpx; -- Gitblit v1.9.1