liujun %!s(int64=2) %!d(string=hai) anos
pai
achega
bcff2325ef
Modificáronse 1 ficheiros con 3 adicións e 17 borrados
  1. 3 17
      public/dzd/index.html

+ 3 - 17
public/dzd/index.html

@@ -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
 					}, {