<template>
  <div class="app-container">
    <div class="flexBet searchTop">
      <!-- <div class="title flex m20">
        <div class="bar"></div>
        <div class="text">未完成提现订单</div>
      </div> -->

    </div>

    <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="106px" class="flex form"
      style="position: relative">
      <el-form-item label="码商名称" prop="carddealerName">
        <el-input size="medium" v-model="queryParams.carddealerName" placeholder="请输入码商名称"
          @keyup.enter.native="handleQuery" style="width: 180px; border-color: #e6f1ff" />
      </el-form-item>

      <el-form-item label="订单号" prop="orderNo">
        <el-input size="medium" v-model="queryParams.orderNo" placeholder="请输入订单号" @keyup.enter.native="handleQuery"
          style="width: 180px; border-color: #e6f1ff" />
      </el-form-item>
      <el-form-item label="商户订单号" prop="merchantOrderNo">
        <el-input size="medium" v-model="queryParams.merchantOrderNo" placeholder="请输入商户订单号"
          @keyup.enter.native="handleQuery" style="width: 180px; border-color: #e6f1ff" />
      </el-form-item>

      <el-form-item label="创建时间">
        <el-date-picker v-model="dateRange" size="small" style="width: 340px" value-format="yyyy-MM-dd HH:mm:ss"
          type="datetimerange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期" :unlink-panels="true"
          :default-time="['00:00:00', '23:59:59']"></el-date-picker>
      </el-form-item>
      <el-form-item>
        <div class="searchTop flexBet" style="align-items: center">
          <el-row :gutter="10" class="mb8">
            <el-button type="primary" icon="" size="medium" @click="handleQuery">搜索</el-button>
            <el-button icon="el-icon-refresh" size="medium" @click="resetQuery">重置</el-button>
          </el-row>

          <!-- <el-row :gutter="10" class="mb8" style="margin-left: 20px">
              <el-col :span="1.5">
                <el-button type="primary" plain icon="" size="medium" @click="handleExport()">导出</el-button>
              </el-col>
            </el-row> -->
        </div>
      </el-form-item>
    </el-form>

    <!-- <el-row :gutter="10" class="mb8">
        <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
      </el-row> -->

    <div class="bg">


      <el-table stripe :data="infoList" v-loading="loading" :row-class-name="tableRowClassName">
        <el-table-column label="订单号" align="center" prop="orderNo" />
        <el-table-column label="商户订单号" align="center" prop="merchantOrderNo" />
        <el-table-column label="码商名称" align="center" prop="carddealerName" />
        <el-table-column :label="'申请金额'" align="center" prop="reqAmount">
          <template slot-scope="scope">
            {{ parseFloat(NumberDiv(scope.row.reqAmount, 100)).toFixed(2) }}
          </template>
        </el-table-column>

        <el-table-column :label="'实际支付金额'" align="center" prop="payeeRealAmount">
          <template slot-scope="scope">
            {{ parseFloat(NumberDiv(scope.row.payeeRealAmount, 100)).toFixed(2) }}
          </template>
        </el-table-column>

        <el-table-column :label="'手续费'" align="center" prop="merchantFee">
          <template slot-scope="scope">
            {{ parseFloat(NumberDiv(scope.row.merchantFee, 100)).toFixed(2) }}
          </template>
        </el-table-column>

        <el-table-column :label="'实际扣减金额'" align="center" prop="decreaseAmount">
          <template slot-scope="scope">
            {{ parseFloat(NumberDiv(scope.row.decreaseAmount, 100)).toFixed(2) }}
          </template>
        </el-table-column>
        <el-table-column :label="'可申请金额'" align="center" prop="applicableAmount">
          <template slot-scope="scope">
            {{ parseFloat(NumberDiv(scope.row.applicableAmount, 100)).toFixed(2) }}
          </template>
        </el-table-column>
        <el-table-column label="备注" align="center" prop="remark" />

        <el-table-column label="银行名称" align="center" prop="bankName" />
        <el-table-column label="卡号" align="center" prop="cardNumber" />
        <el-table-column label="姓名" align="center" prop="accountName" />
        <el-table-column label="开户行" align="center" prop="branchName" />
        <el-table-column :label="'状态'" align="center" prop="payeeRealAmount">
          <template slot-scope="scope">
            {{ scope.row.orderStatus == 1 ? '待支付' : scope.row.orderStatus == 2 ? '支付成功' : '支付失败' }}
          </template>
        </el-table-column>
        <el-table-column label="创建时间" align="center" prop="createTime" min-width="180" />
        <el-table-column label="更新时间" align="center" prop="updateTime" min-width="180" />

        <el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right" min-width="150">
          <template slot-scope="scope">
            <el-button size="small" type="text" @click="switchStatusChange(scope.row, 'status')" style="color: #006eff">
              {{ scope.row.canRace == 1 ? '锁定' : '解锁' }}
            </el-button>
            <el-button size="small" type="text" @click="handleToOther(scope.row)" style="color: #006eff">分配</el-button>
            <el-button size="small" type="text" @click="handleOut(scope.row)" style="color: #006eff">关闭</el-button>
            <el-button size="small" type="text" @click="handleSuccess(scope.row)" style="color: #006eff">成功</el-button>
            <el-button size="small" type="text" @click="handleView(scope.row)" style="color: #006eff">详情</el-button>
            <el-button size="small" type="text" @click="handleSonOrder(scope.row)" style="color: #006eff">子单</el-button>
          </template>
        </el-table-column>
      </el-table>
      <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
        @pagination="getList">
      </pagination>
    </div>

    <!-- 详情 -->
    <el-dialog v-dialogDrag :close-on-click-modal="false" :title="detailTitle" :visible.sync="isShowDetail" width="40%"
      append-to-body>
      <el-form label-width="142px" :label-suffix="':'">
        <div style="display: flex;justify-content: space-around;">
          <div class="card-detail">
            <el-form-item label="平台单号">
              {{ detailInfoList.orderNo }}
            </el-form-item>
            <el-form-item label="可申请金额">
              {{ parseFloat(NumberDiv(detailInfoList.applicableAmount, 100)).toFixed(2) }}
            </el-form-item>
            <el-form-item label="商户名称">
              {{ detailInfoList.merchantName }}
            </el-form-item>
            <el-form-item label="实际扣减金额">
              {{ parseFloat(NumberDiv(detailInfoList.decreaseAmount, 100)).toFixed(2) }}
            </el-form-item>
            <el-form-item label="订单请求金额">
              {{ parseFloat(NumberDiv(detailInfoList.reqAmount, 100)).toFixed(2) }}
            </el-form-item>
            <el-form-item label="创建时间">
              {{ detailInfoList.createTime }}
            </el-form-item>
            <el-form-item label="到账金额">
              {{ parseFloat(NumberDiv(detailInfoList.payeeRealAmount, 100)).toFixed(2) }}
            </el-form-item>
            <el-form-item label="通道">
              {{ detailInfoList.platformChannelName }}
            </el-form-item>
            <el-form-item label="更新时间">
              {{ detailInfoList.updateTime }}
            </el-form-item>
          </div>
          <div class="card-detail">
            <el-form-item label="订单状态">
              {{ detailInfoList.orderStatus == 1 ? '待支付' : detailInfoList.orderStatus == 2 ? '支付成功' : '支付失败' }}
            </el-form-item>
            <el-form-item label="开户行">
              {{ detailInfoList.branchName }}
            </el-form-item>
            <el-form-item label="收款卡号">
              {{ detailInfoList.cardNumber }}
            </el-form-item>
            <el-form-item label="提现备注">
              {{ detailInfoList.remark }}
            </el-form-item>


            <el-form-item label="银行名称">
              {{ detailInfoList.bankName }}
            </el-form-item>

            <el-form-item label="收款人">
              {{ detailInfoList.accountName }}
            </el-form-item>

          </div>
        </div>

      </el-form>
    </el-dialog>

    <!-- 子单列表 -->
    <el-dialog v-dialogDrag title="子单列表" :visible.sync="pkCouponScopeRangeParkingStoreOpen" width="80%" append-to-body
      :close-on-click-modal="false">
      <pkCouponScopeRangeStoreList v-if="pkCouponScopeRangeParkingStoreOpen" :pkCouponStore="pkCouponStore"
        :pkCouponId="pkCouponStoreId">
      </pkCouponScopeRangeStoreList>
    </el-dialog>

    <!-- 分配 -->
    <el-dialog title="分配" :visible.sync="openOther" width="500px" append-to-body>
      <el-form ref="form" :model="form" :rules="rules" label-width="110px">
        <el-form-item label="码商" prop="carddealerId">
          <!-- @change="getValue" -->
          <el-select v-model="form.carddealerId" placeholder="请选择码商" clearable size="medium">
            <el-option v-for="(item, i) in carddealerCon" :key="i" :label="item.username" :value="item.id"></el-option>
          </el-select>
        </el-form-item>
        <!-- cardId -->
        <!-- <el-form-item label="付款卡" prop="">
          <el-select v-model="form.cardId" placeholder="请选择付款卡" clearable size="medium" @change="change">
            <el-option v-for="(item, i) in cardCon" :key="i" :label="item.bankName" :value="item.id"></el-option>
          </el-select>
        </el-form-item> -->
        <el-form-item label="金额" prop="amount">
          <el-input v-model="form.amount" placeholder="请输入金额" style="width:300px" @input="change" />
          <div>剩余可分配金额：{{ parseFloat(detailInfoList.applicableAmount).toFixed(2) }}</div>
        </el-form-item>

      </el-form>
      <div slot="footer" class="dialog-footer">
        <el-button type="primary" @click="submitForm()">保 存</el-button>
        <el-button @click="cancel">取 消</el-button>
      </div>
    </el-dialog>

  </div>
