From dec31ef3751c7966af5bf68d1c993bec526a4524 Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期四, 25 九月 2025 17:06:05 +0800
Subject: [PATCH] Merge branch 'Dev' of http://101.37.171.70:10101/r/~jhz/STUWMS into Dev
---
pages/caigourukujiaoyan/form.vue | 15 +++++++++++++--
manifest.json | 5 ++---
.hbuilderx/launch.json | 2 +-
pages/shengchanlingliao/form.vue | 10 ++++++++--
4 files changed, 24 insertions(+), 8 deletions(-)
diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json
index d7abf73..4dd14cd 100644
--- a/.hbuilderx/launch.json
+++ b/.hbuilderx/launch.json
@@ -25,7 +25,7 @@
"localRepoPath" : "D:/WorkBench/ZY_APP_Dev/STUWMS/unpackage/debug",
"openVueDevtools" : true,
"packageName" : "com.shebeiguanli.www",
- "playground" : "custom",
+ "playground" : "standard",
"type" : "uni-app:app-android"
}
]
diff --git a/manifest.json b/manifest.json
index fc98e86..23182d5 100644
--- a/manifest.json
+++ b/manifest.json
@@ -2,9 +2,8 @@
"name" : "鏅轰簯LMES",
"appid" : "__UNI__B002F49",
"description" : "",
-
- "versionName" : "1.0.85",
- "versionCode" : 185,
+ "versionName" : "1.0.88",
+ "versionCode" : 188,
"transformPx" : false,
/* 5+App鐗规湁鐩稿叧 */
"app-plus" : {
diff --git a/pages/caigourukujiaoyan/form.vue b/pages/caigourukujiaoyan/form.vue
index c3cec0a..c36b571 100644
--- a/pages/caigourukujiaoyan/form.vue
+++ b/pages/caigourukujiaoyan/form.vue
@@ -4,7 +4,7 @@
<view class="form-item">
<view class="title">鏉$爜:</view>
<view class="right">
- <input v-model="hform.HBarCode" :focus="HBarCodeFocus" placeholder="璇锋壂鎻�(鎴栬緭鍏�)鏉$爜" @confirm="getCode(hform.HBarCode)" />
+ <input v-model="hform.HBarCode" :focus="HBarCodeFocus" placeholder="璇锋壂鎻�(鎴栬緭鍏�)鏉$爜" @confirm="getCode(hform.HBarCode)" @blur="getCode(hform.HBarCode)" @input="handleInput" />
</view>
<uni-icons type="scan"
style="margin-left: 10rpx;background-color: #3A78FF;padding: 6rpx;color: #fff;border-radius: 100%;"
@@ -45,7 +45,7 @@
<view class="title">鍗曟嵁鍙�:</view>
<view class="right" style="width: 380rpx;">
<input name="HBillNo" v-model="hform.HBillNo" placeholder="璇锋壂鎻�(鎴栬緭鍏�)鏉$爜"
- @confirm="GetMeesageByBillNo(hform.HBarCode)" :focus="HBillNoFocus"/>
+ @confirm="GetMeesageByBillNo()" :focus="HBillNoFocus" @blur="GetMeesageByBillNo()"/>
</view>
<uni-icons type="scan"
style="margin-left: 10rpx;background-color: #3A78FF;padding: 6rpx;color: #fff;border-radius: 100%;"
@@ -256,6 +256,10 @@
this.refreshHBillNoFocus()
},
methods: {
+ handleInput(event) {
+ // 杩欓噷鍙互娣诲姞棰濆鐨勯�昏緫澶勭悊锛屾瘮濡傛牎楠屾垨杩涗竴姝ョ殑鎿嶄綔
+ console.log(event.target.value);
+ },
// 鍒锋柊鍗曟嵁鍙疯仛鐒�
async refreshHBillNoFocus() {
this.HBillNoFocus = false
@@ -309,6 +313,9 @@
},
//鎵弿鍗曟嵁鍙锋潯鐮�
GetMeesageByBillNo(e) {
+ if(this.hform.HBillNo==""||this.hform.HBillNo==undefined){
+ return
+ }
uni.request({
url: this.serverUrl + '/WEBSController/get_BillBarCode_BillCheck_Json',
data: {
@@ -443,6 +450,10 @@
}
},
getCode(HBarCode) {
+ console.log(HBarCode);
+ if(HBarCode==undefined||HBarCode==""){
+ return
+ }
//浠撳簱銆佷粨浣嶆枃鏈涓虹┖鏃讹紝娓呯┖瀵瑰簲ID
if (!this.hform.HWHName) {
this.hform.HWHID = 0
diff --git a/pages/shengchanlingliao/form.vue b/pages/shengchanlingliao/form.vue
index 1592728..f7100b5 100644
--- a/pages/shengchanlingliao/form.vue
+++ b/pages/shengchanlingliao/form.vue
@@ -5,7 +5,7 @@
<view class="title">鏉$爜:</view>
<view class="right" style="width: 380rpx;">
<input v-model="hform.HBarCode" :focus="HBarCodeFocus" placeholder="璇锋壂鎻�(鎴栬緭鍏�)鏉$爜"
- @confirm="getCode(hform.HBarCode)" />
+ @confirm="getCode(hform.HBarCode)" @blur="getCode(hform.HBarCode)" />
</view>
<uni-icons type="scan"
style="margin-left: 10rpx;background-color: #3A78FF;padding: 6rpx;color: #fff;border-radius: 100%;"
@@ -46,7 +46,7 @@
<view class="title">鍗曟嵁鍙�:</view>
<view class="right" style="width: 380rpx;">
<input name="HBillNo" :focus="HBillNoFocus" v-model="hform.HBillNo" placeholder="璇锋壂鎻�(鎴栬緭鍏�)鏉$爜"
- @confirm="GetMeesageByBillNo()" />
+ @confirm="GetMeesageByBillNo()" @blur="GetMeesageByBillNo()" />
</view>
<uni-icons type="scan"
style="margin-left: 10rpx;background-color: #3A78FF;padding: 6rpx;color: #fff;border-radius: 100%;"
@@ -394,6 +394,9 @@
},
//鎵弿鍗曟嵁鍙锋潯鐮�
GetMeesageByBillNo(e) {
+ if(this.hform.HBillNo==""||this.hform.HBillNo==undefined){
+ return
+ }
uni.request({
url: this.serverUrl + '/WEBSController/get_BillBarCode_BillCheck_Json',
data: {
@@ -526,6 +529,9 @@
},
//鎵潯鐮佸鐞�
getCode(HBarCode) {
+ if(HBarCode==undefined||HBarCode==""){
+ return
+ }
//浠撳簱銆佷粨浣嶆枃鏈涓虹┖鏃讹紝娓呯┖瀵瑰簲ID
if (!this.hform.HWHName) {
this.hform.HWHID = 0
--
Gitblit v1.9.1