From 9b356b60d10c7c3b8289f86e7a7ea544beaf5df2 Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期四, 31 七月 2025 13:06:54 +0800
Subject: [PATCH] 解决合并后格式问题
---
manifest.json | 4 ++--
.hbuilderx/launch.json | 3 +++
pages/caigouruku/form.vue | 30 +++++++++++++++---------------
3 files changed, 20 insertions(+), 17 deletions(-)
diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json
index 91f5ad9..ac51de7 100644
--- a/.hbuilderx/launch.json
+++ b/.hbuilderx/launch.json
@@ -21,7 +21,10 @@
"type" : "uni-app:app-ios"
},
{
+ "customPlaygroundType" : "device",
+ "localRepoPath" : "D:/WorkBench/ZY_APP_Dev/STUWMS",
"openVueDevtools" : true,
+ "packageName" : "com.shebeiguanli.www",
"playground" : "custom",
"type" : "uni-app:app-android"
}
diff --git a/manifest.json b/manifest.json
index 89816a9..c1c1db7 100644
--- a/manifest.json
+++ b/manifest.json
@@ -2,8 +2,8 @@
"name" : "鏅轰簯LMES",
"appid" : "__UNI__B002F49",
"description" : "",
- "versionName" : "1.0.28",
- "versionCode" : 128,
+ "versionName" : "1.0.30",
+ "versionCode" : 130,
"transformPx" : false,
/* 5+App鐗规湁鐩稿叧 */
"app-plus" : {
diff --git a/pages/caigouruku/form.vue b/pages/caigouruku/form.vue
index 03660c6..ea899c5 100644
--- a/pages/caigouruku/form.vue
+++ b/pages/caigouruku/form.vue
@@ -59,9 +59,10 @@
<view class="form-item">
<view class="title">婧愬崟鍗曞彿:</view>
<view class="right" v-show="showHSourceBillNo">
- <uni-combox :isAutoFocus="true" ref="uniComboxSourceBill" :confirm-call="onSourceBillBlurHandler"
- v-if="reHSourceBillNo" :candidates="arrayHSourceBillNo" placeholder="璇疯緭鍏ユ簮鍗曞崟鍙�"
- v-model="hform.HSourceBillNo" @input="HSourceBillNoChange"></uni-combox>
+ <uni-combox :isAutoFocus="true" ref="uniComboxSourceBill"
+ :confirm-call="onSourceBillBlurHandler" v-if="reHSourceBillNo"
+ :candidates="arrayHSourceBillNo" placeholder="璇疯緭鍏ユ簮鍗曞崟鍙�" v-model="hform.HSourceBillNo"
+ @input="HSourceBillNoChange"></uni-combox>
</view>
<view class="righton" v-show="!showHSourceBillNo">
<input name="HSourceBillNo" disabled v-model="hform.HSourceBillNo" placeholder="璇疯緭鍏ユ簮鍗曞崟鍙�" />
@@ -346,24 +347,24 @@
innerAudioContext.play(); // 鎾斁闊抽
},
//鎵爜
- toScanCode(){
+ toScanCode() {
var mpaasScanModule = uni.requireNativePlugin("Mpaas-Scan-Module")
mpaasScanModule.mpaasScan({
'hideAlbum': true,
- 'timeoutInterval':'10', //瓒呮椂鏃堕棿
- 'timeoutText':'鏈瘑鍒埌浜岀淮鐮�' //瓒呮椂鎻愰啋
- },(ret) => {
+ 'timeoutInterval': '10', //瓒呮椂鏃堕棿
+ 'timeoutText': '鏈瘑鍒埌浜岀淮鐮�' //瓒呮椂鎻愰啋
+ }, (ret) => {
console.log(ret.resp_result)
- if(this.hform.HBarCode == '*'){
+ if (this.hform.HBarCode == '*') {
this.hform.HBarCode = this.hform.HBarCode + ret.resp_result
- }else{
+ } else {
this.hform.HBarCode = ret.resp_result
}
-
+
this.getCode(this.hform.HBarCode)
})
},
-},
+
//鎵叾浠�(浠撳簱锛屼粨浣�)
// toScanData(e){
// uni.scanCode({
@@ -443,7 +444,7 @@
this.hform.HDate = e.detail.value
},
onSourceBillBlurHandler() {
- if(this.hform.HMainSourceBillType == -1) {
+ if (this.hform.HMainSourceBillType == -1) {
this.playSound(1)
this.barCodeFocus = true
return
@@ -1031,11 +1032,10 @@
},
});
},
- //鍒犻櫎鐗╂枡鐮�
delMater(item) {
uni.showModal({
title: '鎻愮ず',
- content: '纭瑕佸垹闄� " ' + item.鐗╂枡鍚嶇О + ' " 鎵�鏈夋壂鐮佽褰曪紵鍒犻櫎鍚庡皢涓嶅彲鎭㈠锛�',
+ content: '纭瑕佸垹闄� "' + item.鐗╂枡鍚嶇О + '" 鎵�鏈夋壂鐮佽褰曪紵鍒犻櫎鍚庡皢涓嶅彲鎭㈠锛�',
success: (res) => {
if (res.confirm) {
uni.request({
@@ -1066,7 +1066,7 @@
title: '鎺ュ彛璇锋眰澶辫触',
icon: 'none'
})
- },
+ }
});
}
}
--
Gitblit v1.9.1