From 798fa392bf543858979a9f3943190ea2c0fe72e4 Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期五, 19 九月 2025 23:14:58 +0800
Subject: [PATCH] 1.其他出库优化 2.销售出库优化 3.委外领料申请(未完成) 4.采购退货优化 5.物料分区

---
 H5/Js/Xsck.js |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/H5/Js/Xsck.js b/H5/Js/Xsck.js
index b699f6b..746bf53 100644
--- a/H5/Js/Xsck.js
+++ b/H5/Js/Xsck.js
@@ -57,9 +57,11 @@
 
             var that = this;
             that.isLoading = true;
-            that.AxiosHttp("post", 'Womdaa/GetBarKwByItem', {
+            that.AxiosHttp("post", 'Womdaa/GetBarKwByItemCK', {
                 itemId: that.selItem.itemid,
-                userName: that.userInfo.loginAccount
+                userName: that.userInfo.loginAccount,
+                //type: 'XSCK',
+                //billNo: that.billNo
             }, false)
                 .then(function (res) {
                     var json = res;
@@ -126,6 +128,9 @@
             this.show = false;
 
             this.billNo = item.name;
+
+            // 娓呯┖搴撲綅鍒楄〃
+            this.ItemBarKw = [];
             this.GetMesItemDetailByBillNo();
             //this.$toast(item.name);
 
@@ -145,6 +150,9 @@
                         that.zdy = json.data.tbBillList.allList[0].createNmae;
                         //that.daa001 = json.data.tbBillList.item1;
                         that.$refs.barcode.focus();
+                        // 閲嶇疆鎵�鏈夎鐨勯�変腑鐘舵��
+                        that.currentIndex = -1;
+                        that.ItemBarKw = [];
                     }
                     else {
                         that.$toast.fail(json.message);
@@ -298,6 +306,8 @@
                     if (json.status == 0) {
                         that.ItemBlDetail = json.data.pendingList;
                         that.$notify({ type: 'success', message: '鎵弿鎴愬姛' });
+                        that.$playSound('success');
+                        that.sendPrintMessage(json.data.tbBillList);
                         that.$refs.barcode.focus();
                         that.barcode = "";
                         that.num = "";

--
Gitblit v1.9.3