|
@@ -282,10 +282,12 @@
|
|
|
this.modal_qr = false;
|
|
|
},
|
|
|
refreshCode(){
|
|
|
- this.qrContent = {};
|
|
|
- this.qrContent.qrcode = this.orderDetails.parentQrcodeNo;
|
|
|
- this.qrContent.time = Date.now();
|
|
|
- this.qrContent = JSON.stringify(this.qrContent);
|
|
|
+ // this.qrContent = {};
|
|
|
+ // this.qrContent.qrcode = this.orderDetails.parentQrcodeNo;
|
|
|
+ // this.qrContent.time = Date.now();
|
|
|
+ // this.qrContent = JSON.stringify(this.qrContent);
|
|
|
+
|
|
|
+ this.qrContent = this.orderDetails.parentQrcodeNo;
|
|
|
this.showQrcode()
|
|
|
},
|
|
|
hideSingleQrcode(){
|
|
@@ -302,10 +304,12 @@
|
|
|
this.deadline = new Date(`${res.data.performDateTime}`).getTime();
|
|
|
}
|
|
|
if(res.data.parentQrcodeStatus==0){
|
|
|
- this.qrContent = {};
|
|
|
- this.qrContent.qrcode = res.data.parentQrcodeNo;
|
|
|
- this.qrContent.time = Date.now();
|
|
|
- this.qrContent = JSON.stringify(this.qrContent);
|
|
|
+ // this.qrContent = {};
|
|
|
+ // this.qrContent.qrcode = res.data.parentQrcodeNo;
|
|
|
+ // this.qrContent.time = Date.now();
|
|
|
+ // this.qrContent = JSON.stringify(this.qrContent);
|
|
|
+
|
|
|
+ this.qrContent = res.data.parentQrcodeNo;
|
|
|
let that = this;
|
|
|
that.showQrcode();//一加载生成二维码
|
|
|
// this.refreshCode()
|