Browse Source

修改扫描叫料光标和版本号显示

hella_online_20240829
lijuncheng 5 months ago
parent
commit
db5cc9e986
  1. 4
      src/manifest.json
  2. 22
      src/mycomponents/common/comMessage.vue
  3. 6
      src/pages/issue/request/issueScanRequest.vue

4
src/manifest.json

@ -2,8 +2,8 @@
"name" : "wms",
"appid" : "__UNI__C9CF4BF",
"description" : "",
"versionName" : "1.0.5",
"versionCode" : 5,
"versionName" : "1.0.11",
"versionCode" : 11,
"transformPx" : false,
/* 5+App */
"app-plus" : {

22
src/mycomponents/common/comMessage.vue

@ -2,6 +2,12 @@
<view>
<u-modal v-model="show" :title-style="{color: 'red'}" :title="title" :showTitle="false"
:showConfirmButton="false" ref="modal">
<view class="" style="width: 100%;display: flex; align-items: center; justify-content: center;margin-top: 10rpx; " >
<view class="" style="">
版本号 : {{version}}
</view>
</view>
<view class="slot-content">
<slot name="icon">
<image class="icon" :src="icon" />
@ -9,7 +15,6 @@
<slot name="content">
<rich-text class="content" :nodes="content">
</rich-text>
</slot>
<view class='split_line'></view>
<slot name="button">
@ -56,10 +61,23 @@
cancel: false, // true
isDisabled: true, // true
seconds: 0,
success: () => {} //
success: () => {} ,//
version:""
}
},
mounted() {
const systemInfo = uni.getSystemInfoSync();
// #ifdef H5
this.version = systemInfo.appVersion;
console.log(systemInfo.appVersion, '版本号');
// #endif
// #ifdef APP
this.version = systemInfo.appWgtVersion;
// #endif
},
methods: {
open() {

6
src/pages/issue/request/issueScanRequest.vue

@ -83,6 +83,12 @@
methods: {
goScan() {
this.$refs.scanPopup.openScanPopup();
setTimeout(res => {
if (this.$refs.scanPopup != undefined) {
this.$refs.scanPopup.getfocus();
}
}, 400)
},
getScanResult(data){
this.detailSource = {

Loading…
Cancel
Save