</template>
  
<script>
import { listTransferOrder, getTransferOrder, delTransferOrder, addTransferOrder, updateTransferOrder, exportTransferOrder } from "@/api/order/TransferOrder";
import { payOutOrder, common_api } from "@/api/form";
import pkCouponScopeRangeStoreList from "./pkCouponScopeRangeStoreList2";
import cardMerchantOrderRefreshMixin from "@/api/cardMerchantOrderRefresh.mixin";

export default {
  name: "TransferOrder",
  dicts: ['collection_order_status'],
  components: { pkCouponScopeRangeStoreList },
  mixins: [cardMerchantOrderRefreshMixin],

  data() {
    return {
      // 码商列表
      carddealerCon: [],
      // 卡列表
      cardCon: [],
      pkCouponScopeRangeParkingStoreOpen: false,
      pkCouponStore: {},
      pkCouponStoreId: '',

      // 显示详情
      isShowDetail: false,
      // 详情
      detailTitle: "",
      // 详情的数据
      detailInfoList: {},
      dateRange: [],
      // 遮罩层
      loading: true,
      // 选中数组
      ids: [],
      // 非单个禁用
      single: true,
      // 非多个禁用
      multiple: true,
      // 显示搜索条件
      showSearch: true,
      // 总条数
      total: 0,
      // 代付订单表格数据
      infoList: [],
      // 弹出层标题
      title: "",
      // 是否显示弹出层
      open: false,
      openOther: false,

      // 查询参数
      queryParams: {
        pageNum: 1,
        pageSize: 10,
        orderNo: null,
        merchantOrderNo: null,
        merchantNo: null,
        merchantFee: null,
        merchantRate: null,
        merchantSingleFee: null,
        decreaseAmount: null,
        orderStatus: 1,
        bankName: null,
        accountName: null,
        cardNumber: null,
        branchName: null,
        notifyStatus: null,
        payeeRealAmount: null,
        orderSource: 4,
        mode: null,
        applicableAmount: null,
        merchantFrozenAmount: null,
        batchNo: null,
        merchantName: null,
        orderAmount: null,
        reqAmount: null,
      },
      showAll: [
        {
          label: '接口',
          value: 1,
        },
        {
          label: '商户提现',
          value: 2,
        },
        {
          label: '商户后台付款',
          value: 3,
        },
      ],
      // 表单参数
      form: {},
      // 表单校验
      rules: {
        amount: [
          { required: true, message: "金额不能为空", trigger: "blur" }
        ],
        carddealerId: [
          { required: true, message: "码商不能为空", trigger: "blur" }
        ],
        // cardId: [
        //   { required: true, message: "付款卡不能为空", trigger: "blur" }
        // ],
        orderNo: [
          { required: true, message: "平台订单号不能为空", trigger: "blur" }
        ],
        merchantOrderNo: [
          { required: true, message: "商户订单号不能为空", trigger: "blur" }
        ],
        merchantId: [
          { required: true, message: "商户id不能为空", trigger: "blur" }
        ],
        merchantNo: [
          { required: true, message: "商户编号不能为空", trigger: "blur" }
        ],
        reqAmount: [
          { required: true, message: "订单请求金额不能为空", trigger: "blur" }
        ],
        merchantFee: [
          { required: true, message: "商户手续费不能为空", trigger: "blur" }
        ],
        merchantRate: [
          { required: true, message: "商户费率不能为空", trigger: "blur" }
        ],
        merchantSingleFee: [
          { required: true, message: "商户单笔手续费不能为空", trigger: "blur" }
        ],
        decreaseAmount: [
          { required: true, message: "账户扣除的金额不能为空", trigger: "blur" }
        ],
        orderStatus: [
          { required: true, message: "订单状态: 1-待支付; 2-支付成功; 3-支付失败不能为空", trigger: "blur" }
        ],
        platformChannelId: [
          { required: true, message: "平台通道id不能为空", trigger: "blur" }
        ],
        channelCode: [
          { required: true, message: "通道代码(来自platform_channel表channel_code)不能为空", trigger: "blur" }
        ],
        createTime: [
          { required: true, message: "创建时间不能为空", trigger: "blur" }
        ],
        updateTime: [
          { required: true, message: "更新时间不能为空", trigger: "blur" }
        ],
        notifyUrl: [
          { required: true, message: "异步通知地址不能为空", trigger: "blur" }
        ],
        returnUrl: [
          { required: true, message: "同步跳转地址不能为空", trigger: "blur" }
        ],
        bankName: [
          { required: true, message: "收款银行名称不能为空", trigger: "blur" }
        ],
        accountName: [
          { required: true, message: "银行卡开户名不能为空", trigger: "blur" }
        ],
        cardNumber: [
          { required: true, message: "收款卡号不能为空", trigger: "blur" }
        ],
        branchName: [
          { required: true, message: "支行名称不能为空", trigger: "blur" }
        ],
        remark: [
          { required: true, message: "付款备注不能为空", trigger: "blur" }
        ],
        bankCode: [
          { required: true, message: "银行代码(ifsc_code)不能为空", trigger: "blur" }
        ],
        notifyStatus: [
          { required: true, message: "异步通知状态(0未通知,1成功,2通知进行中,3超时)不能为空", trigger: "blur" }
        ],
        notifyFailTimes: [
          { required: true, message: "通知失败次数不能为空", trigger: "blur" }
        ],
        nextNotifyTime: [
          { required: true, message: "下次通知时间不能为空", trigger: "blur" }
        ],
        payeeRealAmount: [
          { required: true, message: "收款方实际到账金额不能为空", trigger: "blur" }
        ],
        failReason: [
          { required: true, message: "订单支付失败的原因不能为空", trigger: "blur" }
        ],
        orderSource: [
          { required: true, message: "代付订单来源;1-接口; 2-商户提现；3-商户后台付款不能为空", trigger: "blur" }
        ],
        mode: [
          { required: true, message: "模式：test|pro(测试|生产)不能为空", trigger: "blur" }
        ],
        canSplit: [
          { required: true, message: "是否可拆分为多个子单付款(1可拆,2不可拆)不能为空", trigger: "blur" }
        ],
        applicableAmount: [
          { required: true, message: "供子订单可申请的金额不能为空", trigger: "blur" }
        ],
        canRace: [
          { required: true, message: "卡商是否可进行抢单(1可抢,2不可抢)不能为空", trigger: "blur" }
        ],
        merchantFrozenAmount: [
          { required: true, message: "商户冻结金额不能为空", trigger: "blur" }
        ],
        isCommission: [
          { required: true, message: "是否已经分佣(1是，2否)不能为空", trigger: "blur" }
        ],
        batchNo: [
          { required: true, message: "批量付款批次号不能为空", trigger: "blur" }
        ],
        batchRowNo: [
          { required: true, message: "批量付款批次行号不能为空", trigger: "blur" }
        ],
        isCrypto: [
          { required: true, message: "是否加密货币不能为空", trigger: "blur" }
        ],
        recvAddr: [
          { required: true, message: "收款地址不能为空", trigger: "blur" }
        ],
        queryTime: [
          { required: true, message: "最后查询时间不能为空", trigger: "blur" }
        ]
      }
    };
  },
  created() {
    this.getList();
    this.init()
  },
  methods: {
    tableRowClassName({ row, rowIndex }) {
      if (row.autoConfirm == 2 && row.payeeRealAmount == row.reqAmount) {
        return "greyOrder";
      }
      if (row.canRace == 1) {
        return "blueOrder";
      }
      if (row.orderStatus == 3) {
        return "redOrder";
      }
      if (this.NumberDiv(row.reqAmount, 100) != this.NumberDiv(row.paymentAmount, 100)) {
        return "yellowOrder";
      }
      if (row.orderStatus == 2) {
        return "greenOrder";
      }
    },
    /** 成功按钮操作 */
    handleSuccess(row) {
      const ids = row.orderNo || this.ids;
      this.$confirm('是否确认订单编号为"' + ids + '"的数据项?', "警告", {
        confirmButtonText: "确定",
        cancelButtonText: "取消",
        type: "warning"
      }).then(function () {
        return payOutOrder.setPayOrderSuccess({
          orderNo: ids,
          isSuccess: 1
        });
      }).then(() => {
        this.getList();
        this.msgSuccess("操作成功");
      })
    },
    /** 关闭按钮操作 */
    handleOut(row) {
      const ids = row.orderNo || this.ids;
      this.$confirm('是否确认关闭订单编号为"' + ids + '"的数据项?', "警告", {
        confirmButtonText: "确定",
        cancelButtonText: "取消",
        type: "warning"
      }).then(function () {
        return payOutOrder.setPayOrderSuccess({
          orderNo: ids,
          isSuccess: 2
        });
      }).then(() => {
        this.getList();
        this.msgSuccess("操作成功");
      })
    },
    change() {
      this.$forceUpdate()
    },

    init() {
      common_api.carddealerChannelAll().then((response) => {
        this.carddealerCon = response.data;
      });
    },
    // 分配
    handleToOther(row) {
      this.reset()
      const id = row.orderNo;
      getTransferOrder(id).then((response) => {
        this.detailInfoList = response.data;
        this.detailInfoList.applicableAmount = this.NumberDiv(this.detailInfoList.applicableAmount, 100)
        this.form.amount = this.detailInfoList.applicableAmount
        this.form.orderNo = this.detailInfoList.orderNo
        this.openOther = true;
      });
    },
    // 禁用启用
    switchStatusChange(row) {
      this.reset()
      const id = row.orderNo || this.ids;
      getTransferOrder(id).then((response) => {
        this.form = response.data;
        // row.status == 1 ? this.form.status = 0 : this.form.status = 1
        payOutOrder.addUnlock({
          orderNo: this.form.orderNo
        }).then((res) => {
          if (res.code === 200) {
            this.$message.success("编辑成功");
            this.getList()
          }
        });
      });
    },
    // 查看子单
    handleSonOrder(row) {
      this.pkCouponStore = row;
      this.pkCouponStoreId = row.orderNo;
      this.pkCouponScopeRangeParkingStoreOpen = true;
    },
    // 通知
    handleNotify(row) {
      this.reset()
      payOutOrder.notify(row.orderNo).then(response => {
        this.msgSuccess("操作成功");
        this.getList();
      });
    },
    // 凭证
    getCertificate(row) {
      this.reset()
      this.$confirm('是否确认下载凭证?', "警告", {
        confirmButtonText: "确定",
        cancelButtonText: "取消",
        type: "warning"
      }).then(function () {
        return payOutOrder.getCertificate(row.orderNo);
      }).then(response => {
        for (var i = 0; i < response.data.length; i++) {
          this.handleDownloadQrIMg(response.data[i]);
        }
      })
    },
    //qrBase64是后台传回来的base64数据
    handleDownloadQrIMg(qrBase64) {
      // 这里是获取到的图片base64编码,这里只是个例子哈，要自行编码图片替换这里才能测试看到效果
      const imgUrl = qrBase64
      // 如果浏览器支持msSaveOrOpenBlob方法（也就是使用IE浏览器的时候），那么调用该方法去下载图片
      if (window.navigator.msSaveOrOpenBlob) {
        const bstr = atob(imgUrl.split(',')[1])
        let n = bstr.length
        const u8arr = new Uint8Array(n)
        while (n--) {
          u8arr[n] = bstr.charCodeAt(n)
        }
        const blob = new Blob([u8arr])
        window.navigator.msSaveOrOpenBlob(blob, 'chart-download' + '.' + 'png')
      } else {
        // 这里就按照chrome等新版浏览器来处理
        const a = document.createElement('a')
        a.href = imgUrl
        a.setAttribute('download', 'chart-download')
        a.click()
      }
    },
    timerHandler() {
      listTransferOrder(this.addSESDateRange(this.queryParams, this.dateRange)).then(response => {
        this.infoList = response.rows;
        this.total = Number(response.total);
      });
    },
    /** 查询代付订单列表 */
    getList() {
      this.loading = true;
      listTransferOrder(this.addSESDateRange(this.queryParams, this.dateRange)).then(response => {
        this.infoList = response.rows;
        this.total = Number(response.total);
        this.loading = false;
        this.startTimer(this.queryParams)
      });
    },
    // 取消按钮
    cancel() {
      this.open = false;
      this.openOther = false,
        this.reset();
    },
    // 表单重置
    reset() {
      this.form = {

      };
      this.resetForm("form");
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
      this.getList();
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.dateRange = []
      this.resetForm("queryForm");
      this.handleQuery();
    },
    // 多选框选中数据
    handleSelectionChange(selection) {
      this.ids = selection.map(item => item.id)
      this.single = selection.length !== 1
      this.multiple = !selection.length
    },
    /** 新增按钮操作 */
    handleAdd() {
      this.reset();
      this.open = true;
      this.title = "添加代付订单";
    },
    // 查看详情
    handleView(row) {
      const id = row.orderNo;
      getTransferOrder(id).then((response) => {
        this.detailInfoList = response.data;
        this.isShowDetail = true;
        this.detailTitle = "详情";
      });
    },
    /** 修改按钮操作 */
    handleUpdate(row) {
      this.reset();
      const id = row.id || this.ids
      getTransferOrder(id).then(response => {
        this.form = response.data;
        this.open = true;
        this.title = "修改代付订单";
      });
    },
    /** 提交按钮 */
    submitForm() {
      this.$refs["form"].validate(valid => {
        if (valid) {
          let amount;
          if (this.form.amount) {
            amount = this.NumberMul(this.form.amount, 100)
          }
          payOutOrder.distributionOrder({
            amount: amount,
            orderNo: this.form.orderNo,
            carddealerId: this.form.carddealerId,
          }).then(response => {
            this.msgSuccess("操作成功");
            this.openOther = false;
            this.getList();
          });
        }
      });
    },
    /** 删除按钮操作 */
    handleDelete(row) {
      const ids = row.id || this.ids;
      this.$confirm('是否确认删除代付订单编号为"' + ids + '"的数据项?', "警告", {
        confirmButtonText: "确定",
        cancelButtonText: "取消",
        type: "warning"
      }).then(function () {
        return delTransferOrder(ids);
      }).then(() => {
        this.getList();
        this.msgSuccess("删除成功");
      })
    },
    /** 导出按钮操作 */
    handleExport() {
      const queryParams = this.queryParams;
      this.$confirm('是否确认导出所有代付订单数据项?', "警告", {
        confirmButtonText: "确定",
        cancelButtonText: "取消",
        type: "warning"
      }).then(function () {
        return exportTransferOrder(queryParams);
      }).then(response => {
        this.download(response.msg);
      })
    }
  }
};
</script>
<style>
.greyOrder {
  background: #F4F4F5 !important;
}

.blueOrder {
  background: #c8e5f8 !important;
}

.yellowOrder {
  background: #FEFEE5 !important;
}

.greenOrder {
  background: #E9FEEA !important;
}

.redOrder {
  background: #FDF2F2 !important;
}
</style>
<style scoped>
::v-deep .el-table tbody tr:hover>td {
  background-color: rgba(0, 0, 0, 0) !important
}

::v-deep .el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell {
  background: none !important;
}
</style>