From 1f2005541e2c5dbb6837bb96e9b7a141145fe94b Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期三, 07 五月 2025 17:00:31 +0800
Subject: [PATCH] 1.产品绑定送检优化 2.生产领料拆分无线打印机打条码自定义打印机

---
 H5/Js/Cpbdsj.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/H5/Js/Cpbdsj.js b/H5/Js/Cpbdsj.js
index 56f1231..d75d54c 100644
--- a/H5/Js/Cpbdsj.js
+++ b/H5/Js/Cpbdsj.js
@@ -242,8 +242,8 @@
             }
     
             // 璁$畻鍙鏁板拰宸茶鏁�
-            const oldqty = +(that.KbBarInfo.oldqty ?? 0);
-            const ySum = +(that.KbBarInfo.ySum ?? 0);
+            const oldqty = +(that.KbBarInfo.oldqty || 0);
+            const ySum = +(that.KbBarInfo.ySum || 0);
             
             if (oldqty !== ySum) {
                 that.$toast.fail(`瑁呮澘鏈畬鎴愶紝寰呰鏁帮細${oldqty - ySum}`);
@@ -258,7 +258,7 @@
                 .then(function (res) {
                     var json = res;
                     if (json.status == 0) {
-                        that.$notify({ type: 'success', message: json.tbBillList.message });
+                        that.$notify({ type: 'success', message: json.message });
                         // 娓呯┖鏁版嵁
                         that.KbBar = "";
                         that.XbarInfo = [];

--
Gitblit v1.9.3