Browse Source

修复上架语音问题

test
qb 1 year ago
parent
commit
902b5e25cb
  1. 4
      config/host.js
  2. 5
      manifest.json
  3. 3
      pagesHome/pages/ScanUp/ScanUp.vue
  4. 4
      unpackage/dist/dev/app-plus/app-service.js
  5. 4
      unpackage/dist/dev/app-plus/manifest.json

4
config/host.js

@ -4,7 +4,7 @@
* 测试域名
* */
//测试域名
const devhost = 'http://test.api.huitongys.com/'
// const devhost = 'http://test.api.huitongys.com/'
// lmy
// const devhost = 'http://192.168.10.123:8889/'
// zhy
@ -17,7 +17,7 @@ const devhost = 'http://test.api.huitongys.com/'
// cg
// const devhost = 'http://192.168.10.57:13000/'
// 正式
// const devhost = 'https://h5uapi.huitongys.com/'
const devhost = 'https://h5uapi.huitongys.com/'
// cg
// const devhost = 'http://192.168.10.200:13000/'
/**

5
manifest.json

@ -2,8 +2,8 @@
"name": "货无忧",
"appid": "__UNI__EB22F37",
"description": "",
"versionName" : "1.1.01",
"versionCode" : 1101,
"versionName": "1.1.02",
"versionCode": 1102,
"transformPx": false,
/* 5+App */
"app-plus": {
@ -184,4 +184,3 @@
}
// "custom":false,
/* */

3
pagesHome/pages/ScanUp/ScanUp.vue

@ -294,7 +294,7 @@
details.datalist = (res.data?.list) || []
if (details.checkstate === 2) return details.renderList = details.datalist
if (Number(details.upshelfScanType) === 4 && details.datalist.length !== 0) {
if (Number(details.upshelfScanType) === 4 && details.datalist.length !== 0 && details.uplistarr.length !== 0) {
return utils.handleToast('该库位已有数据, 无法上架')
}
// if (details.upshelfScanType === '4') return utils.ttsspke('')
@ -398,7 +398,6 @@
if (isStorageCode) return scanStorage(code)
else scanOther(code)
}
function goorderdetail(item, type) {
// type

4
unpackage/dist/dev/app-plus/app-service.js vendored

@ -1747,7 +1747,7 @@ if (uni.restoreGlobal) {
};
};
const Base64$1 = new Base64();
const devhost = "http://test.api.huitongys.com/";
const devhost = "https://h5uapi.huitongys.com/";
const imghost = "";
const host = devhost;
const APPKEY = "h5u:h5u_secret";
@ -33271,7 +33271,7 @@ This will fail in production if not fixed.`);
details.datalist = ((_a = res.data) == null ? void 0 : _a.list) || [];
if (details.checkstate === 2)
return details.renderList = details.datalist;
if (Number(details.upshelfScanType) === 4 && details.datalist.length !== 0) {
if (Number(details.upshelfScanType) === 4 && details.datalist.length !== 0 && details.uplistarr.length !== 0) {
return utils2.handleToast("该库位已有数据, 无法上架");
}
}

4
unpackage/dist/dev/app-plus/manifest.json vendored

@ -7,8 +7,8 @@
"id": "__UNI__EB22F37",
"name": "货无忧",
"version": {
"name": "1.1.01",
"code": 1101
"name": "1.1.02",
"code": 1102
},
"description": "",
"developer": {

Loading…
Cancel
Save