<!--
 * @Author: Fly
 * @Date: 2025-12-10 10:06:13
 * @LastEditTime: 2025-12-25 10:00:31
 * @Description: 提现
-->
<template>
  <div class="app-container">
    <el-form :model="search" ref="queryForm" :inline="true" v-show="showSearch" :size="ELsize" label-width="auto">
      <el-form-item label="提现银行" prop="productTitle">
        <el-input v-model="search.productTitle" placeholder="请输入提现银行" clearable size="small" style="width: 240px"
          @keyup.enter.native="handleQuery" />
      </el-form-item>

      <el-form-item label="结算类型" prop="auditStatus">
        <el-select v-model="search.auditStatus" placeholder="请选择结算类型" clearable size="small" style="width: 240px">
          <el-option label="全部" value="" />
        </el-select>
      </el-form-item>

      <el-form-item label="发起时间">
        <el-date-picker v-model="search.ss" size="small" style="width: 240px" value-format="yyyy-MM-dd" type="daterange"
          range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker>
      </el-form-item>

      <el-form-item label="结算状态" prop="auditStatus">
        <el-select v-model="search.auditStatus" placeholder="请选择结算状态" clearable size="small" style="width: 240px">
          <el-option label="全部" value="" />
        </el-select>
      </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>
        <el-button type="primary" size="mini">导出</el-button>
      </el-form-item>
    </el-form>
    <el-row :gutter="10" class="mb8">
      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
    </el-row>
    <el-table v-loading="loading" :data="dataList">
      <el-table-column type="index" width="55" label="序号" align="center">
        <template slot-scope="{$index}">
          {{ $getTableIndex(queryParams, $index + 1) }}
        </template>
      </el-table-column>
      <el-table-column label="结算类型" align="center" prop="cover">
      </el-table-column>
      <el-table-column label="提现银行" align="center" prop="code"></el-table-column>
      <el-table-column label="结算金额" align="center" prop="skuSetName" show-overflow-tooltip></el-table-column>
      <el-table-column label="结算状态" align="center" prop="salePrice"></el-table-column>
      <el-table-column label="发起时间" align="center" prop="volume"></el-table-column>
      <el-table-column label="操作" align="center" width="200" class-name="small-padding fixed-width">
        <template slot-scope="scope">
          <el-button size="mini" type="text" @click="handleView(scope.row)">查看</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" />
  </div>
</template>
<script>
import getListApi from "@/mixins/getListApi";
// import { productSkuSetStockPage } from "@/api/productInventory";
export default {
  mixins: [getListApi],
  data() {
    return {
      //   listURL: productSkuSetStockPage,
    };
  },
  methods: {
    handleView(row) {
      console.log(row);
    },
  },
};
</script>
<style scoped lang="scss"></style>
