|
@@ -89,7 +89,7 @@ export default window.$crudCommon({
|
|
|
return summaryMethod(columns, data, this.option.sumColumnList, 'xmmc');
|
|
return summaryMethod(columns, data, this.option.sumColumnList, 'xmmc');
|
|
|
},
|
|
},
|
|
|
handleExport() {
|
|
handleExport() {
|
|
|
- exportBlob(`/api/kd-scientific/lease/export?${this.website.tokenHeader}=${getToken()}`, this.params).then(res => {
|
|
|
|
|
|
|
+ exportBlob(`/api/kd-scientific/asset/zj-cqdt-wxzctx-fy-hzb/export?${this.website.tokenHeader}=${getToken()}`, this.params).then(res => {
|
|
|
downloadXls(res.data, `${this.pageTitle}.xlsx`);
|
|
downloadXls(res.data, `${this.pageTitle}.xlsx`);
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
@@ -109,11 +109,11 @@ export default window.$crudCommon({
|
|
|
name: 'yfCostManage/yfCostStatistics/depreSummaryList',
|
|
name: 'yfCostManage/yfCostStatistics/depreSummaryList',
|
|
|
res: ({ data }) => {
|
|
res: ({ data }) => {
|
|
|
data.records = data.records.map(item => {
|
|
data.records = data.records.map(item => {
|
|
|
- item.yqsbzjfy = item.yqsbzjfy.toFixed(2);
|
|
|
|
|
- item.fwzjfy = item.fwzjfy.toFixed(2);
|
|
|
|
|
- item.cqdtfy = item.cqdtfy.toFixed(2);
|
|
|
|
|
- item.wxzcdtfy = item.wxzcdtfy.toFixed(2);
|
|
|
|
|
- item.total = item.total.toFixed(2);
|
|
|
|
|
|
|
+ item.yqsbzjfy = Number(item.yqsbzjfy || 0).toFixed(2);
|
|
|
|
|
+ item.fwzjfy = Number(item.fwzjfy || 0).toFixed(2);
|
|
|
|
|
+ item.cqdtfy = Number(item.cqdtfy || 0).toFixed(2);
|
|
|
|
|
+ item.wxzcdtfy = Number(item.wxzcdtfy || 0).toFixed(2);
|
|
|
|
|
+ item.total = Number(item.total || 0).toFixed(2);
|
|
|
return item;
|
|
return item;
|
|
|
});
|
|
});
|
|
|
return data;
|
|
return data;
|