From 960cda766a86bcc1be692525361f00836f2a59d5 Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期一, 10 二月 2025 14:43:33 +0800
Subject: [PATCH] 1.生产补料优化 2.生产领料字段名称调整

---
 H5/Js/Scbl.js |   17 +++++++++++------
 1 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/H5/Js/Scbl.js b/H5/Js/Scbl.js
index 97962e9..bea1c7a 100644
--- a/H5/Js/Scbl.js
+++ b/H5/Js/Scbl.js
@@ -82,8 +82,8 @@
                 .then(function (res) {
                     var json = res;
                     if (json.status == 0) {
-                        that.ItemBlDetail = json.data.tbBillList.item;
-                        that.daa001 = json.data.tbBillList.bl001;
+                        that.ItemBlDetail = json.data.tbBillList.item2;
+                        that.daa001 = json.data.tbBillList.item1;
                     }
                     else {
                         that.$toast.fail(json.message);
@@ -138,11 +138,16 @@
                     var json = res;
                     if (json.status == 0) {
 
-                        that.barcode = json.data.tbBillList.item.barcode;
-                        that.sms = json.data.tbBillList.item.fum;
-                        that.num = json.data.tbBillList.item.num;
-                        that.ItemBlDetail = json.data.tbBillList.pendingList
+                        that.barcode = null;
+                        that.sms = null;
+                        that.num = null;
+                        //that.ItemBlDetail = json.data.tbBillList.item2
                         that.$notify({ type: 'success', message: '鎵弿鎴愬姛' });
+                        that.GetMesItemBlDetailByBillNo();
+                    } else if (json.status == 2) {
+                        that.$refs.splitNum.focus();
+                        that.scanInfo.splitNum = json.data.tbBillList.splitNum;
+                        that.scanInfo.barcodeNum = json.data.tbBillList.barcodeNum;
                     }
                     else {
                         that.$toast.fail(json.message);

--
Gitblit v1.9.3