wangfei 6 年前
父节点
当前提交
ded42168cc
共有 1 个文件被更改,包括 5 次插入4 次删除
  1. 5
    4
      src/pages/system/newOrder/newOrderList/index.vue

+ 5
- 4
src/pages/system/newOrder/newOrderList/index.vue 查看文件

127
     },
127
     },
128
   },
128
   },
129
   created () {
129
   created () {
130
-    this.lodop = getLodop()
131
-    this.lodop.PRINT_INIT('城咖啡订单')
132
-    this.lodop.SET_PRINT_PAGESIZE(3, 480, 40, '')
133
-
134
     this.updateSystemInfo().then(() => {
130
     this.updateSystemInfo().then(() => {
135
       console.log(this.CaseId)
131
       console.log(this.CaseId)
136
       if (this.CaseId) {
132
       if (this.CaseId) {
144
       autoConnect: true,
140
       autoConnect: true,
145
     })
141
     })
146
   },
142
   },
143
+  mounted () {
144
+    this.lodop = getLodop()
145
+    this.lodop.PRINT_INIT('城咖啡订单')
146
+    this.lodop.SET_PRINT_PAGESIZE(3, 480, 40, '')
147
+  },
147
   beforeDestroyed () {
148
   beforeDestroyed () {
148
     this.ws.close()
149
     this.ws.close()
149
   },
150
   },