소스 검색

日汇率

Qukatie 1 년 전
부모
커밋
60758306bb
2개의 변경된 파일404개의 추가작업 그리고 411개의 파일을 삭제
  1. 403 411
      src/views/iosBasicData/rateManagement/detailsPage.vue
  2. 1 0
      src/views/iosBasicData/rateManagement/index.vue

+ 403 - 411
src/views/iosBasicData/rateManagement/detailsPage.vue

@@ -2,104 +2,61 @@
   <div class="borderless" v-loading="allloading">
     <div class="customer-head">
       <div class="customer-back">
-        <el-button
-          type="danger"
-          style="border: none;background: none;color: red"
-          icon="el-icon-arrow-left"
-          @click="backToList"
-          >返回列表
+        <el-button type="danger" style="border: none;background: none;color: red" icon="el-icon-arrow-left"
+          @click="backToList">返回列表
         </el-button>
       </div>
       <div class="add-customer-btn">
-        <el-button
-          type="primary"
-          size="small"
-          v-if="detailData.status == 1"
-          class="el-button--small-yh "
-          :disabled="form.status > 0"
-          @click.stop="openEdit"
-          >编辑
+        <el-button type="primary" size="small" v-if="detailData.status == 1" class="el-button--small-yh "
+          :disabled="form.status > 0" @click.stop="openEdit">编辑
         </el-button>
-        <el-button
-          class="el-button--small-yh"
-          type="primary"
-          :disabled="loadingBtn || detailData.status == 1"
-          size="small"
-          @click="editCustomer"
-          >保存数据
+        <el-button class="el-button--small-yh" type="primary" :disabled="loadingBtn || detailData.status == 1"
+          size="small" @click="editCustomer">保存数据
         </el-button>
       </div>
     </div>
     <div class="customer-main">
       <containerTitle title="基础资料"></containerTitle>
       <basic-container>
-        <avue-form
-          class="trading-form"
-          ref="form"
-          v-model="form"
-          :option="option"
-        >
+        <avue-form class="trading-form" ref="form" v-model="form" :option="option">
           <template slot="parities">
-            <el-input-number
-              v-model="form.parities"
-              size="small"
-              :controls="false"
-              style="width: 100%"
-              placeholder="请输入 默认汇率"
-              :disabled="detailData.status == 1"
-            ></el-input-number>
+            <el-input-number v-model="form.parities" size="small" :controls="false" style="width: 100%"
+              placeholder="请输入 默认汇率" :disabled="detailData.status == 1"></el-input-number>
           </template>
           <template slot="standardMoney">
-            <el-switch
-              v-model="form.standardMoney"
-              :active-value="1"
-              :inactive-value="0"
-              :disabled="detailData.status == 1"
-            >
+            <el-switch v-model="form.standardMoney" :active-value="1" :inactive-value="0"
+              :disabled="detailData.status == 1">
             </el-switch>
           </template>
           <template slot="button">
-            <el-button
-              size="small"
-              type="primary"
-              @click="createExRate"
-              :disabled="detailData.status == 1 || dataList.length != 0"
-              >产生汇率项目</el-button>
+            <el-button size="small" type="primary" @click="createExRate"
+              :disabled="detailData.status == 1 || dataList.length != 0">产生汇率项目</el-button>
           </template>
         </avue-form>
       </basic-container>
       <containerTitle title="基础明细"></containerTitle>
       <basic-container>
