Browse Source

改为预约订单

duwendi 1 year ago
parent
commit
86c1c6ef7f
1 changed files with 24 additions and 13 deletions
  1. 24 13
      src/pages/index/components/product_order.vue

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

@@ -56,7 +56,7 @@
56 56
           </el-pagination>
57 57
         </div>
58 58
       </el-tab-pane>
59
-      <el-tab-pane label="退款订单查询" name="退款订单查询">
59
+      <el-tab-pane label="预约停车订单" name="预约停车订单">
60 60
         <el-form class="form-wrapper" :inline="true" :model="formInline3" style="margin-bottom: 20px;">
61 61
           <el-row>
62 62
             <el-col :span="6">
@@ -64,11 +64,6 @@
64 64
                 <el-input v-model="formInline3.orderNo" placeholder="请输入"></el-input>
65 65
               </el-form-item>
66 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 67
             <el-col :span="6">
73 68
               <el-form-item label="车牌号:">
74 69
                 <el-input v-model="formInline3.plateNo" placeholder="请输入"></el-input>
@@ -177,17 +172,33 @@ export default {
177 172
           label: '订单号',
178 173
           key: 'orderNo'
179 174
         },
180
-        // {
181
-        //   label: '泊位号',
182
-        //   key: 'parkingNo'
183
-        // },
184 175
         {
185 176
           label: '车牌号',
186 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 204
       tableData3: [],
@@ -246,7 +257,7 @@ export default {
246 257
     },
247 258
     getTableData3() {
248 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 261
         this.tableData3 = res.data.records || []
251 262
         this.total3 = res.data.total
252 263
       })