From c685219535528999a646a7a1bc0b2bb7b2c12d44 Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期五, 15 八月 2025 10:43:37 +0800
Subject: [PATCH] 修复部分页面 扫码报错后 对应输入框 文本没有删除的问题 修复部分页面 picker 样式设置不对 整个页面都能触发的问题

---
 pages/xiaoshouchuku/form.vue  |    8 +++++++-
 pages/caigouruku/form.vue     |    6 ++++--
 pages/xiaoshoutuihuo/form.vue |    2 ++
 3 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/pages/caigouruku/form.vue b/pages/caigouruku/form.vue
index 9cd01c2..6bf8206 100644
--- a/pages/caigouruku/form.vue
+++ b/pages/caigouruku/form.vue
@@ -404,14 +404,15 @@
 				this.HSourceBillNoFocus = false
 				await this.$nextTick(() => {
 					this.HSourceBillNoFocus = true
-					this.hform.HBarCode = ""
+					this.hform.HSourceBillNo = ""
+					
 				})
 			},
 			async refreshBarCodeState() {
 				this.barCodeFocus = false
 				await this.$nextTick(() => {
 					this.barCodeFocus = true
-					this.hform.HSourceBillNo = ""
+					this.hform.HBarCode = ""
 				})
 			},
 			playSound(e) {
@@ -905,6 +906,7 @@
 							this.playSound(1)
 							this.DisBillEntryList()
 						} else {
+							console.log('res.data.Message: ',res.data.Message);
 							this.refreshHSourceBillState()
 							this.playSound(0)
 							uni.showToast({
diff --git a/pages/xiaoshouchuku/form.vue b/pages/xiaoshouchuku/form.vue
index 9310184..fce461e 100644
--- a/pages/xiaoshouchuku/form.vue
+++ b/pages/xiaoshouchuku/form.vue
@@ -470,7 +470,13 @@
 					this.BarCodeFocus = true
 					return
 				}
-				let inputVal = this.$refs.uniComboxSourceBill.inputVal
+				let inputVal = ''
+				if(this.$refs.uniComboxSourceBill){
+					inputVal = this.$refs.uniComboxSourceBill.inputVal || this.hform.HBillNo
+				}else {
+					inputVal = this.hform.HBillNo
+				}
+				 
 				if (inputVal == '') {
 					CommonUtils.playSound(0)
 					return uni.showToast({
diff --git a/pages/xiaoshoutuihuo/form.vue b/pages/xiaoshoutuihuo/form.vue
index a9b4015..d1ae8a2 100644
--- a/pages/xiaoshoutuihuo/form.vue
+++ b/pages/xiaoshoutuihuo/form.vue
@@ -1306,6 +1306,8 @@
 			width: 450rpx;
 			border-radius: 22rpx;
 			border: 1px solid #acacac;
+			display: flex;
+			position: relative;
 		}
 
 		.righton {

--
Gitblit v1.9.1