MONSTER-ygh 2 周之前
父节点
当前提交
7f7797e0ad
共有 2 个文件被更改,包括 27 次插入1 次删除
  1. 14 1
      src/views/order/viewers/index.vue
  2. 13 0
      src/views/otaMr/maoyan/dialog/dataEdit.vue

+ 14 - 1
src/views/order/viewers/index.vue

@@ -189,7 +189,7 @@
               <span v-hasPermi="['order:viewers:tuikuai']" style="display: inline-block;">
                 <el-button
                 style="margin-left: 10px;"
-                v-if="scope.row.status == 3 || scope.row.status == 6 || scope.row.status == 7 ||scope.row.status == 8" size="mini" type="text"
+                v-if="scope.row.status == 3 || scope.row.status == 6 || scope.row.status == 7 || scope.row.status == 8" size="mini" type="text"
                 @click="openRefundSubmitModel([scope.row])"
                 >退款</el-button>
               </span>
@@ -260,6 +260,13 @@
             label="退款金额"
             >
           </el-table-column>
+          <el-table-column
+            label="原订单金额"
+            >
+            <template slot-scope="scope">
+              <span>{{ scope.row.orgRealPrice }}</span>
+            </template>
+          </el-table-column>
           <el-table-column
             prop="address"
             label="状态">
@@ -315,6 +322,12 @@
               :rows="3"
               v-model="tkRuleForm.remark"></el-input>
             </el-form-item>
+            <el-form-item label="" prop="remark">
+              <div style="">
+                注意:此订单来源于改签/升舱的订单。
+              </div>
+            </el-form-item>
+            
           </el-form>
         </div>
       </div>

+ 13 - 0
src/views/otaMr/maoyan/dialog/dataEdit.vue

@@ -339,6 +339,7 @@ export default {
               this.$message.error("请选择上推送的数据!!!");
               return
             } 
+            this.setTreeDataCopy(this.cityList,this.form.cityId)
             let flog = false
             let list = []
             this.multipleSelection.forEach((item)=>{
@@ -374,6 +375,18 @@ export default {
         }
       })
     },
+    setTreeDataCopy(list,value) {
+      list.forEach((item,index)=>{
+        if(item.value == value) {
+          this.form.cityName = item.name
+        }
+        if(item.child && item.child.length>0){
+          this.setTreeDataCopy(item.child,value)
+        }else {
+          
+        }
+      })
+    },
     /**
      * 重置
      * @date 2023-11-22