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 = [];