|
@@ -0,0 +1,107 @@
|
|
1
|
+<template>
|
|
2
|
+ <div class="subPage">
|
|
3
|
+ <div class="system-table-search">
|
|
4
|
+ <div class="flex-h">
|
|
5
|
+ <div class="flex-item flex-h">
|
|
6
|
+ <el-button size="mini" type="danger">营业</el-button>
|
|
7
|
+ </div>
|
|
8
|
+ </div>
|
|
9
|
+ <div class="moreFilter"></div>
|
|
10
|
+ </div>
|
|
11
|
+ <div class="order-list-box">
|
|
12
|
+ <div v-for="(item,index) in list" :key="index">
|
|
13
|
+ <div class="print-area">
|
|
14
|
+ <div style="padding:25px 20px 5px;border-bottom:2px solid #cccccc;">
|
|
15
|
+ <i class="iconfont icon-yinchenglogo" style="font-size:70px;color:red;position: relative;bottom: 20px;margin-right:10px;"></i>
|
|
16
|
+ <div style="display:inline-block;">
|
|
17
|
+ <span style="display:block;font-size:20px;font-weight:700;">A区域1号桌</span>
|
|
18
|
+ <span style="display:block;margin-top:10px">下单时间:21:30:39</span>
|
|
19
|
+ <span style="display:block;margin-top:10px">已等待:<span style="color:red;font-weight:700;">30:29</span></span>
|
|
20
|
+ </div>
|
|
21
|
+ </div>
|
|
22
|
+ <div style="padding:10px 20px 5px;border-bottom:1px solid #cccccc;">
|
|
23
|
+ <div>卡布奇诺</div>
|
|
24
|
+ <div style="margin-top:8px;">
|
|
25
|
+ <span style="display:inline-block;width:75%;text-align:left;color:#cccccc">热</span>
|
|
26
|
+ <span style="display:inline-block;width:20%;text-align:right">x 1</span>
|
|
27
|
+ </div>
|
|
28
|
+ <div style="margin-top:8px;">
|
|
29
|
+ <span style="display:inline-block;width:75%;text-align:left;color:#cccccc">冷</span>
|
|
30
|
+ <span style="display:inline-block;width:20%;text-align:right">x 2</span>
|
|
31
|
+ </div>
|
|
32
|
+ </div>
|
|
33
|
+ <div style="padding:10px 20px 5px;border-bottom:1px solid #cccccc;">
|
|
34
|
+ <div>卡布奇诺</div>
|
|
35
|
+ <div style="margin-top:8px;">
|
|
36
|
+ <span style="display:inline-block;width:75%;text-align:left;color:#cccccc">热</span>
|
|
37
|
+ <span style="display:inline-block;width:20%;text-align:right">x 1</span>
|
|
38
|
+ </div>
|
|
39
|
+ <div style="margin-top:8px;">
|
|
40
|
+ <span style="display:inline-block;width:75%;text-align:left;color:#cccccc">冷</span>
|
|
41
|
+ <span style="display:inline-block;width:20%;text-align:right">x 2</span>
|
|
42
|
+ </div>
|
|
43
|
+ </div>
|
|
44
|
+ <div style="padding:10px 20px;border-bottom:1px solid #cccccc">备注:请赶快制作</div>
|
|
45
|
+ <div style="padding:10px 20px;">下单人:xxxxx</div>
|
|
46
|
+ </div>
|
|
47
|
+ <div class="btns">
|
|
48
|
+ <span>取消</span>
|
|
49
|
+ <span>确定</span>
|
|
50
|
+ </div>
|
|
51
|
+ </div>
|
|
52
|
+ </div>
|
|
53
|
+ </div>
|
|
54
|
+</template>
|
|
55
|
+
|
|
56
|
+<script>
|
|
57
|
+export default {
|
|
58
|
+ name: '',
|
|
59
|
+ data () {
|
|
60
|
+ return {
|
|
61
|
+ total: 0,
|
|
62
|
+ postData: { // 表格搜索条件
|
|
63
|
+ phone: '', // 手机号
|
|
64
|
+ page: 1, // 当前页码
|
|
65
|
+ pagesize: 10, // 请求数据量
|
|
66
|
+ },
|
|
67
|
+ currentList: [],
|
|
68
|
+ list: [1, 2, 3, 4, 5, 1, 2, 3, 4, 5]
|
|
69
|
+ }
|
|
70
|
+ },
|
|
71
|
+ components: {
|
|
72
|
+ },
|
|
73
|
+ mounted () {
|
|
74
|
+ this.$nextTick(function () {
|
|
75
|
+ this.getList()
|
|
76
|
+ })
|
|
77
|
+ },
|
|
78
|
+ methods: {
|
|
79
|
+ FormatDate (date) {
|
|
80
|
+ return this.toolClass.dateFormat(date)
|
|
81
|
+ },
|
|
82
|
+ handleCurrentChange (val) {
|
|
83
|
+ this.getList()
|
|
84
|
+ },
|
|
85
|
+ searchList (key) { // 搜索列表
|
|
86
|
+ this.postData.phone = key
|
|
87
|
+ this.postData.page = 1
|
|
88
|
+ this.getList()
|
|
89
|
+ },
|
|
90
|
+ getList () {
|
|
91
|
+ this.$ajax(this.$api.dataStatistics.getCustomerList.url, {
|
|
92
|
+ method: this.$api.dataStatistics.getCustomerList.method,
|
|
93
|
+ queryData: this.postData
|
|
94
|
+ }).then(res => {
|
|
95
|
+ this.currentList = res.list
|
|
96
|
+ this.postData.page = res.page
|
|
97
|
+ this.total = res.pagenum
|
|
98
|
+ })
|
|
99
|
+ }
|
|
100
|
+ }
|
|
101
|
+}
|
|
102
|
+</script>
|
|
103
|
+
|
|
104
|
+<!-- Add "scoped" attribute to limit CSS to this component only -->
|
|
105
|
+<style lang="scss" scoped>
|
|
106
|
+@import "page.scss";
|
|
107
|
+</style>
|