From 532fe4afc1b2ee8497b18a38498beb332d6c5d47 Mon Sep 17 00:00:00 2001
From: wtt <1985833171@qq.com>
Date: 星期二, 23 九月 2025 14:20:45 +0800
Subject: [PATCH] 上一个优化补充
---
pages/caigourukujiaoyan/form.vue | 5 ++++-
manifest.json | 4 ++--
pages/shengchanlingliao/form.vue | 5 ++++-
3 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/manifest.json b/manifest.json
index d88b39c..23182d5 100644
--- a/manifest.json
+++ b/manifest.json
@@ -2,8 +2,8 @@
"name" : "鏅轰簯LMES",
"appid" : "__UNI__B002F49",
"description" : "",
- "versionName" : "1.0.87",
- "versionCode" : 187,
+ "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 3ae8a9e..c36b571 100644
--- a/pages/caigourukujiaoyan/form.vue
+++ b/pages/caigourukujiaoyan/form.vue
@@ -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%;"
@@ -313,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: {
diff --git a/pages/shengchanlingliao/form.vue b/pages/shengchanlingliao/form.vue
index 736ca4a..f7100b5 100644
--- a/pages/shengchanlingliao/form.vue
+++ b/pages/shengchanlingliao/form.vue
@@ -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: {
--
Gitblit v1.9.1