liujun hace 2 años
padre
commit
b66172b91f
Se han modificado 1 ficheros con 13 adiciones y 1 borrados
  1. 13 1
      public/dzd/index.html

+ 13 - 1
public/dzd/index.html

@@ -248,7 +248,10 @@
 				saleList: [],
 				saleDetailList: [],
 				info: {},
-				time: ''
+				time: '',
+				startTime:'',
+				endTime:'',
+				customerSn:''
 			},
 			created() {
 				this.loadData();
@@ -269,6 +272,9 @@
 						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);
@@ -293,6 +299,12 @@
 						bizEndDate: this.endTime,
 						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
 					}, {