-        <avue-crud
-          ref="crud"
-          v-model="crudForm"
-          :option="optionList"
-          id="out-table"
-          :header-cell-class-name="headerClassName"
-          :data="dataList"
-          :table-loading="loading"
-          :cell-style="cellStyle"
-          @row-save="rowSave"
-          @row-update="rowUpdate"
-          @selection-change="selectionChange"
-        >
-            <!--<template slot="menuLeft">-->
-            <!--    <el-button-->
-            <!--        type="danger" plain-->
-            <!--        size="small"-->
-            <!--        @click.stop="BatchDelete"-->
-            <!--    >批量删除</el-button>-->
-            <!--</template>-->
-            <template v-if="!row.$cellEdit" slot="menu" slot-scope="{row}">
-                <el-button type="text"
-                           size="small"
-                           @click="editFun(row)">编辑
-                </el-button>
-                <el-button type="text"
-                           size="small"
-                           @click="rowDel(row)">删除
-                </el-button>
-            </template>
+        <el-tabs v-model="activeName" type="card" @tab-click="handleClick">
+          <el-tab-pane label="年" name="年汇率"></el-tab-pane>
+          <el-tab-pane label="月" name="月汇率"></el-tab-pane>
+          <el-tab-pane label="日" name="日汇率"></el-tab-pane>
+        </el-tabs>
+        <avue-crud ref="crud" v-model="crudForm" :option="optionList" id="out-table"
+          :header-cell-class-name="headerClassName" :data="dataList" :table-loading="loading" :cell-style="cellStyle"
+          @row-save="rowSave" @row-update="rowUpdate" @selection-change="selectionChange">
+          <!--<template slot="menuLeft">-->
+          <!--    <el-button-->
+          <!--        type="danger" plain-->
+          <!--        size="small"-->
+          <!--        @click.stop="BatchDelete"-->
+          <!--    >批量删除</el-button>-->
+          <!--</template>-->
+          <template v-if="!row.$cellEdit" slot="menu" slot-scope="{row}">
+            <el-button type="text" size="small" @click="editFun(row)">编辑
+            </el-button>
+            <el-button type="text" size="small" @click="rowDel(row)">删除
+            </el-button>
+          </template>
         </avue-crud>
       </basic-container>
     </div>
@@ -107,7 +64,7 @@
 </template>
 
 <script>
