From 70ddea1608c8402a429baf69ed03028dae9c8f87 Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期一, 22 九月 2025 15:10:22 +0800
Subject: [PATCH] 1.受托退料:优化,添加成功声音、拆分后打印、退料后刷新库位列表。2.受托入库:列表查询与选择改为存储过程,添加成功声音

---
 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