diff --git a/src/api/environmental/environmentalLog.js b/src/api/environmental/environmentalLog.js
index 0709f7bc..9dfae29e 100644
--- a/src/api/environmental/environmentalLog.js
+++ b/src/api/environmental/environmentalLog.js
@@ -8,3 +8,12 @@ export function getCostEnviHisPage(query) {
params: query
})
}
+
+// 获得余热发电page
+export function yurepage(query) {
+ return request({
+ url: '/base/energy-quantity-day/yurepage',
+ method: 'get',
+ params: query
+ })
+}
diff --git a/src/mixins/basic-page.js b/src/mixins/basic-page.js
index 549a15a6..46218a24 100644
--- a/src/mixins/basic-page.js
+++ b/src/mixins/basic-page.js
@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2022-08-24 11:19:43
* @LastEditors: zwq
- * @LastEditTime: 2024-04-02 09:33:29
+ * @LastEditTime: 2025-02-21 13:18:46
* @Description:
*/
export default {
@@ -16,7 +16,7 @@ export default {
},
tableData: [], //table数据
listQuery: { //分页
- pageSize: 10,
+ pageSize: 20,
pageNo: 1,
total: 1,
},
diff --git a/src/views/Environmental/Envi-yure-log.vue b/src/views/Environmental/Envi-yure-log.vue
new file mode 100644
index 00000000..04031881
--- /dev/null
+++ b/src/views/Environmental/Envi-yure-log.vue
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
diff --git a/src/views/Environmental/Environmental-log.vue b/src/views/Environmental/Environmental-log.vue
index 26a12f5d..4710e14c 100644
--- a/src/views/Environmental/Environmental-log.vue
+++ b/src/views/Environmental/Environmental-log.vue
@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2024-11-13 14:01:16
* @LastEditors: zwq
- * @LastEditTime: 2024-11-13 15:36:35
+ * @LastEditTime: 2025-02-21 14:31:00
* @Description:
-->
@@ -40,7 +40,6 @@ const tableProps = [
prop: 'recTime',
label: '记录时间',
filter: parseTime,
- minWidth: 150,
},
{
prop: 'remark',
@@ -49,14 +48,17 @@ const tableProps = [
{
prop: 'envi1',
label: '二氧化硫mg/Nm3',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
{
prop: 'envi2',
label: '氮氧化物mg/Nm3',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
{
prop: 'envi3',
label: '粉尘mg/Nm3',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
];
export default {
@@ -101,15 +103,19 @@ export default {
const start = new Date();
this.listQuery.startTime = parseTime(start).substr(0, 10) + ' 00:00:00';
this.listQuery.endTime = parseTime(end).substr(0, 10) + ' 23:59:59';
- this.formConfig[0].startPlaceholder = parseTime(start).substr(0, 10);
- this.formConfig[0].endPlaceholder = parseTime(end).substr(0, 10);
+ this.$nextTick(() => {
+ this.$refs.searchBarForm.formInline.searchTime = [
+ this.listQuery.startTime,
+ this.listQuery.endTime,
+ ];
+ });
},
methods: {
buttonClick(val) {
switch (val.btnName) {
case 'search':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.statisticType = 1;
this.listQuery.startTime = val.searchTime ? val.searchTime[0] : null;
this.listQuery.endTime = val.searchTime ? val.searchTime[1] : null;
diff --git a/src/views/base/material/index.vue b/src/views/base/material/index.vue
index edcbbd8f..8a074d7f 100644
--- a/src/views/base/material/index.vue
+++ b/src/views/base/material/index.vue
@@ -57,7 +57,6 @@ const tableProps = [
prop: 'createTime',
label: '添加时间',
filter: parseTime,
- minWidth: 150
},
{
prop: 'name',
@@ -68,6 +67,10 @@ const tableProps = [
label: '原料编码',
width: 180,
},
+ {
+ prop: 'level',
+ label: '原料等级',
+ },
{
prop: 'unit',
label: '单位',
@@ -149,7 +152,7 @@ export default {
switch (val.btnName) {
case 'search':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.name = val.name;
this.listQuery.code = val.code;
this.getDataList();
diff --git a/src/views/base/materialPricing/index.vue b/src/views/base/materialPricing/index.vue
index b460d22b..91d3cdd8 100644
--- a/src/views/base/materialPricing/index.vue
+++ b/src/views/base/materialPricing/index.vue
@@ -152,7 +152,7 @@ export default {
switch (val.btnName) {
case 'search':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.materialId = val.name;
this.getDataList();
break;
diff --git a/src/views/core/base/factory/index.vue b/src/views/core/base/factory/index.vue
index d03a3b4e..949d0290 100644
--- a/src/views/core/base/factory/index.vue
+++ b/src/views/core/base/factory/index.vue
@@ -154,7 +154,7 @@ export default {
switch (val.btnName) {
case 'search':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.name = val.name;
this.listQuery.code = val.code;
this.getDataList();
diff --git a/src/views/core/base/lineBindProduct/index.vue b/src/views/core/base/lineBindProduct/index.vue
index 3abff327..5ed6b4ed 100644
--- a/src/views/core/base/lineBindProduct/index.vue
+++ b/src/views/core/base/lineBindProduct/index.vue
@@ -85,7 +85,7 @@ export default {
switch (val.btnName) {
case 'search':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.getDataList();
break;
default:
diff --git a/src/views/core/base/lineBindProductLog/index.vue b/src/views/core/base/lineBindProductLog/index.vue
index e8a1f613..f107a2db 100644
--- a/src/views/core/base/lineBindProductLog/index.vue
+++ b/src/views/core/base/lineBindProductLog/index.vue
@@ -120,7 +120,7 @@ export default {
switch (val.btnName) {
case 'search':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.productionLineId = val.productionLineId;
this.listQuery.productId = val.productId;
this.listQuery.startTime = val.startTime;
diff --git a/src/views/core/base/product/index.vue b/src/views/core/base/product/index.vue
index 7090b1bf..bfee8af4 100644
--- a/src/views/core/base/product/index.vue
+++ b/src/views/core/base/product/index.vue
@@ -162,7 +162,7 @@ export default {
switch (val.btnName) {
case 'search':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.name = val.name;
this.listQuery.code = val.code;
this.getDataList();
diff --git a/src/views/core/base/productionLine/index.vue b/src/views/core/base/productionLine/index.vue
index 31a4fcd3..1215d78f 100644
--- a/src/views/core/base/productionLine/index.vue
+++ b/src/views/core/base/productionLine/index.vue
@@ -196,7 +196,7 @@ export default {
switch (val.btnName) {
case 'search':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.name = val.name;
this.getDataList();
break;
diff --git a/src/views/core/base/workshopSection/index.vue b/src/views/core/base/workshopSection/index.vue
index 7bc1514f..56a9cfc2 100644
--- a/src/views/core/base/workshopSection/index.vue
+++ b/src/views/core/base/workshopSection/index.vue
@@ -152,7 +152,7 @@ export default {
switch (val.btnName) {
case 'search':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.name = val.name;
this.getDataList();
break;
diff --git a/src/views/core/monitoring/auto/index.vue b/src/views/core/monitoring/auto/index.vue
index 04e9788c..8bce3732 100644
--- a/src/views/core/monitoring/auto/index.vue
+++ b/src/views/core/monitoring/auto/index.vue
@@ -309,7 +309,7 @@ export default {
switch (val.btnName) {
case 'search':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.lineId = val.line ? val.line : undefined;
this.listQuery.reportType = val.reportType ? val.reportType : undefined;
this.listQuery.reportStartTime = val.timeVal ? [new Date(val.timeVal[0]).getTime()] : undefined;
diff --git a/src/views/core/monitoring/data/index.vue b/src/views/core/monitoring/data/index.vue
index 888e2401..483547f1 100644
--- a/src/views/core/monitoring/data/index.vue
+++ b/src/views/core/monitoring/data/index.vue
@@ -263,7 +263,7 @@ export default {
switch (val.btnName) {
case 'search':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.proLineId = val.line ? val.line : undefined;
this.listQuery.startTime = val.timeVal ? new Date(val.timeVal[0]).getTime() : undefined;
this.listQuery.endTime = val.timeVal ? new Date(val.timeVal[1]).getTime() : undefined;
diff --git a/src/views/core/monitoring/sectionStatistics/index.vue b/src/views/core/monitoring/sectionStatistics/index.vue
index 9587ebf7..aa5c57dd 100644
--- a/src/views/core/monitoring/sectionStatistics/index.vue
+++ b/src/views/core/monitoring/sectionStatistics/index.vue
@@ -305,7 +305,7 @@ export default {
switch (val.btnName) {
case 'search':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.lineId = val.line ? val.line : undefined;
this.listQuery.sectionId = val.section ? val.section : undefined;
this.listQuery.reportType = val.reportType ? val.reportType : undefined;
diff --git a/src/views/core/monitoring/sectionStatisticsSearch/index.vue b/src/views/core/monitoring/sectionStatisticsSearch/index.vue
index 1fa010ee..5b8c18a7 100644
--- a/src/views/core/monitoring/sectionStatisticsSearch/index.vue
+++ b/src/views/core/monitoring/sectionStatisticsSearch/index.vue
@@ -321,7 +321,7 @@ export default {
console.log(val.timeSlot);
// this.listQuery.pageNo = 1;
- // this.listQuery.pageSize = 10;
+ // this.listQuery.pageSize = 20;
this.listQuery.proLineId = val.proLineId ? val.proLineId : undefined
this.listQuery.sectionId = val.sectionId ? val.sectionId : undefined
this.listQuery.startTime = val.timeSlot ? new Date(val.timeSlot[0]).getTime() : undefined
diff --git a/src/views/cost/costStatistics/index.vue b/src/views/cost/costStatistics/index.vue
index 0581442d..79345ed2 100644
--- a/src/views/cost/costStatistics/index.vue
+++ b/src/views/cost/costStatistics/index.vue
@@ -93,25 +93,30 @@ const tableProps = [
{
prop: 'originArea',
label: '原片下片面积',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
{
prop: 'deepArea',
label: '深加工下片面积',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
{
prop: 'originPrice',
label: '原片成本/元',
align: 'right',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
{
prop: 'deepPrice',
label: '深加工成本/元',
align: 'right',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
{
prop: 'price',
label: '总成本/元',
align: 'right',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
];
const tableProps2 = [
@@ -256,7 +261,7 @@ export default {
switch (val.btnName) {
case 'search':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.bindObjectId = val.name || null;
this.listQuery.statisticType = val.statisticType || 1;
this.listQuery.startTime = val.searchTime ? val.searchTime[0] : null;
@@ -274,7 +279,7 @@ export default {
break;
case 'export':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.bindObjectId = val.name || null;
this.listQuery.statisticType = val.statisticType || 1;
this.listQuery.startTime = val.searchTime ? val.searchTime[0] : null;
diff --git a/src/views/cost/deep/24hourCostMonitor/index.vue b/src/views/cost/deep/24hourCostMonitor/index.vue
index 5210f68b..6fbb11fc 100644
--- a/src/views/cost/deep/24hourCostMonitor/index.vue
+++ b/src/views/cost/deep/24hourCostMonitor/index.vue
@@ -77,7 +77,7 @@ export default {
switch (val.btnName) {
case 'search':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.name = val.name||null;
this.listQuery.startTime = val.searchTime ? val.searchTime[0] : null;
this.listQuery.endTime = val.searchTime
@@ -90,7 +90,7 @@ export default {
break;
case 'export':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.name = val.name;
this.listQuery.recTime = val.searchTime;
this.handleExport();
diff --git a/src/views/cost/deep/costDeepEnergy/index.vue b/src/views/cost/deep/costDeepEnergy/index.vue
index 0d9fd475..9a493e4f 100644
--- a/src/views/cost/deep/costDeepEnergy/index.vue
+++ b/src/views/cost/deep/costDeepEnergy/index.vue
@@ -283,7 +283,7 @@ export default {
switch (val.btnName) {
case 'search':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.energyTypeId = val.name || null;
this.listQuery.statisticType = val.statisticType || 1;
this.listQuery.startTime = val.searchTime ? val.searchTime[0] : null;
@@ -302,7 +302,7 @@ export default {
break;
case 'export':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.energyTypeId = val.name || null;
this.listQuery.statisticType = val.statisticType || 1;
this.listQuery.startTime = val.searchTime ? val.searchTime[0] : null;
diff --git a/src/views/cost/deep/costDeepOthercostHis/index.vue b/src/views/cost/deep/costDeepOthercostHis/index.vue
index 7726da3e..68370cda 100644
--- a/src/views/cost/deep/costDeepOthercostHis/index.vue
+++ b/src/views/cost/deep/costDeepOthercostHis/index.vue
@@ -103,13 +103,14 @@ const tableProps = [
prop: 'price',
label: '总价(元)',
align: 'right',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
];
const tableProps2 = [
- {
- prop: 'remark',
- label: '备注',
- },
+ // {
+ // prop: 'remark',
+ // label: '备注',
+ // },
{
prop: 'otherCostName',
label: '成本名称',
@@ -118,6 +119,7 @@ const tableProps2 = [
prop: 'price',
label: '总价(元)',
align: 'right',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
];
export default {
@@ -258,7 +260,7 @@ export default {
switch (val.btnName) {
case 'search':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.name = val.name || null;
this.listQuery.statisticType = val.statisticType || 1;
this.listQuery.startTime = val.searchTime ? val.searchTime[0] : null;
@@ -279,7 +281,7 @@ export default {
break;
case 'export':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.name = val.name || null;
this.listQuery.statisticType = val.statisticType || 1;
this.listQuery.startTime = val.searchTime ? val.searchTime[0] : null;
diff --git a/src/views/cost/deep/costDeepOthercostLog/index.vue b/src/views/cost/deep/costDeepOthercostLog/index.vue
index 0e41f5f7..d8b76d4c 100644
--- a/src/views/cost/deep/costDeepOthercostLog/index.vue
+++ b/src/views/cost/deep/costDeepOthercostLog/index.vue
@@ -65,6 +65,7 @@ const tableProps = [
prop: 'price',
label: '成本金额',
align: 'right',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
{
prop: 'remark',
@@ -161,7 +162,7 @@ export default {
switch (val.btnName) {
case 'search':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.name = val.name||null;
this.listQuery.startTime = val.searchTime ? val.searchTime[0] : null;
this.listQuery.endTime = val.searchTime
@@ -174,7 +175,7 @@ export default {
break;
case 'export':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.name = val.name||null;
this.listQuery.startTime = val.searchTime ? val.searchTime[0] : null;
this.listQuery.endTime = val.searchTime
diff --git a/src/views/cost/deep/costDeepRatioHis/index.vue b/src/views/cost/deep/costDeepRatioHis/index.vue
index 9bdf4e4c..f83e5c64 100644
--- a/src/views/cost/deep/costDeepRatioHis/index.vue
+++ b/src/views/cost/deep/costDeepRatioHis/index.vue
@@ -104,15 +104,17 @@ const tableProps = [
{
prop: 'innum',
label: '上片数量',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
{
prop: 'outnum',
label: '下片数量',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
{
prop: 'ratio',
label: '良品率',
- filter: (val) => (val ? val * 100 + '%' : '-'),
+ filter: (val) => (val ? Number(val * 100).toFixed(2) + '%' : '-'),
},
];
const tableProps2 = [
@@ -136,15 +138,17 @@ const tableProps2 = [
{
prop: 'innum',
label: '进片数量',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
{
prop: 'outnum',
label: '出片数量',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
{
prop: 'ratio',
label: '良品率',
- filter: (val) => (val ? val * 100 + '%' : '-'),
+ filter: (val) => (val ? Number(val * 100).toFixed(2) + '%' : '-'),
},
];
export default {
@@ -245,7 +249,7 @@ export default {
switch (val.btnName) {
case 'search':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.productionLineId = val.name || null;
this.listQuery.statisticType = val.statisticType || 1;
this.listQuery.startTime = val.searchTime ? val.searchTime[0] : null;
@@ -263,7 +267,7 @@ export default {
break;
case 'export':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.productionLineId = val.name || null;
this.listQuery.statisticType = val.statisticType || 1;
this.listQuery.startTime = val.searchTime ? val.searchTime[0] : null;
diff --git a/src/views/cost/deep/costStatistics/index.vue b/src/views/cost/deep/costStatistics/index.vue
index 3d5a04cc..ccdfcd79 100644
--- a/src/views/cost/deep/costStatistics/index.vue
+++ b/src/views/cost/deep/costStatistics/index.vue
@@ -106,30 +106,35 @@ const tableProps = [
{
prop: 'inCount',
label: '上片数量',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
{
prop: 'outCount',
label: '下片数量',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
{
prop: 'ratio',
label: '良品率',
- filter: (val) => (val ? val * 100 + '%' : '-'),
+ filter: (val) => (val ? Number(val * 100).toFixed(2) + '%' : '-'),
},
{
prop: 'costSum',
label: '深加工成本/元',
align: 'right',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
{
prop: 'costPiece',
label: '单片成本/元',
align: 'right',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
{
prop: 'costArea',
label: '每平米成本/元',
align: 'right',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
];
const tableProps2 = [
@@ -148,30 +153,35 @@ const tableProps2 = [
{
prop: 'inCount',
label: '上片数量',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
{
prop: 'outCount',
label: '下片数量',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
{
prop: 'ratio',
label: '良品率',
- filter: (val) => (val ? val * 100 + '%' : '-'),
+ filter: (val) => (val ? Number(val * 100).toFixed(2) + '%' : '-'),
},
{
prop: 'costSum',
label: '深加工成本/元',
align: 'right',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
{
prop: 'costPiece',
label: '单片成本/元',
align: 'right',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
{
prop: 'costArea',
label: '每平米成本/元',
align: 'right',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
];
export default {
@@ -309,7 +319,7 @@ export default {
switch (val.btnName) {
case 'search':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.bindObjectId = val.name || null;
this.listQuery.statisticType = val.statisticType || 1;
this.listQuery.startTime = val.searchTime ? val.searchTime[0] : null;
@@ -330,7 +340,7 @@ export default {
break;
case 'export':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.bindObjectId = val.name || null;
this.listQuery.statisticType = val.statisticType || 1;
this.listQuery.startTime = val.searchTime ? val.searchTime[0] : null;
diff --git a/src/views/cost/indexDetail.vue b/src/views/cost/indexDetail.vue
index b3f37cc4..3d469aaa 100644
--- a/src/views/cost/indexDetail.vue
+++ b/src/views/cost/indexDetail.vue
@@ -45,14 +45,8 @@ const tableProps1 = [
],
},
{
- prop: 'f2',
+ prop: 'sprice',
label: '单位成本',
- children: [
- {
- prop: 'sprice',
- label: '本月',
- },
- ],
},
];
@@ -74,14 +68,8 @@ const tableProps2 = [
label: '总成本',
},
{
- prop: 'f2',
+ prop: 'sprice',
label: '综合单位成本',
- children: [
- {
- prop: 'sprice',
- label: '本月',
- },
- ],
},
];
export default {
diff --git a/src/views/cost/raw/24hourCostMonitor/index.vue b/src/views/cost/raw/24hourCostMonitor/index.vue
index 5210f68b..6fbb11fc 100644
--- a/src/views/cost/raw/24hourCostMonitor/index.vue
+++ b/src/views/cost/raw/24hourCostMonitor/index.vue
@@ -77,7 +77,7 @@ export default {
switch (val.btnName) {
case 'search':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.name = val.name||null;
this.listQuery.startTime = val.searchTime ? val.searchTime[0] : null;
this.listQuery.endTime = val.searchTime
@@ -90,7 +90,7 @@ export default {
break;
case 'export':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.name = val.name;
this.listQuery.recTime = val.searchTime;
this.handleExport();
diff --git a/src/views/cost/raw/costEnergy/index.vue b/src/views/cost/raw/costEnergy/index.vue
index 8c4260ec..5d8b7628 100644
--- a/src/views/cost/raw/costEnergy/index.vue
+++ b/src/views/cost/raw/costEnergy/index.vue
@@ -282,7 +282,7 @@ export default {
switch (val.btnName) {
case 'search':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.energyTypeId = val.name || null;
this.listQuery.statisticType = val.statisticType || 1;
this.listQuery.startTime = val.searchTime ? val.searchTime[0] : null;
@@ -301,7 +301,7 @@ export default {
break;
case 'export':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.energyTypeId = val.name || null;
this.listQuery.statisticType = val.statisticType || 1;
this.listQuery.startTime = val.searchTime ? val.searchTime[0] : null;
diff --git a/src/views/cost/raw/costMaterial/index.vue b/src/views/cost/raw/costMaterial/index.vue
index 6a68f686..5bc8dba7 100644
--- a/src/views/cost/raw/costMaterial/index.vue
+++ b/src/views/cost/raw/costMaterial/index.vue
@@ -115,10 +115,10 @@ const tableProps = [
},
];
const tableProps2 = [
- {
- prop: 'remark',
- label: '备注',
- },
+ // {
+ // prop: 'remark',
+ // label: '备注',
+ // },
{
prop: 'materialName',
label: '原料名称',
@@ -279,7 +279,7 @@ export default {
switch (val.btnName) {
case 'search':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.materialId = val.name || null;
this.listQuery.statisticType = val.statisticType || 1;
this.listQuery.startTime = val.searchTime ? val.searchTime[0] : null;
@@ -300,7 +300,7 @@ export default {
break;
case 'export':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.materialId = val.name || null;
this.listQuery.statisticType = val.statisticType || 1;
this.listQuery.startTime = val.searchTime ? val.searchTime[0] : null;
diff --git a/src/views/cost/raw/costOriginRatioHis/index.vue b/src/views/cost/raw/costOriginRatioHis/index.vue
index f243e248..31bb42e0 100644
--- a/src/views/cost/raw/costOriginRatioHis/index.vue
+++ b/src/views/cost/raw/costOriginRatioHis/index.vue
@@ -66,27 +66,32 @@ const tableProps = [
{
prop: 'thick',
label: '厚度',
+ filter: (val) => (val != null ? Number(val).toFixed(1) : '-'),
},
{
prop: 'speed',
label: '在线速度',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
{
prop: 'width',
label: '掰边宽度',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
{
prop: 'inArea',
label: '拉引量/m²',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
{
prop: 'outArea',
label: '下片面积/m²',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
{
prop: 'ratio',
label: '良品率',
- filter: (val) => (val ? val * 100 + '%' : '-'),
+ filter: (val) => (val ? Number(val * 100).toFixed(2) + '%' : '-'),
},
];
export default {
@@ -181,7 +186,7 @@ export default {
switch (val.btnName) {
case 'search':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.bindObjectId = val.name || null;
this.listQuery.statisticType = val.statisticType || 1;
this.listQuery.startTime = val.searchTime ? val.searchTime[0] : null;
@@ -195,7 +200,7 @@ export default {
break;
case 'export':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.bindObjectId = val.name || null;
this.listQuery.statisticType = val.statisticType || 1;
this.listQuery.startTime = val.searchTime ? val.searchTime[0] : null;
diff --git a/src/views/cost/raw/costOthercostHis/index.vue b/src/views/cost/raw/costOthercostHis/index.vue
index 988e21f1..d8be184a 100644
--- a/src/views/cost/raw/costOthercostHis/index.vue
+++ b/src/views/cost/raw/costOthercostHis/index.vue
@@ -106,10 +106,10 @@ const tableProps = [
},
];
const tableProps2 = [
- {
- prop: 'remark',
- label: '备注',
- },
+ // {
+ // prop: 'remark',
+ // label: '备注',
+ // },
{
prop: 'otherCostName',
label: '成本名称',
@@ -258,7 +258,7 @@ export default {
switch (val.btnName) {
case 'search':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.name = val.name || null;
this.listQuery.statisticType = val.statisticType || 1;
this.listQuery.startTime = val.searchTime ? val.searchTime[0] : null;
@@ -279,7 +279,7 @@ export default {
break;
case 'export':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.name = val.name || null;
this.listQuery.statisticType = val.statisticType || 1;
this.listQuery.startTime = val.searchTime ? val.searchTime[0] : null;
diff --git a/src/views/cost/raw/costOthercostLog/index.vue b/src/views/cost/raw/costOthercostLog/index.vue
index a15d2453..b34aae95 100644
--- a/src/views/cost/raw/costOthercostLog/index.vue
+++ b/src/views/cost/raw/costOthercostLog/index.vue
@@ -65,6 +65,7 @@ const tableProps = [
prop: 'price',
label: '成本金额',
align: 'right',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
{
prop: 'remark',
@@ -161,7 +162,7 @@ export default {
switch (val.btnName) {
case 'search':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.name = val.name||null;
this.listQuery.startTime = val.searchTime ? val.searchTime[0] : null;
this.listQuery.endTime = val.searchTime
@@ -174,7 +175,7 @@ export default {
break;
case 'export':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.name = val.name||null;
this.listQuery.startTime = val.searchTime ? val.searchTime[0] : null;
this.listQuery.endTime = val.searchTime
diff --git a/src/views/cost/raw/costStatistics/index.vue b/src/views/cost/raw/costStatistics/index.vue
index f4a889c3..bab8ea00 100644
--- a/src/views/cost/raw/costStatistics/index.vue
+++ b/src/views/cost/raw/costStatistics/index.vue
@@ -102,29 +102,34 @@ const tableProps = [
{
prop: 'thick',
label: '厚度',
+ filter: (val) => (val != null ? Number(val).toFixed(1) : '-'),
},
{
prop: 'inArea',
label: '拉引量/m²',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
{
prop: 'outArea',
label: '下片面积/m²',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
{
prop: 'ratio',
label: '良品率',
- filter: (val) => (val ? val * 100 + '%' : '-'),
+ filter: (val) => (val ? Number(val * 100).toFixed(2) + '%' : '-'),
},
{
prop: 'costSum',
label: '原片成本/元',
align: 'right',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
{
prop: 'costArea',
label: '每平米成本/元',
align: 'right',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
];
const tableProps2 = [
@@ -143,34 +148,40 @@ const tableProps2 = [
{
prop: 'inArea',
label: '拉引量/m²',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
{
prop: 'outArea',
label: '下片面积/m²',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
{
prop: 'outCount',
label: '下片数量',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
{
prop: 'ratio',
label: '良品率',
- filter: (val) => (val ? val * 100 + '%' : '-'),
+ filter: (val) => (val ? Number(val * 100).toFixed(2) + '%' : '-'),
},
{
prop: 'costSum',
label: '原片成本/元',
align: 'right',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
{
prop: 'costPiece',
label: '单片成本/元',
align: 'right',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
{
prop: 'costArea',
label: '每平米成本/元',
align: 'right',
+ filter: (val) => (val != null ? Number(val).toFixed(2) : '-'),
},
];
export default {
@@ -308,7 +319,7 @@ export default {
switch (val.btnName) {
case 'search':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.bindObjectId = val.name || null;
this.listQuery.statisticType = val.statisticType || 1;
this.listQuery.startTime = val.searchTime ? val.searchTime[0] : null;
@@ -329,7 +340,7 @@ export default {
break;
case 'export':
this.listQuery.pageNo = 1;
- this.listQuery.pageSize = 10;
+ this.listQuery.pageSize = 20;
this.listQuery.bindObjectId = val.name || null;
this.listQuery.statisticType = val.statisticType || 1;
this.listQuery.startTime = val.searchTime ? val.searchTime[0] : null;
diff --git a/src/views/energy/base/energyType/components/energyTypeAdd.vue b/src/views/energy/base/energyType/components/energyTypeAdd.vue
index 1ad4f753..ec193bcc 100644
--- a/src/views/energy/base/energyType/components/energyTypeAdd.vue
+++ b/src/views/energy/base/energyType/components/energyTypeAdd.vue
@@ -30,7 +30,7 @@
-
+
diff --git a/src/views/login.vue b/src/views/login.vue
index 0158efa0..15fcee01 100644
--- a/src/views/login.vue
+++ b/src/views/login.vue
@@ -108,14 +108,14 @@
-