|
@@ -16,9 +16,9 @@
|
|
|
:cell-style="cellStyle"
|
|
|
:key="crudIndex"
|
|
|
>
|
|
|
-<!-- <template slot="menuLeft">-->
|
|
|
-<!-- <el-button type="info" size="small" @click="outExport" icon="el-icon-download">导出</el-button>-->
|
|
|
-<!-- </template>-->
|
|
|
+ <template slot="menuLeft">
|
|
|
+ <el-button type="info" size="small" @click="outExport" icon="el-icon-download">导出</el-button>
|
|
|
+ </template>
|
|
|
<template slot="accSysNo" slot-scope="scope">
|
|
|
<span style="color: #409EFF;cursor: pointer" @click.stop="jumpPage(scope.row,scope.index)">{{ scope.row.accSysNo }}</span>
|
|
|
</template>
|
|
@@ -44,6 +44,9 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ startDate: '',
|
|
|
+ endDate: '',
|
|
|
+ customerId: '',
|
|
|
crudIndex: 0,
|
|
|
dataList: [],
|
|
|
loading: false,
|
|
@@ -137,6 +140,9 @@ export default {
|
|
|
'businesDateList[0]' : this.dateFormatting(startDate) + " 00:00:00",
|
|
|
'businesDateList[1]' : this.dateFormatting(endDate) + " 23:59:59"
|
|
|
};
|
|
|
+ this.customerId = detailData.customerId
|
|
|
+ this.startDate = this.dateFormatting(startDate) + " 00:00:00"
|
|
|
+ this.endDate = this.dateFormatting(endDate) + " 23:59:59"
|
|
|
getList(requestData).then(res => {
|
|
|
this.dataList = res.data.data.records;
|
|
|
}).finally(() => {
|
|
@@ -164,9 +170,9 @@ export default {
|
|
|
type: 'warning'
|
|
|
}).then(() => {
|
|
|
window.open(
|
|
|
- `/api/trade-finance/receivable/exportItem?${
|
|
|
+ `/api/blade-sales-part/order/statistics-exportDetails?${
|
|
|
this.website.tokenHeader
|
|
|
- }=${getToken()}&dc=d&tradeType=${this.tradeType}&corpId=${this.detailData.id}`
|
|
|
+ }=${getToken()}&exportType=2&customerId=${this.customerId}&bsType=CG&businesDateList[0]=${this.startDate}&businesDateList[1]=${this.endDate}`
|
|
|
);
|
|
|
}).catch(() => {
|
|
|
this.$message({
|