From 1880fd1498b69377b0f228913022c7bda2a1d629 Mon Sep 17 00:00:00 2001 From: zhang <zc857179121@qq.com> Date: 星期四, 12 六月 2025 14:31:31 +0800 Subject: [PATCH] 12 --- pages/basics/order.vue | 17 ++++++++++------- 1 files changed, 10 insertions(+), 7 deletions(-) diff --git a/pages/basics/order.vue b/pages/basics/order.vue index c61c78d..0680ba2 100644 --- a/pages/basics/order.vue +++ b/pages/basics/order.vue @@ -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