预算和指标填报上传样式修改
This commit is contained in:
@@ -5,6 +5,10 @@
|
|||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||||
<meta name="renderer" content="webkit">
|
<meta name="renderer" content="webkit">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||||
|
<meta http-equiv="Expires" content="0">
|
||||||
|
<meta http-equiv="Pragma" content="no-cache">
|
||||||
|
<meta http-equiv="Cache-control" content="no-cache, no-store, must-revalidate">
|
||||||
|
<meta http-equiv="Cache" content="no-cache">
|
||||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
||||||
<title><%= webpackConfig.name %></title>
|
<title><%= webpackConfig.name %></title>
|
||||||
<!--[if lt IE 11]><script>window.location.href='html/ie.html';</script><![endif]-->
|
<!--[if lt IE 11]><script>window.location.href='html/ie.html';</script><![endif]-->
|
||||||
|
|||||||
@@ -112,6 +112,7 @@ import inputArea from './inputArea.vue' // 导入输入组件
|
|||||||
import { publicFormatter } from '@/utils/dict';
|
import { publicFormatter } from '@/utils/dict';
|
||||||
import {getAccessToken, getTenantId} from '@/utils/auth'
|
import {getAccessToken, getTenantId} from '@/utils/auth'
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
|
import moment from 'moment';
|
||||||
export default {
|
export default {
|
||||||
name: 'ProductionStatus',
|
name: 'ProductionStatus',
|
||||||
components: {
|
components: {
|
||||||
@@ -481,13 +482,14 @@ export default {
|
|||||||
pageSize: 1000,
|
pageSize: 1000,
|
||||||
template:1,
|
template:1,
|
||||||
pageNo: this.form.pageNo,
|
pageNo: this.form.pageNo,
|
||||||
timeDim:this.form.timeDim
|
timeDim:this.timeType === 'month'?2:3
|
||||||
}).then(response => {
|
}).then(response => {
|
||||||
let fileName = '';
|
let fileName = '';
|
||||||
|
let factoryName = this.levelLList.filter(item => item.id == this.form.levelId)[0].name;
|
||||||
if (this.timeType === 'month') {
|
if (this.timeType === 'month') {
|
||||||
fileName = '月度预算导入模板.xls';
|
fileName = factoryName+'_月_预算导入模板.xls';
|
||||||
}else{
|
}else{
|
||||||
fileName = '年度预算导入模板.xls';
|
fileName = factoryName+'_年_预算导入模板.xls';
|
||||||
}
|
}
|
||||||
this.$download.excel(response, fileName);
|
this.$download.excel(response, fileName);
|
||||||
});
|
});
|
||||||
@@ -500,7 +502,7 @@ export default {
|
|||||||
pageSize: 1000,
|
pageSize: 1000,
|
||||||
template:0,
|
template:0,
|
||||||
pageNo: this.form.pageNo,
|
pageNo: this.form.pageNo,
|
||||||
timeDim:this.form.timeDim
|
timeDim:this.timeType === 'month'?2:3
|
||||||
}).then(response => {
|
}).then(response => {
|
||||||
let mon = this.timeType=== 'month'?moment(this.form.endTime).format('YYYYMM'):moment(this.form.endTime).format('YYYY');
|
let mon = this.timeType=== 'month'?moment(this.form.endTime).format('YYYYMM'):moment(this.form.endTime).format('YYYY');
|
||||||
let factoryName = this.levelLList.filter(item => item.id == this.form.levelId)[0].name;
|
let factoryName = this.levelLList.filter(item => item.id == this.form.levelId)[0].name;
|
||||||
|
|||||||
@@ -361,7 +361,9 @@ export default {
|
|||||||
template:1,
|
template:1,
|
||||||
pageNo: this.form.pageNo
|
pageNo: this.form.pageNo
|
||||||
}).then(response => {
|
}).then(response => {
|
||||||
this.$download.excel(response, '指标导入模板.xls');
|
let factoryName = this.levelLList.filter(item => item.id == this.form.levelId)[0].name;
|
||||||
|
let fileName = factoryName+'_指标导入模板.xls';
|
||||||
|
this.$download.excel(response, fileName);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
exportExcel() {
|
exportExcel() {
|
||||||
|
|||||||
@@ -182,7 +182,7 @@ export default {
|
|||||||
// index: this.index,
|
// index: this.index,
|
||||||
// sort: 1,
|
// sort: 1,
|
||||||
paramName: '双镀销量',
|
paramName: '双镀销量',
|
||||||
paramList: ['双镀成本', '双镀均价','双镀毛利'],
|
paramList: ['双镀成本', '双镀均价','双镀毛利率'],
|
||||||
baseId: this.factory,
|
baseId: this.factory,
|
||||||
// baseId: Number(this.factory),
|
// baseId: Number(this.factory),
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ export default {
|
|||||||
{name:'双镀销量',unit:'万㎡'},
|
{name:'双镀销量',unit:'万㎡'},
|
||||||
{name:'双镀成本',unit:'元/㎡'},
|
{name:'双镀成本',unit:'元/㎡'},
|
||||||
{name:'双镀均价',unit:'元/㎡'},
|
{name:'双镀均价',unit:'元/㎡'},
|
||||||
{name:'双镀毛利',unit:'元'},
|
{name:'双镀毛利率',unit:'元'},
|
||||||
],
|
],
|
||||||
unit:'万㎡'
|
unit:'万㎡'
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ export default {
|
|||||||
default: () => ({
|
default: () => ({
|
||||||
双镀成本: { completeRate: 0, diff: 0, real: 0, target: 0, thb: 0 },
|
双镀成本: { completeRate: 0, diff: 0, real: 0, target: 0, thb: 0 },
|
||||||
双镀均价: { completeRate: 0, diff: 0, real: 0, target: 0, thb: 0 },
|
双镀均价: { completeRate: 0, diff: 0, real: 0, target: 0, thb: 0 },
|
||||||
双镀毛利: { completeRate: 0, diff: 0, real: 0, target: 0, thb: 0 },
|
双镀毛利率: { completeRate: 0, diff: 0, real: 0, target: 0, thb: 0 },
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
title: {
|
title: {
|
||||||
@@ -63,7 +63,7 @@ export default {
|
|||||||
return [
|
return [
|
||||||
{ key: 'financialCost', name: '双镀成本', unit: '元/㎡'},
|
{ key: 'financialCost', name: '双镀成本', unit: '元/㎡'},
|
||||||
{ key: 'financialPrice', name: '双镀均价', unit: '元/㎡'},
|
{ key: 'financialPrice', name: '双镀均价', unit: '元/㎡'},
|
||||||
{ key: 'financialProfit', name: '双镀毛利', unit: '元'},
|
{ key: 'financialProfit', name: '双镀毛利率', unit: '元'},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
indicators() {
|
indicators() {
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ export default {
|
|||||||
default: () => ({
|
default: () => ({
|
||||||
双镀成本: { completeRate: 0, diff: 0, real: 0, target: 0, thb: 0 },
|
双镀成本: { completeRate: 0, diff: 0, real: 0, target: 0, thb: 0 },
|
||||||
双镀均价: { completeRate: 0, diff: 0, real: 0, target: 0, thb: 0 },
|
双镀均价: { completeRate: 0, diff: 0, real: 0, target: 0, thb: 0 },
|
||||||
双镀毛利: { completeRate: 0, diff: 0, real: 0, target: 0, thb: 0 },
|
双镀毛利率: { completeRate: 0, diff: 0, real: 0, target: 0, thb: 0 },
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
title: {
|
title: {
|
||||||
@@ -66,7 +66,7 @@ export default {
|
|||||||
return [
|
return [
|
||||||
{ key: 'financialCost', name: '双镀成本', unit: '元/㎡'},
|
{ key: 'financialCost', name: '双镀成本', unit: '元/㎡'},
|
||||||
{ key: 'financialPrice', name: '双镀均价', unit: '元/㎡'},
|
{ key: 'financialPrice', name: '双镀均价', unit: '元/㎡'},
|
||||||
{ key: 'financialProfit', name: '双镀毛利', unit: '元'},
|
{ key: 'financialProfit', name: '双镀毛利率', unit: '元'},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
indicators() {
|
indicators() {
|
||||||
|
|||||||
@@ -215,7 +215,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.content-top-right {
|
.content-top-right {
|
||||||
width: 1300px;
|
width: 1293px;
|
||||||
height: 60px;
|
height: 60px;
|
||||||
background:#FFFFFF;
|
background:#FFFFFF;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|||||||
Reference in New Issue
Block a user