<!--
 * @Author: Fly
 * @Date: 2025-12-10 10:06:13
 * @LastEditTime: 2025-12-23 13:53:40
 * @Description: 
-->
<template>
  <div class="app-container">
    <el-form :model="search" ref="queryForm" :inline="true" v-show="showSearch" label-width="100px">
      <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="获得角色" 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="获得人" 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="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="分账时间">
        <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>
        <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="scope">
          <div>
            {{
              (queryParams.pageNum - 1) * queryParams.pageSize +
              scope.$index +
              1
            }}
          </div>
        </template>
      </el-table-column>
      <el-table-column label="店铺名称" align="center" prop="productTitle" show-overflow-tooltip></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" prop="weight"></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";
export default {
  mixins: [getListApi],
  data() {
    return {
      //   listURL: productSkuSetStockPage,

    };
  },
  methods: {

  },
};
</script>
