Sfoglia il codice sorgente

退款管理(增加OTA订单号查询)

gcz 2 mesi fa
parent
commit
5a608815a1
1 ha cambiato i file con 14 aggiunte e 1 eliminazioni
  1. 14 1
      src/views/finance/refundMr/index.vue

+ 14 - 1
src/views/finance/refundMr/index.vue

@@ -43,6 +43,16 @@
             />
             <span @click="clearQuery('transactionId')" class="query_clear"><i class="el-icon-circle-close"></i></span>
           </el-form-item>
+          <el-form-item v-if="queryShow.thirdOrderNo" label="OTA订单">
+            <el-input
+              v-model="queryParams.thirdOrderNo"
+              placeholder="请输入OTA订单号"
+              clearable
+              style="width: 220px;"
+              @keyup.enter.native="handleQuery"
+            />
+            <span @click="clearQuery('thirdOrderNo')" class="query_clear"><i class="el-icon-circle-close"></i></span>
+          </el-form-item>
           <el-form-item v-if="queryShow.status" label="退款状态">
             <el-select
               v-model="queryParams.status"
@@ -67,6 +77,7 @@
                 <el-dropdown-item command="orderId">原订单号</el-dropdown-item>
                 <el-dropdown-item command="refundMobile">手机号码</el-dropdown-item>
                 <el-dropdown-item command="transactionId">支付单号</el-dropdown-item>
+                <el-dropdown-item command="thirdOrderNo">OTA订单号</el-dropdown-item>
                 <el-dropdown-item command="status">退款状态</el-dropdown-item>
               </el-dropdown-menu>
             </el-dropdown>
@@ -217,7 +228,8 @@ export default {
         orderId: true,
         refundMobile: true,
         transactionId: true,
-        status: false
+        thirdOrderNo: true,
+        status: true
       },
     };
   },
@@ -264,6 +276,7 @@ export default {
       this.$set(this.queryParams, 'refundMobile', '');
       this.$set(this.queryParams, 'status', '');
       this.$set(this.queryParams, 'transactionId', '');
+      this.$set(this.queryParams, 'thirdOrderNo', '');
       this.queryParams.pageNum = 1;
       this.handleQuery();
     },