Browse Source

修复上架语音问题

test
qb 1 year ago
parent
commit
902b5e25cb
  1. 4
      config/host.js
  2. 265
      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 // lmy
// const devhost = 'http://192.168.10.123:8889/' // const devhost = 'http://192.168.10.123:8889/'
// zhy // zhy
@ -17,7 +17,7 @@ const devhost = 'http://test.api.huitongys.com/'
// cg // cg
// const devhost = 'http://192.168.10.57:13000/' // const devhost = 'http://192.168.10.57:13000/'
// 正式 // 正式
// const devhost = 'https://h5uapi.huitongys.com/' const devhost = 'https://h5uapi.huitongys.com/'
// cg // cg
// const devhost = 'http://192.168.10.200:13000/' // const devhost = 'http://192.168.10.200:13000/'
/** /**

265
manifest.json

@ -1,34 +1,34 @@
{ {
"name" : "货无忧", "name": "货无忧",
"appid" : "__UNI__EB22F37", "appid": "__UNI__EB22F37",
"description" : "", "description": "",
"versionName" : "1.1.01", "versionName": "1.1.02",
"versionCode" : 1101, "versionCode": 1102,
"transformPx" : false, "transformPx": false,
/* 5+App */ /* 5+App */
"app-plus" : { "app-plus": {
// "custom":false, // "custom":false,
"usingComponents" : true, "usingComponents": true,
"nvueStyleCompiler" : "uni-app", "nvueStyleCompiler": "uni-app",
"compilerVersion" : 3, "compilerVersion": 3,
"splashscreen" : { "splashscreen": {
"alwaysShowBeforeRender" : true, "alwaysShowBeforeRender": true,
"waiting" : true, "waiting": true,
"autoclose" : true, "autoclose": true,
"delay" : 0 "delay": 0
}, },
/* */ /* */
"modules" : { "modules": {
"Bluetooth" : {}, "Bluetooth": {},
"Barcode" : {}, "Barcode": {},
"Camera" : {}, "Camera": {},
"Geolocation" : {} "Geolocation": {}
}, },
/* */ /* */
"distribute" : { "distribute": {
/* android */ /* android */
"android" : { "android": {
"permissions" : [ "permissions": [
"<uses-feature android:name=\"android.hardware.camera\"/>", "<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>", "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>", "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
@ -47,141 +47,140 @@
] ]
}, },
/* ios */ /* ios */
"ios" : { "ios": {
"dSYMs" : false, "dSYMs": false,
"idfa" : false "idfa": false
}, },
/* SDK */ /* SDK */
"sdkConfigs" : { "sdkConfigs": {
"geolocation" : { "geolocation": {
"amap" : { "amap": {
"__platform__" : [ "android" ], "__platform__": ["android"],
"appkey_ios" : "f5577fdddf4f68f92bbde932e9e35bd6", "appkey_ios": "f5577fdddf4f68f92bbde932e9e35bd6",
"appkey_android" : "f5577fdddf4f68f92bbde932e9e35bd6" "appkey_android": "f5577fdddf4f68f92bbde932e9e35bd6"
} }
}, },
"ad" : {} "ad": {}
}, },
"splashscreen" : { "splashscreen": {
"androidStyle" : "common", "androidStyle": "common",
"useOriginalMsgbox" : false, "useOriginalMsgbox": false,
"iosStyle" : "common" "iosStyle": "common"
}, },
"icons" : { "icons": {
"android" : { "android": {
"hdpi" : "unpackage/res/icons/72x72.png", "hdpi": "unpackage/res/icons/72x72.png",
"xhdpi" : "unpackage/res/icons/96x96.png", "xhdpi": "unpackage/res/icons/96x96.png",
"xxhdpi" : "unpackage/res/icons/144x144.png", "xxhdpi": "unpackage/res/icons/144x144.png",
"xxxhdpi" : "unpackage/res/icons/192x192.png" "xxxhdpi": "unpackage/res/icons/192x192.png"
}, },
"ios" : { "ios": {
"appstore" : "unpackage/res/icons/1024x1024.png", "appstore": "unpackage/res/icons/1024x1024.png",
"ipad" : { "ipad": {
"app" : "unpackage/res/icons/76x76.png", "app": "unpackage/res/icons/76x76.png",
"app@2x" : "unpackage/res/icons/152x152.png", "app@2x": "unpackage/res/icons/152x152.png",
"notification" : "unpackage/res/icons/20x20.png", "notification": "unpackage/res/icons/20x20.png",
"notification@2x" : "unpackage/res/icons/40x40.png", "notification@2x": "unpackage/res/icons/40x40.png",
"proapp@2x" : "unpackage/res/icons/167x167.png", "proapp@2x": "unpackage/res/icons/167x167.png",
"settings" : "unpackage/res/icons/29x29.png", "settings": "unpackage/res/icons/29x29.png",
"settings@2x" : "unpackage/res/icons/58x58.png", "settings@2x": "unpackage/res/icons/58x58.png",
"spotlight" : "unpackage/res/icons/40x40.png", "spotlight": "unpackage/res/icons/40x40.png",
"spotlight@2x" : "unpackage/res/icons/80x80.png" "spotlight@2x": "unpackage/res/icons/80x80.png"
}, },
"iphone" : { "iphone": {
"app@2x" : "unpackage/res/icons/120x120.png", "app@2x": "unpackage/res/icons/120x120.png",
"app@3x" : "unpackage/res/icons/180x180.png", "app@3x": "unpackage/res/icons/180x180.png",
"notification@2x" : "unpackage/res/icons/40x40.png", "notification@2x": "unpackage/res/icons/40x40.png",
"notification@3x" : "unpackage/res/icons/60x60.png", "notification@3x": "unpackage/res/icons/60x60.png",
"settings@2x" : "unpackage/res/icons/58x58.png", "settings@2x": "unpackage/res/icons/58x58.png",
"settings@3x" : "unpackage/res/icons/87x87.png", "settings@3x": "unpackage/res/icons/87x87.png",
"spotlight@2x" : "unpackage/res/icons/80x80.png", "spotlight@2x": "unpackage/res/icons/80x80.png",
"spotlight@3x" : "unpackage/res/icons/120x120.png" "spotlight@3x": "unpackage/res/icons/120x120.png"
} }
} }
} }
}, },
"nativePlugins" : { "nativePlugins": {
"MT-TTS" : { "MT-TTS": {
"__plugin_info__" : { "__plugin_info__": {
"name" : "MT-TTS语音合成", "name": "MT-TTS语音合成",
"description" : "安卓tts语音合成", "description": "安卓tts语音合成",
"platforms" : "Android", "platforms": "Android",
"url" : "", "url": "",
"android_package_name" : "", "android_package_name": "",
"ios_bundle_id" : "", "ios_bundle_id": "",
"isCloud" : false, "isCloud": false,
"bought" : -1, "bought": -1,
"pid" : "", "pid": "",
"parameters" : {} "parameters": {}
} }
}, },
"Sunmi-Print-Inner" : { "Sunmi-Print-Inner": {
"__plugin_info__" : { "__plugin_info__": {
"name" : "Sunmi-Print-Inner", "name": "Sunmi-Print-Inner",
"description" : "商米打印服务uniapp插件", "description": "商米打印服务uniapp插件",
"platforms" : "Android", "platforms": "Android",
"url" : "", "url": "",
"android_package_name" : "", "android_package_name": "",
"ios_bundle_id" : "", "ios_bundle_id": "",
"isCloud" : false, "isCloud": false,
"bought" : -1, "bought": -1,
"pid" : "", "pid": "",
"parameters" : {} "parameters": {}
} }
}, },
"LcPrinter" : { "LcPrinter": {
"__plugin_info__" : { "__plugin_info__": {
"name" : "LcPrinter", "name": "LcPrinter",
"description" : "打印插件", "description": "打印插件",
"platforms" : "Android", "platforms": "Android",
"url" : "", "url": "",
"android_package_name" : "", "android_package_name": "",
"ios_bundle_id" : "", "ios_bundle_id": "",
"isCloud" : false, "isCloud": false,
"bought" : -1, "bought": -1,
"pid" : "", "pid": "",
"parameters" : {} "parameters": {}
} }
} }
} }
}, },
/* */ /* */
"quickapp" : {}, "quickapp": {},
/* */ /* */
"mp-weixin" : { "mp-weixin": {
"appid" : "wxedb0d10ea46a0113", "appid": "wxedb0d10ea46a0113",
"setting" : { "setting": {
"urlCheck" : false, "urlCheck": false,
"es6" : false, "es6": false,
"ignoreDevUnusedFiles" : false, "ignoreDevUnusedFiles": false,
"lazyCodeLoading" : "requiredComponents", "lazyCodeLoading": "requiredComponents",
"minified" : true "minified": true
}, },
"usingComponents" : true, "usingComponents": true,
"permission" : { "permission": {
"scope.userFuzzyLocation" : { "scope.userFuzzyLocation": {
"desc" : "你的位置信息将用于小程序位置接口的效果展示" "desc": "你的位置信息将用于小程序位置接口的效果展示"
}, },
"scope.userLocation" : { "scope.userLocation": {
"desc" : "你的位置信息将用于小程序位置接口的效果展示" "desc": "你的位置信息将用于小程序位置接口的效果展示"
} }
}, },
"requiredPrivateInfos" : [ "getLocation" ] "requiredPrivateInfos": ["getLocation"]
}, },
"mp-alipay" : { "mp-alipay": {
"usingComponents" : true "usingComponents": true
}, },
"mp-baidu" : { "mp-baidu": {
"usingComponents" : true "usingComponents": true
}, },
"mp-toutiao" : { "mp-toutiao": {
"usingComponents" : true "usingComponents": true
}, },
"uniStatistics" : { "uniStatistics": {
"enable" : false "enable": false
}, },
"vueVersion" : "3" "vueVersion": "3"
} }
// "custom":false, // "custom":false,
/* */ /* */

