Browse Source

修改导出参数

pull/101/head
xuxiaoming 3 years ago
parent
commit
63f5e5485d
1 changed files with 6 additions and 5 deletions
  1. +6
    -5
      src/views/productionPlanning/customerForecastDemandReview/demandPlanning/articleDemand/index.vue

+ 6
- 5
src/views/productionPlanning/customerForecastDemandReview/demandPlanning/articleDemand/index.vue View File

@ -322,13 +322,14 @@ export default {
let maplist = JSON.parse(JSON.stringify(this.articleDemandData));
maplist.Item.forEach(item => {
item["AP_ArticleDemand-ArtId"] = item.key;
delete item.index;
delete item.show;
delete item.key;
delete item.Label;
delete item.index
delete item.show
delete item.key
delete item.Label
delete item["AP_ArticleDemand-CustomerId"]
});
maplist["SortKeys"].splice(maplist["SortKeys"].indexOf("Label"),1);
exportData(JSON.stringify(maplist)).then(({ data = "" }) => {
console.log('%cindex.vue line:332 data', 'color: #007acc;', data);
let link = document.createElement('a');


Loading…
Cancel
Save