| | |
| | | "name" : "中扬WMS", |
| | | "appid" : "__UNI__DA5854D", |
| | | "description" : "", |
| | | "versionName" : "2024071601", |
| | | "versionCode" : 101, |
| | | "versionName" : "2024071701", |
| | | "versionCode" : 102, |
| | | "transformPx" : false, |
| | | /* 5+App特有相关 */ |
| | | "app-plus" : { |
| | |
| | | <view class="list-left-item"> |
| | | <view class="desc">状态:</view> |
| | | <view class="left-item"> |
| | | <uni-tag :text="item.deadTime" type="error"></uni-tag> |
| | | <uni-tag :text="item.deadTime" :type="deadTimeType"></uni-tag> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | matFocus: false, |
| | | matData: '', |
| | | removeNum: 0, |
| | | targetBatch: '' |
| | | targetBatch: '', |
| | | deadTimeType: 'error' |
| | | } |
| | | }, |
| | | onLoad() { |
| | |
| | | // barcode input 事件 |
| | | barcodeInput() { |
| | | let _this = this |
| | | let newBarcode = this.barcode |
| | | let barcode = this.barcode.split(" ") |
| | | console.log(barcode); |
| | | this.targetBatch = barcode[1].slice(3) |
| | | console.log(this.targetBatch); |
| | | console.log(this.barcode); |
| | | this.barcode = barcode[1].slice(3) |
| | | uni.request({ |
| | | url: _this.baseUrl + '/mobile/wrkDetl/search/batch/auth', |
| | | header: {'token': uni.getStorageSync('token')}, |
| | | data: _this.barcode, |
| | | data: newBarcode, |
| | | method:'POST', |
| | | success(res) { |
| | | res = res.data |
| | | console.log(res); |
| | | if (res.code === 200) { |
| | | if (res.data.source === 1) { |
| | | _this.deadTimeType = "primary" |
| | | } else { |
| | | _this.deadTimeType = "error" |
| | | } |
| | | _this.dataList.push(res.data) |
| | | } else if (res.code == 403) { |
| | | _this.messageText = res.msg |