3
pagesHome/pages/ScanUp/ScanUp.vue

@ -294,7 +294,7 @@
details.datalist = (res.data?.list) || [] details.datalist = (res.data?.list) || []
if (details.checkstate === 2) return details.renderList = details.datalist 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('该库位已有数据, 无法上架') return utils.handleToast('该库位已有数据, 无法上架')
} }
// if (details.upshelfScanType === '4') return utils.ttsspke('') // if (details.upshelfScanType === '4') return utils.ttsspke('')
@ -398,7 +398,6 @@
if (isStorageCode) return scanStorage(code) if (isStorageCode) return scanStorage(code)
else scanOther(code) else scanOther(code)
} }
function goorderdetail(item, type) { function goorderdetail(item, type) {
// 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 Base64$1 = new Base64();
const devhost = "http://test.api.huitongys.com/"; const devhost = "https://h5uapi.huitongys.com/";
const imghost = ""; const imghost = "";
const host = devhost; const host = devhost;
const APPKEY = "h5u:h5u_secret"; 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) || []; details.datalist = ((_a = res.data) == null ? void 0 : _a.list) || [];
if (details.checkstate === 2) if (details.checkstate === 2)
return details.renderList = details.datalist; 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("该库位已有数据, 无法上架"); return utils2.handleToast("该库位已有数据, 无法上架");
} }
} }

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

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

Loading…
Cancel
Save