From a761ecbeba2f578fc4f291ac8d06b18ec369de12 Mon Sep 17 00:00:00 2001 From: admin <> Date: Mon, 20 May 2024 16:30:44 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E4=BC=98=E5=8C=96=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 22 ++- src/components/Modal/smallModal.vue | 4 +- src/manifest.json | 171 ++++++++++-------- src/pagesApp/components/FilterDialog.vue | 4 +- src/pagesApp/components/addCustomer.vue | 70 +++++-- src/pagesApp/components/addSupplier.vue | 74 ++++++-- src/pagesApp/receiveDetail.vue | 24 ++- src/pagesApp/receiveType.vue | 2 +- src/pagesApp/shipmentDetail.vue | 34 +++- src/pagesLaunch/index.vue | 21 ++- .../login/components/loginLayout.vue | 12 +- src/pagesLogin/login/forgetPwd.vue | 2 +- src/pagesShipment/form/settlementForm.vue | 1 - 13 files changed, 296 insertions(+), 145 deletions(-) diff --git a/src/App.vue b/src/App.vue index 4ffe428..f87f79c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,7 +1,19 @@ diff --git a/src/components/Modal/smallModal.vue b/src/components/Modal/smallModal.vue index 38789ef..b77b1f3 100644 --- a/src/components/Modal/smallModal.vue +++ b/src/components/Modal/smallModal.vue @@ -30,12 +30,14 @@ const props = withDefaults( show: false } ); -const emit = defineEmits(["handleModal", "handleOk"]); +const emit = defineEmits(["handleModal", "handleOk", "handleCancel"]); const handleClose = (v: string) => { emit("handleModal", false); if (v === 'ok') { // 走确认操作 emit("handleOk"); + } else { + emit("handleCancel") } }; diff --git a/src/manifest.json b/src/manifest.json index 1846f0b..ac5e67f 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,85 +1,96 @@ { - "name": "", - // 应用标识 由DCloud 云端分配 (安卓 ios) - "appid": "", - "description": "", - "versionName": "1.0.0", - "versionCode": "100", - "transformPx": false, - /* 5+App特有相关 */ - "app-plus": { - "usingComponents": true, - "nvueStyleCompiler": "uni-app", - "compilerVersion": 3, - "splashscreen": { - "alwaysShowBeforeRender": true, - "waiting": true, - "autoclose": true, - "delay": 0 + "name" : "在生万有", + // 应用标识 由DCloud 云端分配 (安卓 ios) + "appid" : "__UNI__898003A", + "description" : "", + "versionName" : "1.0.0", + "versionCode" : "100", + "transformPx" : false, + /* 5+App特有相关 */ + "app-plus" : { + "ignoreVersion": false, + "usingComponents" : true, + "nvueStyleCompiler" : "uni-app", + "compilerVersion" : 3, + "splashscreen" : { + "alwaysShowBeforeRender" : true, + "waiting" : true, + "autoclose" : true, + "delay" : 0 + }, + /* 模块配置 */ + "modules" : {}, + /* 应用发布信息 */ + "distribute" : { + /* android打包配置 */ + "android" : { + "permissions" : [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ] + }, + /* ios打包配置 */ + "ios" : { + "dSYMs" : false + }, + /* SDK配置 */ + "sdkConfigs" : { + "ad" : {} + }, + "icons" : { + "android" : { + "hdpi" : "/Users/admin/workspace/aifanda/project/在生万有/logo 72 x 72.png", + "xhdpi" : "/Users/admin/workspace/aifanda/project/在生万有/logo 96 x 96.png", + "xxhdpi" : "/Users/admin/workspace/aifanda/project/在生万有/logo 144 x144.png", + "xxxhdpi" : "/Users/admin/workspace/aifanda/project/在生万有/logo 192 x192.png" + } + } + } }, - /* 模块配置 */ - "modules": {}, - /* 应用发布信息 */ - "distribute": { - /* android打包配置 */ - "android": { - "permissions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ] - }, - /* ios打包配置 */ - "ios": {}, - /* SDK配置 */ - "sdkConfigs": {} - } - }, - - /* 快应用特有相关 */ - "quickapp": {}, - // h5 - "h5": { - "router": { - "base": "./" - } - }, - /* 小程序特有相关 */ - "mp-weixin": { - "appid": "wx9251d74fe0e87028", - "logoPath": "https://backend-common.obs.cn-east-3.myhuaweicloud.com/static/pagesLogin/logo-simple.png", - "setting": { - "urlCheck": false + /* 快应用特有相关 */ + "quickapp" : {}, + // h5 + "h5" : { + "router" : { + "base" : "./" + } }, - "usingComponents": true, - "optimization": { - "subPackages": true //是否启用分包优化 + /* 小程序特有相关 */ + "mp-weixin" : { + "appid" : "wx9251d74fe0e87028", + "logoPath" : "https://backend-common.obs.cn-east-3.myhuaweicloud.com/static/pagesLogin/logo-simple.png", + "setting" : { + "urlCheck" : false + }, + "usingComponents" : true, + "optimization" : { + "subPackages" : true //是否启用分包优化 + }, + "lazyCodeLoading" : "requiredComponents" }, - "lazyCodeLoading": "requiredComponents" - }, - "mp-alipay": { - "usingComponents": true - }, - "mp-baidu": { - "usingComponents": true - }, - "mp-toutiao": { - "usingComponents": true - }, - "uniStatistics": { - "enable": false - }, - "vueVersion": "3" + "mp-alipay" : { + "usingComponents" : true + }, + "mp-baidu" : { + "usingComponents" : true + }, + "mp-toutiao" : { + "usingComponents" : true + }, + "uniStatistics" : { + "enable" : false + }, + "vueVersion" : "3" } diff --git a/src/pagesApp/components/FilterDialog.vue b/src/pagesApp/components/FilterDialog.vue index 3a50357..d5299dc 100644 --- a/src/pagesApp/components/FilterDialog.vue +++ b/src/pagesApp/components/FilterDialog.vue @@ -247,8 +247,8 @@ const state = reactive({ const currentSpl = ref(null); const splBtnList = [ { key: null, name: "全部" }, - { key: false, name: "手工补单" }, - { key: true, name: "系统单" }, + { key: true, name: "手工补单" }, + { key: false, name: "系统单" }, ]; const deliveryMethod = ref(null); const deliveryMethodBtnList = [ diff --git a/src/pagesApp/components/addCustomer.vue b/src/pagesApp/components/addCustomer.vue index 62c81d8..f312323 100644 --- a/src/pagesApp/components/addCustomer.vue +++ b/src/pagesApp/components/addCustomer.vue @@ -32,7 +32,9 @@ :customStyle="{}" border="none" :disabled="item.type === 'select'" - :disabledColor="['卡号'].indexOf(item.name) > -1?'#ffffff':'#f5f7fa'" + :disabledColor=" + ['卡号'].indexOf(item.name) > -1 ? '#ffffff' : '#f5f7fa' + " @clear="handleClear(item)" >