|
@@ -248,10 +248,7 @@
|
|
|
saleList: [],
|
|
|
saleDetailList: [],
|
|
|
info: {},
|
|
|
- time: '',
|
|
|
- startTime:'',
|
|
|
- endTime:'',
|
|
|
- customerSn:''
|
|
|
+ time: ''
|
|
|
},
|
|
|
created() {
|
|
|
this.loadData();
|
|
@@ -272,9 +269,6 @@
|
|
|
if (res.data.data.bizBeginDate && res.data.data.bizEndDate) {
|
|
|
this.time = res.data.data.bizBeginDate.split(' ')[0] + '至' + res.data.data
|
|
|
.bizEndDate.split(' ')[0]
|
|
|
- this.customerSn = res.data.buyerSn;
|
|
|
- this.startTime = res.data.data.bizBeginDate;
|
|
|
- this.endTime = res.data.data.bizEndDate
|
|
|
}
|
|
|
}).catch((error) => {
|
|
|
console.log(error);
|
|
@@ -294,17 +288,9 @@
|
|
|
},
|
|
|
downLoad() {
|
|
|
let ajaxData = {
|
|
|
- targetSn: this.customerSn,
|
|
|
- bizBeginDate: this.startTime,
|
|
|
- bizEndDate: this.endTime,
|
|
|
- dealerSn: this.getUrlParam(userSn)
|
|
|
+ verifySn: this.getUrlParam('verifySn'),
|
|
|
+ dealerSn: this.getUrlParam('userSn')
|
|
|
}
|
|
|
- // let ajaxData={
|
|
|
- // targetSn: '478718467182370816',
|
|
|
- // bizBeginDate: '2022-12-01 00:00:00',
|
|
|
- // bizEndDate: '2022-12-21 59:59:59',
|
|
|
- // dealerSn: '435465609255526400'
|
|
|
- // }
|
|
|
axios.get(this.ajaxUrl + 'verify/exportExcel', {
|
|
|
params: ajaxData
|
|
|
}, {
|