|
@@ -1,11 +1,7 @@
|
|
<template>
|
|
<template>
|
|
<div class="app-container">
|
|
<div class="app-container">
|
|
<div v-if="showPage == 1">
|
|
<div v-if="showPage == 1">
|
|
- <el-radio-group
|
|
|
|
- @change="changeRadioFn"
|
|
|
|
- v-model="searchForm.examineStatus"
|
|
|
|
- size=""
|
|
|
|
- >
|
|
|
|
|
|
+ <el-radio-group @change="changeRadioFn" v-model="searchForm.examineStatus" size="">
|
|
<el-radio-button label="">全部</el-radio-button>
|
|
<el-radio-button label="">全部</el-radio-button>
|
|
<el-radio-button label="SAVE">保存</el-radio-button>
|
|
<el-radio-button label="SAVE">保存</el-radio-button>
|
|
<el-radio-button label="WAIT">待审核</el-radio-button>
|
|
<el-radio-button label="WAIT">待审核</el-radio-button>
|
|
@@ -18,59 +14,32 @@
|
|
<br /><br />
|
|
<br /><br />
|
|
<!-- 筛选条件 -->
|
|
<!-- 筛选条件 -->
|
|
<div>
|
|
<div>
|
|
- <el-form
|
|
|
|
- ref="searchForm"
|
|
|
|
- :model="searchForm"
|
|
|
|
- label-width="100px"
|
|
|
|
- size="small"
|
|
|
|
- label-position="left"
|
|
|
|
- >
|
|
|
|
|
|
+ <el-form ref="searchForm" :model="searchForm" label-width="100px" size="small" label-position="left">
|
|
<el-row :gutter="20">
|
|
<el-row :gutter="20">
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
<el-form-item label="经销商名称" prop="customerName">
|
|
<el-form-item label="经销商名称" prop="customerName">
|
|
- <el-input
|
|
|
|
- v-model="searchForm.customerName"
|
|
|
|
- placeholder="请输入经销商名称"
|
|
|
|
- ></el-input>
|
|
|
|
|
|
+ <el-input v-model="searchForm.customerName" placeholder="请输入经销商名称"></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
<el-form-item label="返利类型" prop="walletName">
|
|
<el-form-item label="返利类型" prop="walletName">
|
|
- <el-input
|
|
|
|
- v-model="searchForm.walletName"
|
|
|
|
- placeholder="请输入"
|
|
|
|
- ></el-input>
|
|
|
|
|
|
+ <el-input v-model="searchForm.walletName" placeholder="请输入"></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
<el-form-item label="经销商编码" prop="customerNumber">
|
|
<el-form-item label="经销商编码" prop="customerNumber">
|
|
- <el-input
|
|
|
|
- v-model="searchForm.customerNumber"
|
|
|
|
- placeholder="请输入"
|
|
|
|
- ></el-input>
|
|
|
|
|
|
+ <el-input v-model="searchForm.customerNumber" placeholder="请输入"></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
<el-form-item label="开始时间" prop="startTime">
|
|
<el-form-item label="开始时间" prop="startTime">
|
|
- <el-date-picker
|
|
|
|
- class="selectStyle"
|
|
|
|
- v-model="searchForm.startTime"
|
|
|
|
- placeholder="选择日期"
|
|
|
|
- type="datetime"
|
|
|
|
- value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
|
- >
|
|
|
|
|
|
+ <el-date-picker class="selectStyle" v-model="searchForm.startTime" placeholder="选择日期" type="datetime" value-format="yyyy-MM-dd HH:mm:ss">
|
|
</el-date-picker>
|
|
</el-date-picker>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
<el-form-item label="结束时间" prop="endTime">
|
|
<el-form-item label="结束时间" prop="endTime">
|
|
- <el-date-picker
|
|
|
|
- class="selectStyle"
|
|
|
|
- v-model="searchForm.endTime"
|
|
|
|
- placeholder="选择日期"
|
|
|
|
- type="datetime"
|
|
|
|
- value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
|
- >
|
|
|
|
|
|
+ <el-date-picker class="selectStyle" v-model="searchForm.endTime" placeholder="选择日期" type="datetime" value-format="yyyy-MM-dd HH:mm:ss">
|
|
</el-date-picker>
|
|
</el-date-picker>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -78,9 +47,7 @@
|
|
<el-col :xs="24" :sm="12" :lg="18">
|
|
<el-col :xs="24" :sm="12" :lg="18">
|
|
<el-form-item label="" class="fr">
|
|
<el-form-item label="" class="fr">
|
|
<el-button size="small" @click="cancelFn">清空</el-button>
|
|
<el-button size="small" @click="cancelFn">清空</el-button>
|
|
- <el-button size="small" type="primary" @click="searchFn"
|
|
|
|
- >搜索</el-button
|
|
|
|
- >
|
|
|
|
|
|
+ <el-button size="small" type="primary" @click="searchFn">搜索</el-button>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
@@ -95,487 +62,150 @@
|
|
<!-- 列表 -->
|
|
<!-- 列表 -->
|
|
<div class="mymain-container">
|
|
<div class="mymain-container">
|
|
<div class="table">
|
|
<div class="table">
|
|
- <el-table
|
|
|
|
- v-loading="listLoading"
|
|
|
|
- :data="dataList"
|
|
|
|
- element-loading-text="Loading"
|
|
|
|
- border
|
|
|
|
- fit
|
|
|
|
- highlight-current-row
|
|
|
|
- stripe
|
|
|
|
- show-summary
|
|
|
|
- :summary-method="$getSummaries"
|
|
|
|
- >
|
|
|
|
- <el-table-column
|
|
|
|
- align="center"
|
|
|
|
- label="状态"
|
|
|
|
- prop="examineStatus"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- v-if="!isCustomer"
|
|
|
|
- >
|
|
|
|
|
|
+ <el-table v-loading="listLoading" :data="dataList" element-loading-text="Loading" border fit highlight-current-row stripe show-summary :summary-method="$getSummaries">
|
|
|
|
+ <el-table-column align="center" label="状态" prop="examineStatus" min-width="160" show-overflow-tooltip v-if="!isCustomer">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-tag v-show="scope.row.examineStatus == 'SAVE'">保存</el-tag>
|
|
<el-tag v-show="scope.row.examineStatus == 'SAVE'">保存</el-tag>
|
|
- <el-tag v-show="scope.row.examineStatus == 'WAIT'"
|
|
|
|
- >待审核</el-tag
|
|
|
|
- >
|
|
|
|
- <el-tag v-show="scope.row.examineStatus == 'OK_ONE'"
|
|
|
|
- >初审通过</el-tag
|
|
|
|
- >
|
|
|
|
- <el-tag v-show="scope.row.examineStatus == 'FAIL_ONE'"
|
|
|
|
- >初审不通过</el-tag
|
|
|
|
- >
|
|
|
|
- <el-tag v-show="scope.row.examineStatus == 'OK'"
|
|
|
|
- >复核通过</el-tag
|
|
|
|
- >
|
|
|
|
- <el-tag v-show="scope.row.examineStatus == 'FAIL'"
|
|
|
|
- >不通过</el-tag
|
|
|
|
- >
|
|
|
|
- <el-tag v-show="scope.row.examineStatus == 'CLOSE'"
|
|
|
|
- >已关闭</el-tag
|
|
|
|
- >
|
|
|
|
|
|
+ <el-tag v-show="scope.row.examineStatus == 'WAIT'">待审核</el-tag>
|
|
|
|
+ <el-tag v-show="scope.row.examineStatus == 'OK_ONE'">初审通过</el-tag>
|
|
|
|
+ <el-tag v-show="scope.row.examineStatus == 'FAIL_ONE'">初审不通过</el-tag>
|
|
|
|
+ <el-tag v-show="scope.row.examineStatus == 'OK'">复核通过</el-tag>
|
|
|
|
+ <el-tag v-show="scope.row.examineStatus == 'FAIL'">不通过</el-tag>
|
|
|
|
+ <el-tag v-show="scope.row.examineStatus == 'CLOSE'">已关闭</el-tag>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column
|
|
|
|
- v-if="isCustomer"
|
|
|
|
- align="center"
|
|
|
|
- label="是否确认"
|
|
|
|
- prop="customerIsConfirm"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- >
|
|
|
|
|
|
+ <el-table-column v-if="isCustomer" align="center" label="是否确认" prop="customerIsConfirm" min-width="160" show-overflow-tooltip>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-tag v-show="scope.row.customerIsConfirm == true"
|
|
|
|
- >已确认</el-tag
|
|
|
|
- >
|
|
|
|
- <el-tag v-show="scope.row.customerIsConfirm == false"
|
|
|
|
- >未确认</el-tag
|
|
|
|
- >
|
|
|
|
|
|
+ <el-tag v-show="scope.row.customerIsConfirm == true">已确认</el-tag>
|
|
|
|
+ <el-tag v-show="scope.row.customerIsConfirm == false">未确认</el-tag>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column
|
|
|
|
- align="center"
|
|
|
|
- label="返利单号"
|
|
|
|
- prop="rebateOrderId"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- align="center"
|
|
|
|
- label="返利日期"
|
|
|
|
- prop="theTime"
|
|
|
|
- min-width="180"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- v-if="isCustomer"
|
|
|
|
- align="center"
|
|
|
|
- label="标题备注"
|
|
|
|
- prop="policyDocNo"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- v-if="!isCustomer"
|
|
|
|
- align="center"
|
|
|
|
- label="经销商编码"
|
|
|
|
- prop="customerNumber"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- v-if="!isCustomer"
|
|
|
|
- align="center"
|
|
|
|
- label="经销商名称"
|
|
|
|
- prop="customerName"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- align="center"
|
|
|
|
- label="返利类型"
|
|
|
|
- prop="walletName"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- align="right"
|
|
|
|
- label="总返利金额"
|
|
|
|
- prop="amount"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- >
|
|
|
|
|
|
+ <el-table-column align="center" label="返利单号" prop="rebateOrderId" min-width="160" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column align="center" label="返利日期" prop="theTime" min-width="180" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column v-if="isCustomer" align="center" label="标题备注" prop="policyDocNo" min-width="160" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column v-if="!isCustomer" align="center" label="经销商编码" prop="customerNumber" min-width="160" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column v-if="!isCustomer" align="center" label="经销商名称" prop="customerName" min-width="160" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column align="center" label="返利类型" prop="walletName" min-width="160" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column align="right" label="总返利金额" prop="amount" min-width="160" show-overflow-tooltip>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
{{ scope.row.amount | numToFixed }}
|
|
{{ scope.row.amount | numToFixed }}
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column
|
|
|
|
- align="right"
|
|
|
|
- label="返利金额"
|
|
|
|
- prop="rebateAmount"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- >
|
|
|
|
|
|
+ <el-table-column align="right" label="返利金额" prop="rebateAmount" min-width="160" show-overflow-tooltip>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
{{ scope.row.rebateAmount | numToFixed }}
|
|
{{ scope.row.rebateAmount | numToFixed }}
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column
|
|
|
|
- align="right"
|
|
|
|
- label="暂扣返利"
|
|
|
|
- prop="withholdAmount"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- >
|
|
|
|
|
|
+ <el-table-column align="right" label="暂扣返利" prop="withholdAmount" min-width="160" show-overflow-tooltip>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
{{ scope.row.withholdAmount | numToFixed }}
|
|
{{ scope.row.withholdAmount | numToFixed }}
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column
|
|
|
|
- align="right"
|
|
|
|
- label="折让金额"
|
|
|
|
- prop="allowanceAmount"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- >
|
|
|
|
|
|
+ <el-table-column align="right" label="折让金额" prop="allowanceAmount" min-width="160" show-overflow-tooltip>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
{{ scope.row.allowanceAmount | numToFixed }}
|
|
{{ scope.row.allowanceAmount | numToFixed }}
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column
|
|
|
|
- v-if="!isCustomer"
|
|
|
|
- align="center"
|
|
|
|
- label="折让编号"
|
|
|
|
- prop="allowanceCode"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- v-if="!isCustomer"
|
|
|
|
- align="center"
|
|
|
|
- label="折让账号"
|
|
|
|
- prop="allowanceAccount"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- v-if="!isCustomer"
|
|
|
|
- align="right"
|
|
|
|
- label="已办理折让金额"
|
|
|
|
- prop="handledAllowanceAmount"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- >
|
|
|
|
|
|
+ <el-table-column v-if="!isCustomer" align="center" label="折让编号" prop="allowanceCode" min-width="160" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column v-if="!isCustomer" align="center" label="折让账号" prop="allowanceAccount" min-width="160" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column v-if="!isCustomer" align="right" label="已办理折让金额" prop="handledAllowanceAmount" min-width="160" show-overflow-tooltip>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
{{ scope.row.handledAllowanceAmount | numToFixed }}
|
|
{{ scope.row.handledAllowanceAmount | numToFixed }}
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column
|
|
|
|
- v-if="!isCustomer"
|
|
|
|
- align="center"
|
|
|
|
- label="折让对应收款单号"
|
|
|
|
- prop="allowanceOrderNo"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- v-if="!isCustomer"
|
|
|
|
- align="center"
|
|
|
|
- label="政策文件流水号"
|
|
|
|
- prop="policyFileNo"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- v-if="!isCustomer"
|
|
|
|
- align="center"
|
|
|
|
- label="政策文号"
|
|
|
|
- prop="policyDocNo"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- v-if="!isCustomer"
|
|
|
|
- align="center"
|
|
|
|
- label="政策年份"
|
|
|
|
- prop="policyYear"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- v-if="!isCustomer"
|
|
|
|
- align="center"
|
|
|
|
- label="政策月份"
|
|
|
|
- prop="policyMonth"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- v-if="!isCustomer"
|
|
|
|
- align="center"
|
|
|
|
- label="政策归属部门"
|
|
|
|
- prop="policyOrg"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- align="center"
|
|
|
|
- v-if="!isCustomer"
|
|
|
|
- label="客户区域"
|
|
|
|
- prop="customerArea"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- v-if="!isCustomer"
|
|
|
|
- align="center"
|
|
|
|
- label="客户属性"
|
|
|
|
- prop="customerAttr"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- align="center"
|
|
|
|
- v-if="!isCustomer"
|
|
|
|
- label="奖励实际归属客户"
|
|
|
|
- prop="rewardActualCustomers"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- v-if="!isCustomer"
|
|
|
|
- align="center"
|
|
|
|
- label="备注1"
|
|
|
|
- prop="remark1"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- v-if="!isCustomer"
|
|
|
|
- align="center"
|
|
|
|
- label="备注2"
|
|
|
|
- prop="remark2"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- v-if="!isCustomer"
|
|
|
|
- align="center"
|
|
|
|
- label="制单人"
|
|
|
|
- prop="createBy"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- v-if="!isCustomer"
|
|
|
|
- align="center"
|
|
|
|
- label="制单时间"
|
|
|
|
- prop="createTime"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- v-if="!isCustomer"
|
|
|
|
- align="center"
|
|
|
|
- label="审核人"
|
|
|
|
- prop="examineBy"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- v-if="!isCustomer"
|
|
|
|
- align="center"
|
|
|
|
- label="审核时间"
|
|
|
|
- prop="examineTime"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- v-if="!isCustomer"
|
|
|
|
- align="center"
|
|
|
|
- label="确认人"
|
|
|
|
- prop="customerName"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- v-if="!isCustomer"
|
|
|
|
- align="center"
|
|
|
|
- label="确认时间"
|
|
|
|
- prop="customerConfirmTime"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- v-if="!isCustomer"
|
|
|
|
- align="center"
|
|
|
|
- label="复核人"
|
|
|
|
- prop="secondExamineBy"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- v-if="!isCustomer"
|
|
|
|
- align="center"
|
|
|
|
- label="复核时间"
|
|
|
|
- prop="secondExamineTime"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- v-if="isCustomer"
|
|
|
|
- align="center"
|
|
|
|
- label="确认时间"
|
|
|
|
- prop="customerConfirmTime"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- align="center"
|
|
|
|
- label="操作"
|
|
|
|
- min-width="240"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- fixed="right"
|
|
|
|
- >
|
|
|
|
|
|
+ <el-table-column v-if="!isCustomer" align="center" label="折让对应收款单号" prop="allowanceOrderNo" min-width="160" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column v-if="!isCustomer" align="center" label="政策文件流水号" prop="policyFileNo" min-width="160" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column v-if="!isCustomer" align="center" label="政策文号" prop="policyDocNo" min-width="160" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column v-if="!isCustomer" align="center" label="政策年份" prop="policyYear" min-width="160" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column v-if="!isCustomer" align="center" label="政策月份" prop="policyMonth" min-width="160" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column v-if="!isCustomer" align="center" label="政策归属部门" prop="policyOrg" min-width="160" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column align="center" v-if="!isCustomer" label="客户区域" prop="customerArea" min-width="160" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column v-if="!isCustomer" align="center" label="客户属性" prop="customerAttr" min-width="160" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column align="center" v-if="!isCustomer" label="奖励实际归属客户" prop="rewardActualCustomers" min-width="160" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column v-if="!isCustomer" align="center" label="备注1" prop="remark1" min-width="160" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column v-if="!isCustomer" align="center" label="备注2" prop="remark2" min-width="160" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column v-if="!isCustomer" align="center" label="制单人" prop="createBy" min-width="160" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column v-if="!isCustomer" align="center" label="制单时间" prop="createTime" min-width="160" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column v-if="!isCustomer" align="center" label="审核人" prop="examineBy" min-width="160" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column v-if="!isCustomer" align="center" label="审核时间" prop="examineTime" min-width="160" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column v-if="!isCustomer" align="center" label="确认人" prop="customerName" min-width="160" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column v-if="!isCustomer" align="center" label="确认时间" prop="customerConfirmTime" min-width="160" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column v-if="!isCustomer" align="center" label="复核人" prop="secondExamineBy" min-width="160" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column v-if="!isCustomer" align="center" label="复核时间" prop="secondExamineTime" min-width="160" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column v-if="isCustomer" align="center" label="确认时间" prop="customerConfirmTime" min-width="160" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column align="center" label="操作" min-width="240" show-overflow-tooltip fixed="right">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-button
|
|
|
|
- type="text"
|
|
|
|
- class="textColor"
|
|
|
|
- v-if="
|
|
|
|
|
|
+ <el-button type="text" class="textColor" v-if="
|
|
!isCustomer &&
|
|
!isCustomer &&
|
|
$checkBtnRole('edit', $route.meta.roles) &&
|
|
$checkBtnRole('edit', $route.meta.roles) &&
|
|
scope.row.examineStatus != 'FAIL_ONE'
|
|
scope.row.examineStatus != 'FAIL_ONE'
|
|
- "
|
|
|
|
- @click="editFn(scope.row.rebateOrderId)"
|
|
|
|
- >编辑</el-button
|
|
|
|
- >
|
|
|
|
- <el-button
|
|
|
|
- type="text"
|
|
|
|
- class="textColor"
|
|
|
|
- v-show="
|
|
|
|
|
|
+ " @click="editFn(scope.row.rebateOrderId)">编辑</el-button>
|
|
|
|
+ <el-button type="text" class="textColor" v-show="
|
|
scope.row.examineStatus == 'SAVE' &&
|
|
scope.row.examineStatus == 'SAVE' &&
|
|
!isCustomer &&
|
|
!isCustomer &&
|
|
$checkBtnRole('apply', $route.meta.roles)
|
|
$checkBtnRole('apply', $route.meta.roles)
|
|
- "
|
|
|
|
- @click="applyFn(scope.row.rebateOrderId)"
|
|
|
|
- >申请</el-button
|
|
|
|
- >
|
|
|
|
- <el-button
|
|
|
|
- type="text"
|
|
|
|
- class="textColor"
|
|
|
|
- v-show="
|
|
|
|
|
|
+ " @click="applyFn(scope.row.rebateOrderId)">申请</el-button>
|
|
|
|
+ <el-button type="text" class="textColor" v-show="
|
|
scope.row.examineStatus == 'WAIT' &&
|
|
scope.row.examineStatus == 'WAIT' &&
|
|
!isCustomer &&
|
|
!isCustomer &&
|
|
$checkBtnRole('examine', $route.meta.roles)
|
|
$checkBtnRole('examine', $route.meta.roles)
|
|
- "
|
|
|
|
- @click="examineFn(scope.row.rebateOrderId)"
|
|
|
|
- >审核</el-button
|
|
|
|
- >
|
|
|
|
- <el-button
|
|
|
|
- type="text"
|
|
|
|
- class="textColor"
|
|
|
|
- v-show="
|
|
|
|
|
|
+ " @click="examineFn(scope.row.rebateOrderId)">审核</el-button>
|
|
|
|
+ <el-button type="text" class="textColor" v-show="
|
|
(scope.row.examineStatus == 'OK_ONE' ||
|
|
(scope.row.examineStatus == 'OK_ONE' ||
|
|
scope.row.examineStatus == 'OK' ||
|
|
scope.row.examineStatus == 'OK' ||
|
|
scope.row.examineStatus == 'FAIL') &&
|
|
scope.row.examineStatus == 'FAIL') &&
|
|
!isCustomer &&
|
|
!isCustomer &&
|
|
$checkBtnRole('examine', $route.meta.roles)
|
|
$checkBtnRole('examine', $route.meta.roles)
|
|
- "
|
|
|
|
- @click="reviewFn(scope.row.rebateOrderId)"
|
|
|
|
- >{{
|
|
|
|
|
|
+ " @click="reviewFn(scope.row.rebateOrderId)">{{
|
|
scope.row.examineStatus == "OK" ? "取消复核" : "复核"
|
|
scope.row.examineStatus == "OK" ? "取消复核" : "复核"
|
|
- }}</el-button
|
|
|
|
- >
|
|
|
|
- <el-button
|
|
|
|
- type="text"
|
|
|
|
- class="textColor"
|
|
|
|
- v-show="
|
|
|
|
|
|
+ }}</el-button>
|
|
|
|
+ <el-button type="text" class="textColor" v-show="
|
|
(scope.row.examineStatus == 'WAIT' ||
|
|
(scope.row.examineStatus == 'WAIT' ||
|
|
scope.row.examineStatus == 'SAVE') &&
|
|
scope.row.examineStatus == 'SAVE') &&
|
|
!isCustomer
|
|
!isCustomer
|
|
- "
|
|
|
|
- @click="infoFn(scope.row.rebateOrderId)"
|
|
|
|
- >详情</el-button
|
|
|
|
- >
|
|
|
|
- <el-button
|
|
|
|
- type="text"
|
|
|
|
- class="textColor"
|
|
|
|
- v-show="
|
|
|
|
|
|
+ " @click="infoFn(scope.row.rebateOrderId)">详情</el-button>
|
|
|
|
+ <el-button type="text" class="textColor" v-show="
|
|
(scope.row.examineStatus == 'OK_ONE' ||
|
|
(scope.row.examineStatus == 'OK_ONE' ||
|
|
scope.row.examineStatus == 'FAIL_ONE' ||
|
|
scope.row.examineStatus == 'FAIL_ONE' ||
|
|
scope.row.examineStatus == 'FAIL' ||
|
|
scope.row.examineStatus == 'FAIL' ||
|
|
scope.row.examineStatus == 'OK') &&
|
|
scope.row.examineStatus == 'OK') &&
|
|
!isCustomer
|
|
!isCustomer
|
|
- "
|
|
|
|
- @click="detail2(scope.row.rebateOrderId)"
|
|
|
|
- >详情</el-button
|
|
|
|
- >
|
|
|
|
- <el-button
|
|
|
|
- type="text"
|
|
|
|
- class="textColor"
|
|
|
|
- v-if="
|
|
|
|
|
|
+ " @click="detail2(scope.row.rebateOrderId)">详情</el-button>
|
|
|
|
+ <el-button type="text" class="textColor" v-if="
|
|
isCustomer &&
|
|
isCustomer &&
|
|
scope.row.withholdAmount == 0 &&
|
|
scope.row.withholdAmount == 0 &&
|
|
(scope.row.examineStatus == 'OK_ONE' ||
|
|
(scope.row.examineStatus == 'OK_ONE' ||
|
|
scope.row.examineStatus == 'OK' ||
|
|
scope.row.examineStatus == 'OK' ||
|
|
scope.row.examineStatus == 'FAIL')
|
|
scope.row.examineStatus == 'FAIL')
|
|
- "
|
|
|
|
- @click="
|
|
|
|
|
|
+ " @click="
|
|
confirmFn(
|
|
confirmFn(
|
|
scope.row.rebateOrderId,
|
|
scope.row.rebateOrderId,
|
|
scope.row.customerIsConfirm
|
|
scope.row.customerIsConfirm
|
|
)
|
|
)
|
|
- "
|
|
|
|
- >{{
|
|
|
|
|
|
+ ">{{
|
|
scope.row.customerIsConfirm == true ? "详情" : "确认"
|
|
scope.row.customerIsConfirm == true ? "详情" : "确认"
|
|
- }}</el-button
|
|
|
|
- >
|
|
|
|
|
|
+ }}</el-button>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
</div>
|
|
</div>
|
|
<!-- 分页 -->
|
|
<!-- 分页 -->
|
|
<div class="fr">
|
|
<div class="fr">
|
|
- <el-pagination
|
|
|
|
- @size-change="handleSizeChange"
|
|
|
|
- @current-change="handleCurrentChange"
|
|
|
|
- :current-page="currentPage"
|
|
|
|
- :page-sizes="[10, 20, 30, 50]"
|
|
|
|
- :page-size="pageSize"
|
|
|
|
- layout="total, sizes, prev, pager, next, jumper"
|
|
|
|
- :total="listTotal"
|
|
|
|
- >
|
|
|
|
|
|
+ <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage" :page-sizes="[10, 20, 30, 50]" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper" :total="listTotal">
|
|
</el-pagination>
|
|
</el-pagination>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<RebateListApply :detailId="detailId" v-else-if="showPage == 2" />
|
|
<RebateListApply :detailId="detailId" v-else-if="showPage == 2" />
|
|
- <RebateListExamine
|
|
|
|
- @updateList="updateList"
|
|
|
|
- :detailId="detailId"
|
|
|
|
- v-else-if="showPage == 3"
|
|
|
|
- />
|
|
|
|
- <RebateListReview
|
|
|
|
- @updateList="updateList"
|
|
|
|
- :detailId="detailId"
|
|
|
|
- v-else-if="showPage == 4"
|
|
|
|
- />
|
|
|
|
|
|
+ <RebateListExamine @updateList="updateList" :detailId="detailId" v-else-if="showPage == 3" />
|
|
|
|
+ <RebateListReview @updateList="updateList" :detailId="detailId" v-else-if="showPage == 4" />
|
|
<!-- 详情 -->
|
|
<!-- 详情 -->
|
|
<RebateListDetail :detailId="detailId" v-else-if="showPage == 5" />
|
|
<RebateListDetail :detailId="detailId" v-else-if="showPage == 5" />
|
|
<!-- 确定 -->
|
|
<!-- 确定 -->
|
|
- <RebateListConfirm
|
|
|
|
- @updateList="updateList"
|
|
|
|
- :detailId="detailId"
|
|
|
|
- :isShow="isShow"
|
|
|
|
- v-else-if="showPage == 6"
|
|
|
|
- />
|
|
|
|
|
|
+ <RebateListConfirm @updateList="updateList" :detailId="detailId" :isShow="isShow" v-else-if="showPage == 6" />
|
|
<!-- 编辑 -->
|
|
<!-- 编辑 -->
|
|
- <RebateListEdit
|
|
|
|
- @updateList="updateList"
|
|
|
|
- :detailId="detailId"
|
|
|
|
- v-else-if="showPage == 7"
|
|
|
|
- />
|
|
|
|
|
|
+ <RebateListEdit @updateList="updateList" :detailId="detailId" v-else-if="showPage == 7" />
|
|
<!-- <EditDateTimeDialog
|
|
<!-- <EditDateTimeDialog
|
|
:isShow.sync="isShowEditDateDialog"
|
|
:isShow.sync="isShowEditDateDialog"
|
|
:dateForm.sync="dateForm"
|
|
:dateForm.sync="dateForm"
|