From 54435420215dd0ad6b232d7825d1cc09961840f1 Mon Sep 17 00:00:00 2001
From: wangyi <2946747746@qq.com>
Date: 星期一, 23 三月 2026 09:20:04 +0800
Subject: [PATCH] 1
---
pages/Kf_MoveStockStepOutBill_CusBar/Kf_MoveStockStepOutBill_CusBar_APP.vue | 65 +++++++-------------------------
1 files changed, 14 insertions(+), 51 deletions(-)
diff --git a/pages/Kf_MoveStockStepOutBill_CusBar/Kf_MoveStockStepOutBill_CusBar_APP.vue b/pages/Kf_MoveStockStepOutBill_CusBar/Kf_MoveStockStepOutBill_CusBar_APP.vue
index b035c78..67d9e90 100644
--- a/pages/Kf_MoveStockStepOutBill_CusBar/Kf_MoveStockStepOutBill_CusBar_APP.vue
+++ b/pages/Kf_MoveStockStepOutBill_CusBar/Kf_MoveStockStepOutBill_CusBar_APP.vue
@@ -13,8 +13,6 @@
<uni-icons type="scan" size="20" @click="qrCodeDisplay('HCP')"></uni-icons>
</view>
</view>
-
- <!-- 鏉$爜杈撳叆妗� -->
<view class="form-item">
<view class="title">
鏉$爜:
@@ -552,56 +550,21 @@
}
},
methods: {
- // 鏉$爜鍥炶溅澶勭悊鏂规硶
handleBarCodeConfirm() {
- // 鍏堟墽琛屽師鏈夌殑鏌ヨ
- this.GetMessageByBarCode();
-
- // 娓呯┖鏉$爜杈撳叆妗�
- this.hform.HBarCode = '';
- this.hform.HCP = '';
- setTimeout(() => {
- this.barCodeFocus = false;
- this.hcpFocus = true;
- }, 100);
- },
- // 浼犵エ鍥炶溅澶勭悊鏂规硶
- handleHCPConfirm() {
- setTimeout(() => {
- this.hcpFocus = false;
- this.barCodeFocus = true;
- }, 100);
- },
-
- // 鎵弿鏉$爜
- qrCodeDisplay(type) {
- MpaasScan.scanCode(res => {
- if (!res) {
- return
- }
- switch (type) {
- case "HCP":
- this.hform.HCP = res;
- // 鎵弿浼犵エ鍚庢竻绌烘潯鐮佸苟璺宠浆
- setTimeout(() => {
- this.hform.HBarCode = '';
- this.hcpFocus = false;
- this.barCodeFocus = true;
- }, 100);
- break;
- case "BarCode":
- this.hform.HBarCode = res
- this.GetMessageByBarCode();
- // 鎵弿鏉$爜鍚庢竻绌轰紶绁ㄥ苟璺宠浆
- setTimeout(() => {
- this.hform.HCP = '';
- this.barCodeFocus = false;
- this.hcpFocus = true;
- }, 100);
- break;
- }
- })
- },
+ this.GetMessageByBarCode();
+ this.hform.HBarCode = '';
+ this.hform.HCP = '';
+ setTimeout(() => {
+ this.barCodeFocus = false;
+ this.hcpFocus = true;
+ }, 100);
+ },
+ handleHCPConfirm() {
+ setTimeout(() => {
+ this.hcpFocus = false;
+ this.barCodeFocus = true;
+ }, 100);
+ },
// 鑾峰彇鍗曟嵁瀛愮被鍨�
async set_InitBillSubType(){
try{
--
Gitblit v1.9.1