Browse Source

管理后台-业务中心:点单-打印

panyong 3 years ago
parent
commit
d8a178bee9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      htmldev/manage/src/views/business/oms/list/index.vue

+ 2 - 2
htmldev/manage/src/views/business/oms/list/index.vue

@@ -96,12 +96,12 @@ export default {
     }
   },
   methods: {
-    // TODO 出单api
     async handlePrint (row) {
       this.booLock = true
-      const data = await this.$fetch('')
+      const data = await this.$fetch('/v1/user/order/print', { id: row.id }, 'get')
       this.booLock = false
       if (data.code === 200) {
+        this.$message.success('开始打印')
       }
     }
   },