From 7a67da105f04171cc98d55690cb871a2ded417f4 Mon Sep 17 00:00:00 2001 From: helloDy <1615073571@qq.com> Date: Thu, 20 Jun 2024 16:54:14 +0800 Subject: [PATCH] bug --- .env.dev | 2 +- src/views/produce/data/index.vue | 4 ++-- src/views/produce/target/index.vue | 27 +++++++++++++-------------- 3 files changed, 16 insertions(+), 17 deletions(-) diff --git a/.env.dev b/.env.dev index f6c259c..5b6262d 100644 --- a/.env.dev +++ b/.env.dev @@ -1,7 +1,7 @@ ### # @Author: zhp # @Date: 2024-04-28 13:42:51 - # @LastEditTime: 2024-06-19 16:05:46 + # @LastEditTime: 2024-06-20 10:16:40 # @LastEditors: DY # @Description: ### diff --git a/src/views/produce/data/index.vue b/src/views/produce/data/index.vue index 8b9fdd9..f3a6387 100644 --- a/src/views/produce/data/index.vue +++ b/src/views/produce/data/index.vue @@ -1,7 +1,7 @@ @@ -234,7 +234,7 @@ export default { { prop: 'goodRatio', label: '良品率%', - filter: (val) => (val * 100) + '%' + filter: (val) => val + '%' }, ], tableData: [], diff --git a/src/views/produce/target/index.vue b/src/views/produce/target/index.vue index 5d09d83..3ed729c 100644 --- a/src/views/produce/target/index.vue +++ b/src/views/produce/target/index.vue @@ -1,7 +1,7 @@ @@ -144,7 +144,6 @@ import { parseTime } from '@/utils/ruoyi'; import { prodTargetDiPage, prodTargetToPage, exportDiTargetExcel, exportToTargetExcel, delTarget, importToTarget, importDiTarget } from '@/api/produceData'; // import inputTable from './inputTable.vue'; -import lineChart from './lineChart'; import moment from 'moment' import ButtonNav from '@/components/ButtonNav' import basicPage from '@/mixins/basic-page' @@ -157,7 +156,7 @@ import {getBaseHeader} from "@/utils/request"; // import FileSaver from 'file-saver' // import * as XLSX from 'xlsx' export default { - components: { lineChart, ButtonNav, detailOrUpdate, addOrUpdate }, + components: { ButtonNav, detailOrUpdate, addOrUpdate }, mixins: [basicPage], data() { return { @@ -414,12 +413,12 @@ export default { }, ], // timeSelect:'month', - startTimeStamp:null, //开始时间 - endTimeStamp:null, //结束时间 + // startTimeStamp:null, //开始时间 + // endTimeStamp:null, //结束时间 // date:'凯盛玻璃控股成员企业2024生产数据', // reportTime: '', - startTimeStamp: '', - endTimeStamp: '', + // startTimeStamp: '', + // endTimeStamp: '', tableData: [], facType: 0 // proLineList: [], @@ -458,13 +457,13 @@ export default { this.changeTime() }, methods: { - clearTime() { - this.listQuery.beginTime = undefined - this.listQuery.endTime = undefined - this.listQuery.reportTime = [] - this.start = undefined - this.end = undefined - }, + clearTime() { + this.listQuery.beginTime = undefined + this.listQuery.endTime = undefined + this.listQuery.reportTime = [] + this.start = undefined + this.end = undefined + }, handleImport() { this.upload.title = "生产目标导入"; this.upload.open = true;