wangfei 6 years ago
parent
commit
44bc64306a

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

281
 
281
 
282
       Promise.all(ps).then((its = []) => {
282
       Promise.all(ps).then((its = []) => {
283
         this.printList.concat(its.filter(x => x))
283
         this.printList.concat(its.filter(x => x))
284
+        console.log(this.printList)
284
       })
285
       })
285
     },
286
     },
286
     open () {
287
     open () {

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

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