浏览代码

改为预约订单

duwendi 1 年之前
父节点
当前提交
86c1c6ef7f
共有 1 个文件被更改,包括 24 次插入13 次删除
  1. 24 13
      src/pages/index/components/product_order.vue

+ 24 - 13
src/pages/index/components/product_order.vue

@@ -56,7 +56,7 @@
56
           </el-pagination>
56
           </el-pagination>
57
         </div>
57
         </div>
58
       </el-tab-pane>
58
       </el-tab-pane>
59
-      <el-tab-pane label="退款订单查询" name="退款订单查询">
59
+      <el-tab-pane label="预约停车订单" name="预约停车订单">
60
         <el-form class="form-wrapper" :inline="true" :model="formInline3" style="margin-bottom: 20px;">
60
         <el-form class="form-wrapper" :inline="true" :model="formInline3" style="margin-bottom: 20px;">
61
           <el-row>
61
           <el-row>
62
             <el-col :span="6">
62
             <el-col :span="6">
@@ -64,11 +64,6 @@
64
                 <el-input v-model="formInline3.orderNo" placeholder="请输入"></el-input>
64
                 <el-input v-model="formInline3.orderNo" placeholder="请输入"></el-input>
65
               </el-form-item>
65
               </el-form-item>
66
             </el-col>
66
             </el-col>
67
-            <el-col :span="6">
68
-              <el-form-item label="泊位号:">
69
-                <el-input v-model="formInline3.berthCode" placeholder="请输入"></el-input>
70
-              </el-form-item>
71
-            </el-col>
72
             <el-col :span="6">
67
             <el-col :span="6">
73
               <el-form-item label="车牌号:">
68
               <el-form-item label="车牌号:">
74
                 <el-input v-model="formInline3.plateNo" placeholder="请输入"></el-input>
69
                 <el-input v-model="formInline3.plateNo" placeholder="请输入"></el-input>
@@ -177,17 +172,33 @@ export default {
177
           label: '订单号',
172
           label: '订单号',
178
           key: 'orderNo'
173
           key: 'orderNo'
179
         },
174
         },
180
-        // {
181
-        //   label: '泊位号',
182
-        //   key: 'parkingNo'
183
-        // },
184
         {
175
         {
185
           label: '车牌号',
176
           label: '车牌号',
186
           key: 'plateNo'
177
           key: 'plateNo'
187
         },
178
         },
188
         {
179
         {
189
-          label: '应付金额',
190
-          key: 'payableAmount'
180
+          label: '所属停车场',
181
+          key: 'parkName'
182
+        },
183
+        {
184
+          label: '预约时间',
185
+          key: 'appointmentTime'
186
+        },
187
+        {
188
+          label: '金额',
189
+          key: 'payAmount'
190
+        },
191
+        {
192
+          label: '支付方式',
193
+          key: 'payWay'
194
+        },
195
+        {
196
+          label: '支付状态',
197
+          key: 'payStatus'
198
+        },
199
+        {
200
+          label: '支付时间',
201
+          key: 'payTime'
191
         },
202
         },
192
       ],
203
       ],
193
       tableData3: [],
204
       tableData3: [],
@@ -246,7 +257,7 @@ export default {
246
     },
257
     },
247
     getTableData3() {
258
     getTableData3() {
248
       const {pageNum3, pageSize3} = this
259
       const {pageNum3, pageSize3} = this
249
-      api_z.queryProductOrderRefundByPage({current: pageNum3, size: pageSize3, ...this.formInline3}).then(res => {
260
+      api.orderListByPage({current: pageNum3, size: pageSize3, ...this.formInline3}).then(res => {
250
         this.tableData3 = res.data.records || []
261
         this.tableData3 = res.data.records || []
251
         this.total3 = res.data.total
262
         this.total3 = res.data.total
252
       })
263
       })