wangfei 6 years ago
parent
commit
a7ac68c841

+ 2
- 1
src/pages/system/newOrder/newOrderList/index.vue View File

@@ -128,7 +128,9 @@ export default {
128 128
     })
129 129
   },
130 130
   beforeDestroyed () {
131
+    console.log("离开案场")
131 132
     this.ws.close()
133
+    this.updateList([])
132 134
   },
133 135
   methods: {
134 136
     init () {
@@ -250,7 +252,6 @@ export default {
250 252
       })
251 253
     },
252 254
     initWebSocket () {
253
-      console.log('initWebSocket')
254 255
       let caseid = this.CaseId
255 256
       let id = this.userInfo.UserId
256 257
       const wsPath = this.$api.system.notify.newGoodsOrders.url

+ 0
- 2
src/pages/system/newOrder/newOrderList/print.vue View File

@@ -43,8 +43,6 @@ export default {
43 43
   },
44 44
   methods: {
45 45
     print () {
46
-      console.log('打单')
47
-      console.log(this.printList)
48 46
       this.lodop = getLodop()
49 47
       this.lodop.PRINT_INIT('城咖啡订单')
50 48
       this.lodop.SET_PRINT_PAGESIZE(3, 480, 40, '')