From 6050eb4df544a42d2d2a470b98ad4c88a4ba47d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98937886381=E2=80=99?= <‘937886381@qq.com’> Date: Fri, 12 Apr 2024 14:27:51 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.dev | 6 +- .../processEquMaterialBom/add-or-updata.vue | 33 +++++----- .../processEquValueBom/add-or-updata.vue | 31 +++++---- .../monitoring/materielDateFrom/index.vue | 8 +-- .../monitoring/processTraceability/index.vue | 13 ++-- src/views/report/glass/inputTable.vue | 5 +- .../report/productionDayReport/index.vue | 35 +++++----- .../report/productionMonthReport/index.vue | 56 ++++++++-------- .../report/productionWeekReport/index.vue | 66 ++++++++++--------- .../report/productionYearReport/index.vue | 66 ++++++++++--------- 10 files changed, 165 insertions(+), 154 deletions(-) diff --git a/.env.dev b/.env.dev index 882a92fe..a2f4be87 100644 --- a/.env.dev +++ b/.env.dev @@ -1,7 +1,7 @@ ### # @Author: Do not edit # @Date: 2023-08-29 09:40:39 - # @LastEditTime: 2024-04-10 16:58:06 + # @LastEditTime: 2024-04-12 14:13:52 # @LastEditors: zhp # @Description: ### @@ -20,11 +20,11 @@ VUE_APP_TITLE = MES系统 # VUE_APP_BASE_API = 'http://192.168.1.8:48082' # VUE_APP_BASE_API = 'http://192.168.4.173:9001' # VUE_APP_BASE_API = 'http://192.168.1.104:48082' -# VUE_APP_BASE_API = 'http://192.168.0.33:48082' +VUE_APP_BASE_API = 'http://192.168.0.33:48082' # VUE_APP_BASE_API = 'http://192.168.1.62:48082' # VUE_APP_BASE_API = 'http://192.168.1.78:48082' # VUE_APP_BASE_API = 'http://192.168.1.47:48082' -VUE_APP_BASE_API = 'http://192.168.1.78:48082' +# VUE_APP_BASE_API = 'http://192.168.1.78:48082' # socket地址 # VUE_APP_Socket_API = 'ws://10.70.2.2:8080' # VUE_APP_Socket_Dcs_API = 'ws://10.70.180.10:8081' diff --git a/src/views/extend/processEquMaterialBom/add-or-updata.vue b/src/views/extend/processEquMaterialBom/add-or-updata.vue index 19134792..b53d1dce 100644 --- a/src/views/extend/processEquMaterialBom/add-or-updata.vue +++ b/src/views/extend/processEquMaterialBom/add-or-updata.vue @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2021-11-18 14:16:25 * @LastEditors: zhp - * @LastEditTime: 2024-04-11 13:35:46 + * @LastEditTime: 2024-04-12 14:26:22 * @Description: --> diff --git a/src/views/report/productionYearReport/index.vue b/src/views/report/productionYearReport/index.vue index baafb129..6f4f47e9 100644 --- a/src/views/report/productionYearReport/index.vue +++ b/src/views/report/productionYearReport/index.vue @@ -1,7 +1,7 @@ @@ -14,15 +14,17 @@ style="width: 350px" placeholder="选择年"> - 查询 + + 查询 - 导出 - 编辑 + 编辑 返回 保存 @@ -55,11 +57,11 @@ @@ -83,11 +85,11 @@ {{ scope.row.goodProductTrend && scope.row.goodProductTrend != 0 ? - parseFloat((scope.row.goodProductTrend * 100).toFixed(2)) + '%' : scope.row.goodProductTrend == - 0 ? - 0 : - null - }} + parseFloat((scope.row.goodProductTrend * 100).toFixed(2)) + '%' : scope.row.goodProductTrend == + 0 ? + 0 : + null + }} @@ -96,8 +98,8 @@ @@ -105,8 +107,8 @@ @@ -115,11 +117,11 @@ {{ scope.row.missCheckTrend && scope.row.missCheckTrend != 0 ? - parseFloat((scope.row.missCheckTrend * 100).toFixed(2)) + '%' : scope.row.missCheckTrend == - 0 ? - 0 : - null - }} + parseFloat((scope.row.missCheckTrend * 100).toFixed(2)) + '%' : scope.row.missCheckTrend == + 0 ? + 0 : + null + }} @@ -129,8 +131,8 @@ {{ scope.row.goodProductPassNow ? parseFloat((scope.row.goodProductPassNow * - 100).toFixed(2)) + - '%' : null }} + 100).toFixed(2)) + + '%' : null }} @@ -139,8 +141,8 @@ {{ scope.row.goodProductPassHis ? parseFloat((scope.row.goodProductPassHis * - 100).toFixed(2)) + - '%' : null }} + 100).toFixed(2)) + + '%' : null }} @@ -149,11 +151,11 @@ {{ scope.row.goodProductPassTrend && scope.row.goodProductPassTrend != 0 ? - parseFloat((scope.row.goodProductPassTrend * 100).toFixed(2)) + '%' : scope.row.goodProductPassTrend == - 0 ? - 0 : - null - }} + parseFloat((scope.row.goodProductPassTrend * 100).toFixed(2)) + '%' : scope.row.goodProductPassTrend == + 0 ? + 0 : + null + }} -- 2.45.2 From 2a599d96b3a4f33527b2554141e89106bbb9ccbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98937886381=E2=80=99?= <‘937886381@qq.com’> Date: Fri, 12 Apr 2024 14:30:11 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../processEquMaterialBom/add-or-updata.vue | 17 +++++++-------- .../processEquValueBom/add-or-updata.vue | 21 ++++++++----------- 2 files changed, 17 insertions(+), 21 deletions(-) diff --git a/src/views/extend/processEquMaterialBom/add-or-updata.vue b/src/views/extend/processEquMaterialBom/add-or-updata.vue index b53d1dce..97b4d05e 100644 --- a/src/views/extend/processEquMaterialBom/add-or-updata.vue +++ b/src/views/extend/processEquMaterialBom/add-or-updata.vue @@ -123,14 +123,6 @@ const tableProps = [ label: '备注', }, ]; - -const topBtnConfig = [ - { - type: 'add', - btnName: 'btn.add' - } -] - export default { mixins: [basicAdd], components: { SmallTitle, attrAdd }, @@ -153,7 +145,14 @@ export default { }, ], tableProps, - topBtnConfig, + topBtnConfig:[ + { + type: this.$auth.hasPermi('extend:process-equ-material-bom-det:add') + ? 'add' + : '', + btnName: 'btn.add' + } + ], addOrUpdateVisible: false, urlOptions: { isGetCode: false, diff --git a/src/views/extend/processEquValueBom/add-or-updata.vue b/src/views/extend/processEquValueBom/add-or-updata.vue index a7c8cacc..275171ab 100644 --- a/src/views/extend/processEquValueBom/add-or-updata.vue +++ b/src/views/extend/processEquValueBom/add-or-updata.vue @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2021-11-18 14:16:25 * @LastEditors: zhp - * @LastEditTime: 2024-04-12 14:27:07 + * @LastEditTime: 2024-04-12 14:28:44 * @Description: -->