-import {typeSave, dataDetail, delItem, bcurexrateDetails, bcurexrateList} from "@/api/iosBasicData/rateManagement";
+import { typeSave, dataDetail, delItem, bcurexrateDetails, bcurexrateList } from "@/api/iosBasicData/rateManagement";
 import { optionList } from "./js/optionList";
 import reportDialog from "@/components/report-dialog/main";
 export default {
@@ -126,211 +83,212 @@ export default {
       option: {
         menuBtn: false,
         labelWidth: 100,
-        disabled:false,
+        disabled: false,
         column: [
-        {
-              label: "货币代码",
-              prop: "code",
-              span: 6,
-              rules: [{
-                required: true,
-                message: "请输入代码",
-                trigger: "blur"
-              }]
-            },
-            {
-              label: "国际三字码",
-              prop: "unCode",
-              span: 6,
-            },
-            {
-              label: "中文名称",
-              prop: "cnName",
-              span: 6,
-              rules: [{
-                required: true,
-                message: "请输入中文名称",
-                trigger: "blur"
-              }]
-            },
-            {
-              label: "英文名称",
-              prop: "enName",
-              span: 6,
-              rules: [{
-                required: true,
-                message: "请输入英文名称",
-                trigger: "blur"
-              }]
-            },
-            {
-              label: "货币符号",
-              prop: "symbol",
-              span: 6,
-            },
-            {
-              label: "是否本币",
-              prop: "isLocal",
-              type: "select",
-              span: 6,
-              dicData:[{
-                label:'非本币',
-                value:0
-              },{
-                label:'本币',
-                value:1
-              }],
+          {
+            label: "货币代码",
+            prop: "code",
+            span: 6,
+            rules: [{
+              required: true,
+              message: "请输入代码",
+              trigger: "blur"
+            }]
+          },
+          {
+            label: "国际三字码",
+            prop: "unCode",
+            span: 6,
+          },
+          {
+            label: "中文名称",
+            prop: "cnName",
+            span: 6,
+            rules: [{
+              required: true,
+              message: "请输入中文名称",
+              trigger: "blur"
+            }]
+          },
+          {
+            label: "英文名称",
+            prop: "enName",
+            span: 6,
+            rules: [{
+              required: true,
+              message: "请输入英文名称",
+              trigger: "blur"
+            }]
+          },
+          {
+            label: "货币符号",
+            prop: "symbol",
+            span: 6,
+          },
+          {
+            label: "是否本币",
+            prop: "isLocal",
+            type: "select",
+            span: 6,
+            dicData: [{
+              label: '非本币',
               value: 0
+            }, {
+              label: '本币',
+              value: 1
+            }],
+            value: 0
+          },
+          {
+            label: "对本币汇率",
+            prop: "exrate",
+            span: 6,
+          },
+          {
+            label: "国家代码",
+            prop: "cntyCode",
+            span: 6
+          },
+          {
+            label: "国家名称",
+            prop: "cntyName",
+            span: 6
+          },
+          {
+            label: "汇率类型",
+            prop: "paritiesType",
+            type: "select",
+            filterable: true,
+            clearable: false,
+            props: {
+              label: "dictValue",
+              value: "dictValue"
             },
-            {
-              label: "对本币汇率",
-              prop: "exrate",
-              span: 6,
-            },
-            {
-              label: "国家代码",
-              prop: "cntyCode",
-              span: 6
-            },
-            {
-              label: "国家名称",
-              prop: "cntyName",
-              span: 6
-            },
-            {
-              label: "汇率类型",
-              prop: "paritiesType",
-              type: "select",
-              filterable: true,
-              clearable: false,
-              props: {
-                label: "dictValue",
-                value: "dictValue"
+            dicData: [
+              {
+                dictValue: "年汇率",
+                dictKey: 0
               },
-              dicData: [
-                {
-                  dictValue: "年汇率",
-                  dictKey: 0
-                },
-                {
-                  dictValue: "月汇率",
-                  dictKey: 1
-                },
-                {
-                  dictValue: "日汇率",
-                  dictKey: 2
-                }
-              ],
-              span: 6,
-            },
-            {
-              label: "汇率年度",
-              prop: "annual",
-              type: "year",
-              valueFormat: "yyyy",
-              span: 6,
-            },
-            {
-              label: "月份",
-              prop: "moon",
-              type: "select",
-              filterable: true,
-              props: {
-                label: "dictValue",
-                value: "dictKey"
+              {
+                dictValue: "月汇率",
+                dictKey: 1
               },
-              dicData: [
-                {
-                  dictValue: "一月",
-                  dictKey: 1
-                },
-                {
-                  dictValue: "二月",
-                  dictKey: 2
-                },
-                {
-                  dictValue: "三月",
-                  dictKey: 3
-                },
-                {
-                  dictValue: "四月",
-                  dictKey: 4
-                },
-                {
-                  dictValue: "五月",
-                  dictKey: 5
-                },
-                {
-                  dictValue: "六月",
-                  dictKey: 6
-                },
-                {
-                  dictValue: "七月",
-                  dictKey: 7
-                },
-                {
-                  dictValue: "八月",
-                  dictKey: 8
-                },
-                {
-                  dictValue: "九月",
-                  dictKey: 9
-                },
-                {
-                  dictValue: "十月",
-                  dictKey: 10
-                },
-                {
-                  dictValue: "十一月",
-                  dictKey: 11
-                },
-                {
-                  dictValue: "十二月",
-                  dictKey: 12
-                },
-              ],
-              span: 6,
-              display: false,
-              rules: [
-                {
-                  required: true,
-                  message: " ",
-                  trigger: "change"
-                }
-              ]
+              {
+                dictValue: "日汇率",
+                dictKey: 2
+              }
+            ],
+            span: 6,
+          },
+          {
+            label: "汇率年度",
+            prop: "annual",
+            type: "year",
+            valueFormat: "yyyy",
+            span: 6,
+          },
+          {
+            label: "月份",
+            prop: "moon",
+            type: "select",
+            filterable: true,
+            props: {
+              label: "dictValue",
+              value: "dictKey"
             },
-            {
-              label: "状态",
-              prop: "status",
-              span: 6,
-              type: "select",
-              dicData:[{
-                label:'启用',
-                value:0
-              },{
-                label:'停用',
-                value:1
-              }],
+            dicData: [
+              {
+                dictValue: "一月",
+                dictKey: 1
+              },
+              {
+                dictValue: "二月",
+                dictKey: 2
+              },
+              {
+                dictValue: "三月",
+                dictKey: 3
+              },
+              {
+                dictValue: "四月",
+                dictKey: 4
+              },
+              {
+                dictValue: "五月",
+                dictKey: 5
+              },
+              {
+                dictValue: "六月",
+                dictKey: 6
+              },
+              {
+                dictValue: "七月",
+                dictKey: 7
+              },
+              {
+                dictValue: "八月",
+                dictKey: 8
+              },
+              {
+                dictValue: "九月",
+                dictKey: 9
+              },
+              {
+                dictValue: "十月",
+                dictKey: 10
+              },
+              {
+                dictValue: "十一月",
+                dictKey: 11
+              },
+              {
+                dictValue: "十二月",
+                dictKey: 12
+              },
+            ],
+            span: 6,
+            display: false,
+            rules: [
+              {
+                required: true,
+                message: " ",
+                trigger: "change"
+              }
+            ]
+          },
+          {
+            label: "状态",
+            prop: "status",
+            span: 6,
+            type: "select",
+            dicData: [{
+              label: '启用',
               value: 0
-            },
-            {
-              label: "备注",
-              prop: "remarks",
-              type: 'textarea',
-              width: "180",
-              span: 24,
-              minRows: 3,
-              slot: true
-            },
-            {
-              prop: "button",
-              span: 6
-            }
+            }, {
+              label: '停用',
+              value: 1
+            }],
+            value: 0
+          },
+          {
+            label: "备注",
+            prop: "remarks",
+            type: 'textarea',
+            width: "180",
+            span: 24,
+            minRows: 3,
+            slot: true
+          },
+          {
+            prop: "button",
+            span: 6
+          }
 
         ]
       },
       optionList: optionList,
-      selectionList:[],
+      selectionList: [],
+      activeName: '月汇率'
     };
   },
   props: {
@@ -347,67 +305,70 @@ export default {
       this.getDetail(this.detailData.id);
     }
     if (this.detailData.status == 1) {
-         this.$set(this.option,'disabled',true)
+      this.$set(this.option, 'disabled', true)
     }
     this.optionList.height = 450;
   },
   methods: {
+    handleClick(row) {
+      this.form.paritiesType = this.activeName
+    },
     // 编辑明细
-    editFun(row){
-        console.log(row,'编辑')
-        this.$refs.crud.rowCell(row, row.$index)
+    editFun(row) {
+      console.log(row, '编辑')
+      this.$refs.crud.rowCell(row, row.$index)
 
     },
     // 编辑点击保存
-    rowSave(row,done,loading){
-        done(row)
+    rowSave(row, done, loading) {
+      done(row)
     },
     // 编辑点击保存
-    rowUpdate(row, index, done, loading){
-        done(row);
+    rowUpdate(row, index, done, loading) {
+      done(row);
     },
     // 批量删除
-    BatchDelete(){
-        if (this.selectionList.length === 0) {
-            this.$message.warning("请选择至少一条数据");
-            return;
-        }
-        this.$confirm("确定将选择数据删除?", {
-            confirmButtonText: "确定",
-            cancelButtonText: "取消",
-            type: "warning"
-        }).then(()=>{
-            let arrId = this.selectionList.map(item=>{
-                return item.id
-            })
-            bcurexrateDetails(arrId.join(',')).then(res=>{
-                this.$message.success('操作成功')
-                this.getDetail(this.form.id)
-            })
+    BatchDelete() {
+      if (this.selectionList.length === 0) {
+        this.$message.warning("请选择至少一条数据");
+        return;
+      }
+      this.$confirm("确定将选择数据删除?", {
+        confirmButtonText: "确定",
+        cancelButtonText: "取消",
+        type: "warning"
+      }).then(() => {
+        let arrId = this.selectionList.map(item => {
+          return item.id
         })
+        bcurexrateDetails(arrId.join(',')).then(res => {
+          this.$message.success('操作成功')
+          this.getDetail(this.form.id)
+        })
+      })
     },
     // 删除
-    rowDel(row){
-        this.$confirm("确定将选择数据删除?", {
-            confirmButtonText: "确定",
-            cancelButtonText: "取消",
-            type: "warning"
-        }).then(()=>{
-            bcurexrateDetails(row.id).then(res=>{
-                this.$message.success('操作成功')
-                this.dataList.splice(row.$index, 1)
-            })
+    rowDel(row) {
+      this.$confirm("确定将选择数据删除?", {
+        confirmButtonText: "确定",
+        cancelButtonText: "取消",
+        type: "warning"
+      }).then(() => {
+        bcurexrateDetails(row.id).then(res => {
+          this.$message.success('操作成功')
+          this.dataList.splice(row.$index, 1)
         })
+      })
     },
-    selectionChange(list){
-        this.selectionList = list;
+    selectionChange(list) {
+      this.selectionList = list;
     },
     cellStyle() {
       return "padding:0;height:40px;";
     },
     // 详情
     getDetail(id) {
-        this.allloading = true
+      this.allloading = true
       dataDetail(id)
         .then(res => {
           this.form = res.data.data
@@ -430,17 +391,17 @@ export default {
           if (this.form.id) {
             // delItem({ id: this.form.id }).then(res => {
             //   if (res.data.code == 200) {
-                typeSave({
-                  ...this.form,
-                  curExrateList: this.dataList
-                })
-                  .then(res => {
-                    this.$message.success("保存成功");
-                    this.getDetail(res.data.data.id);
-                  })
-                  .finally(() => {
-                    this.loadingBtn = false;
-                  });
+            typeSave({
+              ...this.form,
+              curExrateList: this.dataList
+            })
+              .then(res => {
+                this.$message.success("保存成功");
+                this.getDetail(res.data.data.id);
+              })
+              .finally(() => {
+                this.loadingBtn = false;
+              });
             //   }
             // });
           } else {
@@ -462,8 +423,8 @@ export default {
       });
     },
     openEdit() {
-        this.$set(this.detailData,'status',2)
-        this.$set(this.option,'disabled',false)
+      this.$set(this.detailData, 'status', 2)
+      this.$set(this.option, 'disabled', false)
       // const data = {
       //   moduleName: "xxb",
       //   tableName: "primary_school",
@@ -473,7 +434,7 @@ export default {
       // };
       // this.checkLock(data).then(res => {
       //   if (res.data.code == 200) {
-        // 上锁接口
+      // 上锁接口
       //     this.onLock(data).then(re => {
       //       if (re.data.code == 200) {
       //           this.$set(this.detailData,'status',2)
@@ -524,17 +485,17 @@ export default {
               code: this.form.code,
               cnName: this.form.cnName,
               enName: this.form.enName,
-              type:this.form.paritiesType
+              type: this.form.paritiesType
             };
             this.dataList.push(data);
             typeSave({
-                ...this.form,
-                curExrateList: this.dataList
+              ...this.form,
+              curExrateList: this.dataList
             }).then(res => {
-                this.$message.success("操作成功");
-                this.getDetail(res.data.data.id);
+              this.$message.success("操作成功");
+              this.getDetail(res.data.data.id);
             }).finally(() => {
-                this.loadingBtn = false;
+              this.loadingBtn = false;
             });
           } else if (this.form.paritiesType == "月汇率") {
             this.form.exrateMonth = "";
@@ -550,18 +511,18 @@ export default {
                 code: this.form.code,
                 cnName: this.form.cnName,
                 enName: this.form.enName,
-                type:this.form.paritiesType
+                type: this.form.paritiesType
               };
               this.dataList.push(data);
             }
             typeSave({
-                ...this.form,
-                curExrateList: this.dataList
+              ...this.form,
+              curExrateList: this.dataList
             }).then(res => {
-                this.$message.success("操作成功");
-                this.getDetail(res.data.data.id);
+              this.$message.success("操作成功");
+              this.getDetail(res.data.data.id);
             }).finally(() => {
-                this.loadingBtn = false;
+              this.loadingBtn = false;
             });
           } else if (this.form.paritiesType == "日汇率") {
             const days = this.getCountDays(this.form.annual, this.form.moon);
@@ -582,15 +543,15 @@ export default {
               };
               this.dataList.push(data);
             }
-              typeSave({
-                  ...this.form,
-                  curExrateList: this.dataList
-              }).then(res => {
-                  this.$message.success("操作成功");
-                  this.getDetail(res.data.data.id);
-              }).finally(() => {
-                  this.loadingBtn = false;
-              });
+            typeSave({
+              ...this.form,
+              curExrateList: this.dataList
+            }).then(res => {
+              this.$message.success("操作成功");
+              this.getDetail(res.data.data.id);
+            }).finally(() => {
+              this.loadingBtn = false;
+            });
           }
         }
       });
@@ -615,70 +576,97 @@ export default {
       }
     },
 
-        // 更改表格颜色
-        headerClassName(tab){
-            //颜色间隔
-            let back = ""
-            if (tab.columnIndex >= 0 && tab.column.level === 1) {
-                if (tab.columnIndex % 2 === 0) {
-                    back = "back-one"
-                } else if (tab.columnIndex % 2 === 1) {
-                    back = "back-two"
-                }
-            }
-            return back;
-        },
+    // 更改表格颜色
+    headerClassName(tab) {
+      //颜色间隔
+      let back = ""
+      if (tab.columnIndex >= 0 && tab.column.level === 1) {
+        if (tab.columnIndex % 2 === 0) {
+          back = "back-one"
+        } else if (tab.columnIndex % 2 === 1) {
+          back = "back-two"
+        }
+      }
+      return back;
+    },
   },
   watch: {
-    "form.paritiesType":{
-        // 执行方法
-        handler(row,newValue) {
-            let obj = {
-                current:1,
-                size:20,
-                type:row,
-                code:this.form.code,
-                exrateYear:this.form.annual
-            }
-            if (row == "日汇率") {
-                this.findObject(this.option.column, "moon").display = true;
-                // this.findObject(this.option.column, "annual").display = false;
-            } else if (row == "月汇率") {
-                this.findObject(this.option.column, "moon").display = false;
-                // this.findObject(this.option.column, "annual").display = false;
-            } else {
-                this.findObject(this.option.column, "moon").display = false;
-                // this.findObject(this.option.column, "annual").display = true;
-            }
-            if (this.form.code) {
-                // 查明细信息
-                bcurexrateList(obj).then(res=>{
-                    this.dataList = res.data.data.records;
-                })
-            }
-        },
-        deep: false, // 深度监听
-        immediate: false  // 第一次改变就执行
+    "form.paritiesType": {
+      // 执行方法
+      handler(row, newValue) {
+        console.log(row)
+        this.activeName=row
+        let obj = {
+          current: 1,
+          size: 20,
+          type: row,
+          code: this.form.code,
+          exrateYear: this.form.annual,
+          
+        }
+        if(row=='日汇率'){
+          obj.exrateMonth=this.form.moon
+        }
+        if (row == "日汇率") {
+          this.findObject(this.option.column, "moon").display = true;
+          // this.findObject(this.option.column, "annual").display = false;
+        } else if (row == "月汇率") {
+          this.findObject(this.option.column, "moon").display = false;
+          // this.findObject(this.option.column, "annual").display = false;
+        } else {
+          this.findObject(this.option.column, "moon").display = false;
+          // this.findObject(this.option.column, "annual").display = true;
+        }
+        if (this.form.code) {
+          // 查明细信息
+          bcurexrateList(obj).then(res => {
+            this.dataList = res.data.data.records;
+          })
+        }
+      },
+      deep: false, // 深度监听
+      immediate: false  // 第一次改变就执行
     },
-    "form.annual":{
-        // 执行方法
-        handler(row,newValue) {
-            let obj = {
-                current: 1,
-                size: 20,
-                type: this.form.paritiesType,
-                code: this.form.code,
-                exrateYear: row
-            }
-            if (this.form.code) {
-                // 查明细信息
-                bcurexrateList(obj).then(res=>{
-                    this.dataList = res.data.data.records;
-                })
-            }
-        },
-        deep: false, // 深度监听
-        immediate: false  // 第一次改变就执行
+    "form.annual": {
+      // 执行方法
+      handler(row, newValue) {
+        let obj = {
+          current: 1,
+          size: 20,
+          type: this.form.paritiesType,
+          code: this.form.code,
+          exrateYear: row
+        }
+        if (this.form.code) {
+          // 查明细信息
+          bcurexrateList(obj).then(res => {
+            this.dataList = res.data.data.records;
+          })
+        }
+      },
+      deep: false, // 深度监听
+      immediate: false  // 第一次改变就执行
+    },
+    "form.moon":{
+      handler(row, newValue) {
+        let obj = {
+          current: 1,
+          size: 20,
+          type: this.form.paritiesType,
+          code: this.form.code,
+          exrateYear: row,
+          exrateMonth:this.form.moon
+          
+        }
+        if (this.form.code) {
+          // 查明细信息
+          bcurexrateList(obj).then(res => {
+            this.dataList = res.data.data.records;
+          })
+        }
+      },
+      deep: false, // 深度监听
+      immediate: false  // 第一次改变就执行
     }
   }
 };
@@ -689,22 +677,26 @@ export default {
 .trading-form ::v-deep .el-form-item {
   margin-bottom: 4px !important;
 }
+
 ::v-deep .el-form-item__error {
   display: none !important;
 }
+
 .schoolupload ::v-deep .el-upload-list {
   display: none;
 }
+
 .abnormal ::v-deep .el-dialog__body {
   padding: 10px 20px;
 }
 
 ::v-deep#out-table .back-one {
-        background: #ecf5ff !important;
-    }
-    ::v-deep#out-table .back-two {
-        background: #ecf5ff !important;
-    }
+  background: #ecf5ff !important;
+}
+
+::v-deep#out-table .back-two {
+  background: #ecf5ff !important;
+}
 
 .headerCellClass {
   color: #fff !important;

+ 1 - 0
src/views/iosBasicData/rateManagement/index.vue

@@ -186,6 +186,7 @@ export default {
         this.editOpen({ id: this.$route.query.check.billId }, 1);
       }, 100);
     }
+    this.getmesageList()
   },
   mounted(){
     this.getmesageList()