|
@@ -140,7 +140,7 @@ export default {
|
|
|
|
|
|
start_date: "", //起始时间
|
|
|
end_date: "", // 结束时间
|
|
|
- is_export:0,//是否导出0/1
|
|
|
+ // is_export:0,//是否导出0/1
|
|
|
|
|
|
page: 1, // 页码
|
|
|
size: 15, // 每页显示条数
|
|
@@ -200,7 +200,7 @@ export default {
|
|
|
this.parmValue = {
|
|
|
start_date: "", //新建起始时间
|
|
|
end_date: "", // 新建结束时间
|
|
|
- is_export:0,//是否导出0/1
|
|
|
+ // is_export:0,//是否导出0/1
|
|
|
page: 1, // 页码
|
|
|
size: 15, // 每页显示条数
|
|
|
};
|
|
@@ -233,13 +233,13 @@ export default {
|
|
|
// return;
|
|
|
// }
|
|
|
let model = JSON.parse(JSON.stringify(this.parmValue))
|
|
|
- model.is_export = 1;
|
|
|
+ // model.is_export = 1;
|
|
|
if (!this.loading) {
|
|
|
this.loading = true;
|
|
|
let httpType = `aplication/zip`;
|
|
|
axios({
|
|
|
method: "post",
|
|
|
- url: this.fileUrl + "admin/reportorderlistdetailed",
|
|
|
+ url: this.fileUrl + "admin/reportorderlistdetailedexport",
|
|
|
responseType: "blob",
|
|
|
data: model,
|
|
|
headers: {
|
|
@@ -262,7 +262,7 @@ export default {
|
|
|
let link = document.createElement("a");
|
|
|
link.style.display = "none";
|
|
|
link.href = url;
|
|
|
- let excelName = "已采反报价.zip";
|
|
|
+ let excelName = "订单明细报表.zip";
|
|
|
link.setAttribute("download", excelName);
|
|
|
document.body.appendChild(link);
|
|
|
link.click();
|