From 0d3ecfe8b2dc6b707b60d1e64b6f9f9c7c33bbd3 Mon Sep 17 00:00:00 2001 From: Junjie <xjj@123> Date: 星期三, 18 六月 2025 17:22:34 +0800 Subject: [PATCH] # --- pages/basics/order.vue | 19 +++++++++++-------- 1 files changed, 11 insertions(+), 8 deletions(-) diff --git a/pages/basics/order.vue b/pages/basics/order.vue index 0e68fc3..0680ba2 100644 --- a/pages/basics/order.vue +++ b/pages/basics/order.vue @@ -98,7 +98,7 @@ <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="" style="position: relative;left: 50px;margin-bottom: 20px;"> <text style="display: inline-block;float: left;width: 60px;">鎵规锛�</text> @@ -350,13 +350,16 @@ checkMat(mat) { var len = this.matList.length var add = true - for (var i = 0; i < len; i++) { - if (mat.matnr == this.matList[i].matnr&&mat.batch == this.matList[i].batch&&mat.orderNo == this.matList[i].orderNo) { - this.matList[i].anfme += mat.anfme - this.$forceUpdate() // 寮哄埗鍒锋柊 - add = false - } - } + // for (var i = 0; i < len; i++) { + // if (mat.matnr == this.matList[i].tiaoma){ + // uni.showToast({title: "鏉$爜閲嶅鎵簡", icon: "none", position: 'top'}) + // } + // // if (mat.matnr == this.matList[i].matnr&&mat.batch == this.matList[i].batch&&mat.orderNo == this.matList[i].orderNo) { + // // this.matList[i].anfme += mat.anfme + // // this.$forceUpdate() // 寮哄埗鍒锋柊 + // // add = false + // // } + // } if (add) { this.matList.unshift(mat) } -- Gitblit v1.9.1