From 93fea84c7927a5a8cfcf6e2570dec21ee378c8e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98937886381=E2=80=99?= <‘937886381@qq.com’> Date: Sun, 7 Apr 2024 16:07:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/OperationalOverview/coldBoard.vue | 8 ++++---- .../base/basicData/qualityInspectionBoxBtn/index.vue | 4 +++- .../basicData/qualityInspectionBoxPermissions/index.vue | 4 +++- src/views/quality/base/qualityInspectionDet/index.vue | 4 +++- src/views/quality/base/qualityInspectionType/index.vue | 4 +++- src/views/quality/base/qualityIsra/index.vue | 2 +- src/views/quality/base/qualityScrapDet/index.vue | 2 +- src/views/quality/base/qualityScrapType/index.vue | 2 +- 8 files changed, 19 insertions(+), 11 deletions(-) diff --git a/src/views/OperationalOverview/coldBoard.vue b/src/views/OperationalOverview/coldBoard.vue index 550cc449..c8a8ab75 100644 --- a/src/views/OperationalOverview/coldBoard.vue +++ b/src/views/OperationalOverview/coldBoard.vue @@ -1,7 +1,7 @@ @@ -418,7 +418,7 @@ export default { // yield:ele.yield // }) sumAreaList.push(ele.sumArea) - yieldList.push((ele.yield * 100).toFixed(3)) + yieldList.push((ele.yield * 100).toFixed(0)) }) this.$nextTick(() => { this.$refs.productChart.initChart(nameList, yieldList, sumAreaList) @@ -625,8 +625,8 @@ export default { `${this.getSize(item.size) || ''}`, `${this.NumFormat(item.productArea) + '㎡' || ''}`, `${this.NumFormat(item.wasteArea) + '㎡' || ''}`, - `
- ` + ` + ` ]) this.cutConfig.data = cutArr // this.$nextTick(() => { diff --git a/src/views/quality/base/basicData/qualityInspectionBoxBtn/index.vue b/src/views/quality/base/basicData/qualityInspectionBoxBtn/index.vue index 5d09dc15..da6b5f5a 100644 --- a/src/views/quality/base/basicData/qualityInspectionBoxBtn/index.vue +++ b/src/views/quality/base/basicData/qualityInspectionBoxBtn/index.vue @@ -54,7 +54,9 @@ export default { param: 'inspectionDetContent', }, { - type: 'button', + type: this.$auth.hasPermi('base:quality-inspection-box-btn:query') + ? 'button' + : '', btnName: '查询', name: 'search', color: 'primary', diff --git a/src/views/quality/base/basicData/qualityInspectionBoxPermissions/index.vue b/src/views/quality/base/basicData/qualityInspectionBoxPermissions/index.vue index b4eb6d7a..5426dd16 100644 --- a/src/views/quality/base/basicData/qualityInspectionBoxPermissions/index.vue +++ b/src/views/quality/base/basicData/qualityInspectionBoxPermissions/index.vue @@ -66,7 +66,9 @@ export default { param: 'nickName', }, { - type: 'button', + type: this.$auth.hasPermi('base:quality-inspection-box-permissions:query') + ? 'button' + : '', btnName: '查询', name: 'search', color: 'primary', diff --git a/src/views/quality/base/qualityInspectionDet/index.vue b/src/views/quality/base/qualityInspectionDet/index.vue index 5be62028..86839e68 100644 --- a/src/views/quality/base/qualityInspectionDet/index.vue +++ b/src/views/quality/base/qualityInspectionDet/index.vue @@ -92,7 +92,9 @@ export default { // width: 350, // }, { - type: 'button', + type: this.$auth.hasPermi('base:quality-inspection-det:query') + ? 'button' + : '', btnName: '查询', name: 'search', color: 'primary', diff --git a/src/views/quality/base/qualityInspectionType/index.vue b/src/views/quality/base/qualityInspectionType/index.vue index 7c091954..712b3040 100644 --- a/src/views/quality/base/qualityInspectionType/index.vue +++ b/src/views/quality/base/qualityInspectionType/index.vue @@ -134,7 +134,9 @@ export default { param: 'name', }, { - type: 'button', + type: this.$auth.hasPermi('base:quality-inspection-type:query') + ? 'button' + : '', btnName: '查询', name: 'search', color: 'primary', diff --git a/src/views/quality/base/qualityIsra/index.vue b/src/views/quality/base/qualityIsra/index.vue index 32ab33ee..92ad1aa4 100644 --- a/src/views/quality/base/qualityIsra/index.vue +++ b/src/views/quality/base/qualityIsra/index.vue @@ -131,7 +131,7 @@ export default { // width: 350, }, { - type: 'button', + type: this.$auth.hasPermi(' base: quality - isra - statistics: query') ? 'button' : '', btnName: '查询', name: 'search', color: 'primary', diff --git a/src/views/quality/base/qualityScrapDet/index.vue b/src/views/quality/base/qualityScrapDet/index.vue index cfd203b6..b20ac673 100644 --- a/src/views/quality/base/qualityScrapDet/index.vue +++ b/src/views/quality/base/qualityScrapDet/index.vue @@ -92,7 +92,7 @@ export default { filterable: true }, { - type: 'button', + type: this.$auth.hasPermi('base:quality-scrap-det:query') ? 'button' : '', btnName: '查询', name: 'search', color: 'primary', diff --git a/src/views/quality/base/qualityScrapType/index.vue b/src/views/quality/base/qualityScrapType/index.vue index 7e608a0d..9d5a30a7 100644 --- a/src/views/quality/base/qualityScrapType/index.vue +++ b/src/views/quality/base/qualityScrapType/index.vue @@ -82,7 +82,7 @@ export default { param: 'name', }, { - type: 'button', + type: this.$auth.hasPermi('base:quality-scrap-type:query') ? 'button' : '', btnName: '查询', name: 'search', color: 'primary',