From dd88df3da8fc1a1d8b6a399bcae69a1376cc707c Mon Sep 17 00:00:00 2001 From: hou <1601990943@qq.com> Date: Fri, 18 Feb 2022 10:12:37 +0800 Subject: [PATCH] =?UTF-8?q?uniapp-cli=E7=89=88=E6=9C=AC=E6=A3=80=E6=9F=A5?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/manifest.json | 161 +++++++++--------- .../raw/warehouse/rowInventory/index.vue | 2 +- 2 files changed, 83 insertions(+), 80 deletions(-) diff --git a/src/manifest.json b/src/manifest.json index 6564bb1..493429d 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,84 +1,87 @@ { - "name" : "HaierWMS", - "appid" : "__UNI__306D001", - "description" : "", - "versionName" : "0.0.1", - "versionCode" : 1, - "transformPx" : false, - "app-plus" : { - /* 5+App特有相关 */ - "modules" : {}, - /* 模块配置 */ - "distribute" : { - /* 应用发布信息 */ - "android" : { - /* android打包配置 */ - "permissions" : [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "autoSdkPermissions" : true - }, - "ios" : {}, - /* ios打包配置 */ - "sdkConfigs" : { - "ad" : {} - } - }, - /* SDK配置 */ - "usingComponents" : true + "name": "HaierWMS", + "appid": "__UNI__306D001", + "description": "", + "versionName": "0.0.1", + "versionCode": 1, + "transformPx": false, + "app-plus": { + "compatible": { + "ignoreVersion": true //true表示忽略版本检查提示框,HBuilderX1.9.0及以上版本支持 }, - "quickapp" : {}, - /* 快应用特有相关 */ - "mp-weixin" : { - /* 小程序特有相关 */ - "usingComponents" : true, - "appid" : "", - "setting" : { - "urlCheck" : true - } + /* 5+App特有相关 */ + "modules": {}, + /* 模块配置 */ + "distribute": { + /* 应用发布信息 */ + "android": { + /* android打包配置 */ + "permissions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "autoSdkPermissions": true + }, + "ios": {}, + /* ios打包配置 */ + "sdkConfigs": { + "ad": {} + } }, - "mp-alipay" : { - "usingComponents" : true - }, - "mp-baidu" : { - "usingComponents" : true - }, - "mp-toutiao" : { - "usingComponents" : true - }, - "mp-qq" : { - "usingComponents" : true - }, - "h5" : { - "optimization" : { - "treeShaking" : { - "enable" : false - } - }, - "router" : { - "mode" : "hash", - "base" : "/nwp" - } + /* SDK配置 */ + "usingComponents": true + }, + "quickapp": {}, + /* 快应用特有相关 */ + "mp-weixin": { + /* 小程序特有相关 */ + "usingComponents": true, + "appid": "", + "setting": { + "urlCheck": true } + }, + "mp-alipay": { + "usingComponents": true + }, + "mp-baidu": { + "usingComponents": true + }, + "mp-toutiao": { + "usingComponents": true + }, + "mp-qq": { + "usingComponents": true + }, + "h5": { + "optimization": { + "treeShaking": { + "enable": false + } + }, + "router": { + "mode": "hash", + "base": "/nwp" + } + } } diff --git a/src/pages/raw/warehouse/rowInventory/index.vue b/src/pages/raw/warehouse/rowInventory/index.vue index 8db8652..9c37856 100644 --- a/src/pages/raw/warehouse/rowInventory/index.vue +++ b/src/pages/raw/warehouse/rowInventory/index.vue @@ -92,8 +92,8 @@ export default class rawMaterialInventory extends BasePage { return; } await this.model.rawMaterialInventoryCheckRaw(this.pddNo); - this.allNum = 0; if (this.model.InventoryList.length != 0) { + this.allNum = 0; this.model.InventoryList.forEach((item: any) => { this.allNum += parseFloat(item.spQty); });