|
@@ -64,7 +64,7 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column label="支付方式">
|
|
|
<template slot-scope="scope">
|
|
|
- <p>{{ ['', '微信', '支付宝', '现场支付'][scope.row.order_pay_type] }}</p>
|
|
|
+ <p>{{ ['', '微信', '支付宝', '现场支付', '美团支付', '赠送'][scope.row.order_pay_type] }}</p>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="订单状态状态" width="120">
|
|
@@ -136,7 +136,7 @@ import page from '@/mixin/page'
|
|
|
|
|
|
export default {
|
|
|
mixins: [page],
|
|
|
- data () {
|
|
|
+ data() {
|
|
|
return {
|
|
|
time: [],
|
|
|
searchForm: {},
|
|
@@ -148,7 +148,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
- async handlePrint (row) {
|
|
|
+ async handlePrint(row) {
|
|
|
this.booLock = true
|
|
|
const data = await this.$fetch('/v1/user/order/print', { id: row.id }, 'get')
|
|
|
this.booLock = false
|
|
@@ -156,7 +156,7 @@ export default {
|
|
|
this.$message.success('开始打印')
|
|
|
}
|
|
|
},
|
|
|
- showOrderStatusdialogForm (row) {
|
|
|
+ showOrderStatusdialogForm(row) {
|
|
|
this.orderStatusdialogForm = true
|
|
|
this.dialogForm = {}
|
|
|
this.$nextTick(() => {
|
|
@@ -164,7 +164,7 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
// 现场订单支付
|
|
|
- async siteOrderSet () {
|
|
|
+ async siteOrderSet() {
|
|
|
this.$refs['dialogForm'].validate(async valid => {
|
|
|
if (valid) {
|
|
|
this.booLock = true
|
|
@@ -180,7 +180,7 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
},
|
|
|
- mounted () {
|
|
|
+ mounted() {
|
|
|
this.init()
|
|
|
},
|
|
|
}
|