|
@@ -3,7 +3,7 @@
|
|
|
* @Author: gcz
|
|
|
* @Date: 2024-01-12 17:12:35
|
|
|
* @LastEditors: gcz
|
|
|
- * @LastEditTime: 2024-01-12 18:21:48
|
|
|
+ * @LastEditTime: 2024-01-12 19:41:52
|
|
|
* @FilePath: \great_webui\src\views\officesale\preorder.vue
|
|
|
* @Copyright: Copyright (c) 2016~2024 by gcz, All Rights Reserved.
|
|
|
-->
|
|
@@ -143,14 +143,15 @@ const axios = require('axios');
|
|
|
},
|
|
|
print(){
|
|
|
console.log('ticketoutData',this.ticketoutData);
|
|
|
+ let that= this;
|
|
|
let params = this.ticketoutData.printInfo;
|
|
|
axios.post(this.ticketoutData.linkIp, params)
|
|
|
.then(function (response) {
|
|
|
- this.handleClose();
|
|
|
+ that.handleClose();
|
|
|
console.log(response);
|
|
|
})
|
|
|
.catch(function (error) {
|
|
|
- this.handleClose();
|
|
|
+ that.handleClose();
|
|
|
console.log(error);
|
|
|
});
|
|
|
|