|
@@ -188,17 +188,17 @@ export default {
|
|
|
this.orderNumber.startsWith('WYSDD') == true ||
|
|
|
this.orderNumber.startsWith('wysdd') == true
|
|
|
) {
|
|
|
- let promise = await this.querynumber(this.orderNumber)
|
|
|
- console.log(promise)
|
|
|
- if (promise == 1) {
|
|
|
- this.backgroundImgURL=this.backgroundImgURLList[1]
|
|
|
- this.orderNumber = null
|
|
|
- setTimeout(()=>{
|
|
|
- this.backgroundImgURL=this.backgroundImgURLList[0]
|
|
|
- console.log("进入该方法了")
|
|
|
- },4000)
|
|
|
- return
|
|
|
- }
|
|
|
+ // let promise = await this.querynumber(this.orderNumber)
|
|
|
+ // console.log(promise)
|
|
|
+ // if (promise == 1) {
|
|
|
+ // this.backgroundImgURL=this.backgroundImgURLList[1]
|
|
|
+ // this.orderNumber = null
|
|
|
+ // setTimeout(()=>{
|
|
|
+ // this.backgroundImgURL=this.backgroundImgURLList[0]
|
|
|
+ // console.log("进入该方法了")
|
|
|
+ // },4000)
|
|
|
+ // return
|
|
|
+ // }
|
|
|
this.$router.push({
|
|
|
path: '/printReceipt1?orderNumber=' + this.orderNumber
|
|
|
})
|