gcz преди 9 месеца
родител
ревизия
91f28d6bc9
променени са 2 файла, в които са добавени 20 реда и са изтрити 1 реда
  1. 5 1
      src/views/order/orderMr/dialog/details.vue
  2. 15 0
      src/views/order/orderMr/index.vue

+ 5 - 1
src/views/order/orderMr/dialog/details.vue

@@ -3,7 +3,7 @@
  * @Author: Sugar.
  * @Date: 2023-11-24 13:55:00
  * @LastEditors: gcz
- * @LastEditTime: 2024-03-15 17:47:17
+ * @LastEditTime: 2024-07-01 11:26:06
  * @FilePath: \great_webui\src\views\order\orderMr\dialog\details.vue
  * @Copyright: Copyright (c) 2016~2023 by Sugar., All Rights Reserved.
 -->
@@ -93,6 +93,10 @@
             <div class="grid-content bg-purple item-class" style="display: flex;">订单备注: <span
                 style="display: block;margin-left: 5px;">{{ form.remark }}</span></div>
           </el-col>
+          <el-col :span="12">
+            <div class="grid-content bg-purple item-class" style="display: flex;">OTA订单号: <span
+                style="display: block;margin-left: 5px;">{{ form.otaOrderId||'-' }}</span></div>
+          </el-col>
           <el-col :span="12">
             <div class="grid-content bg-purple item-class" style="display: flex;">是否成功开票: <span
                 style="display: block;margin-left: 5px;">{{ form.ifSuccessInvoice == '1' ? '是' : '否' }}</span></div>

+ 15 - 0
src/views/order/orderMr/index.vue

@@ -188,6 +188,15 @@
             @keyup.enter.native="handleQuery"
           />
         </el-form-item>
+        <el-form-item label="OTA订单号" label-width="100px">
+          <el-input
+            v-model="queryParams.otaOrderId"
+            placeholder="请输入OTA订单号"
+            clearable
+            style="width: 240px;"
+            @keyup.enter.native="handleQuery"
+          />
+        </el-form-item>
         <el-form-item>
           <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
           <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
@@ -295,6 +304,11 @@
               <span>{{ scope.row.remark }}</span>
             </template>
           </el-table-column>
+          <el-table-column label="OTA订单号" align="center" prop="otaOrderId">
+            <template slot-scope="scope">
+              <span>{{ scope.row.otaOrderId||'-' }}</span>
+            </template>
+          </el-table-column>
           <el-table-column label="操作" align="center" width="100" class-name="small-padding fixed-width">
             <template slot-scope="scope">
               <el-button
@@ -509,6 +523,7 @@ export default {
       this.dateRange = [];
       this.$set(this.queryParams, 'paymentId', '');
       this.$set(this.queryParams, 'orderId', '');
+      this.$set(this.queryParams, 'otaOrderId', '');
       this.$set(this.queryParams, 'status', '');
       this.$set(this.queryParams, 'memberMobile', '');
       this.$set(this.queryParams, 'source', '');