Commit 2647dee0 authored by 朱超's avatar 朱超

用量同比

parent a0e76e82
......@@ -59,7 +59,6 @@
collapse-tags
:show-all-levels="false"
placeholder="请选择"
@change="transferIdChange"
/>
</el-form-item>
<el-form-item label="开始月份" v-show="enertyInfo.interval == 1">
......@@ -351,12 +350,6 @@ function getEnterprise() {
}
}
function transferIdChange() {
// if (enertyInfo.transferId.length > 10) {
// ElMessage.error("换热机组最多只能选择10个");
// }
}
function exportTableToExcel() {
let arr = [];
let exlData = [];
......@@ -379,7 +372,6 @@ function exportTableToExcel() {
}
);
worksheet["!cols"] = [{ wch: 20 }, { wch: 20 }, { wch: 20 }, { wch: 20 }];
// worksheet["!rows"] = [{ hpx: 20 }];
worksheet["A1"].s = {
fill: {
......@@ -513,6 +505,10 @@ function postExternalYOYFun() {
ElMessage.error("开始日期不能晚于或等于结束日期");
return false;
}
if ((endDay.value - startDay.value) > 6) {
ElMessage.error("查询日期区间不能超过7天");
return false;
}
let dayArr = [];
let dayn = endDay.value - startDay.value;
let startDayn = startDay.value;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment