|
|
@@ -2,13 +2,13 @@
|
|
|
<div v-loading="loading">
|
|
|
<div class="white-box">
|
|
|
<el-tabs v-model="filterStatus" @tab-click="handleFilterStatusClick">
|
|
|
- <el-tab-pane label="全部" name="-1" :lazy="true"></el-tab-pane>
|
|
|
- <el-tab-pane label="待审核" name="0" :lazy="true"></el-tab-pane>
|
|
|
- <el-tab-pane label="已审核" name="2" :lazy="true"></el-tab-pane>
|
|
|
- <el-tab-pane label="待付款" name="3" :lazy="true"></el-tab-pane>
|
|
|
- <el-tab-pane label="已付款" name="6" :lazy="true"></el-tab-pane>
|
|
|
- <el-tab-pane label="付款失败" name="4" :lazy="true"></el-tab-pane>
|
|
|
- <el-tab-pane label="已退回" name="7" :lazy="true"></el-tab-pane>
|
|
|
+ <el-tab-pane label="All" name="-1" :lazy="true"></el-tab-pane> <!-- 全部 -->
|
|
|
+ <el-tab-pane label="To be reviewed" name="0" :lazy="true"></el-tab-pane> <!-- 待审核 -->
|
|
|
+ <el-tab-pane label="Reviewed" name="2" :lazy="true"></el-tab-pane> <!-- 已审核 -->
|
|
|
+ <el-tab-pane label="To be paid" name="3" :lazy="true"></el-tab-pane> <!-- 待付款 -->
|
|
|
+ <el-tab-pane label="Paid" name="6" :lazy="true"></el-tab-pane> <!-- 已付款 -->
|
|
|
+ <el-tab-pane label="Payment failed" name="4" :lazy="true"></el-tab-pane> <!-- 付款失败 -->
|
|
|
+ <el-tab-pane label="Returned" name="7" :lazy="true"></el-tab-pane> <!-- 已退回 -->
|
|
|
</el-tabs>
|
|
|
<div class="filter-box">
|
|
|
<filter-user :filter-types.sync="filterTypes" @select-value="handleFilterUser"></filter-user>
|
|
|
@@ -30,7 +30,7 @@
|
|
|
</template>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column fixed="right" label="操作" width="180">
|
|
|
+ <el-table-column fixed="right" label="Action" width="180"> <!-- 操作 -->
|
|
|
<template slot-scope="scope">
|
|
|
<el-dropdown size="small" trigger="click"
|
|
|
v-if="scope.row.AUDIT_STATUS!=='7' && (permission.hasPermission(`finance/withdraw-status`))">
|
|
|
@@ -44,39 +44,39 @@
|
|
|
<!--补录发票信息-->
|
|
|
<!--</el-dropdown-item>-->
|
|
|
<el-dropdown-item command="status"
|
|
|
- @click.native="handleStatusShow(scope.row, 2, '确定对当前提现进行审核通过操作?')"
|
|
|
- v-show="scope.row.AUDIT_STATUS==='0' && permission.hasPermission(`finance/withdraw-status`)">
|
|
|
- 审核通过
|
|
|
+ @click.native="handleStatusShow(scope.row, 2, 'Are you sure to approve the current withdrawal?')"
|
|
|
+ v-show="scope.row.AUDIT_STATUS==='0' && permission.hasPermission(`finance/withdraw-status`)"> <!-- 确定对当前提现进行审核通过操作? -->
|
|
|
+ Approve <!-- 审核通过 -->
|
|
|
</el-dropdown-item>
|
|
|
<el-dropdown-item command="status"
|
|
|
- @click.native="handleStatusShow(scope.row, 3, '确定对当前提现进行设为待付款操作?')"
|
|
|
- v-show="scope.row.AUDIT_STATUS === '2' && permission.hasPermission(`finance/withdraw-status`)">
|
|
|
- 设为待付款
|
|
|
+ @click.native="handleStatusShow(scope.row, 3, 'Are you sure to set the current withdrawal as payment action?')"
|
|
|
+ v-show="scope.row.AUDIT_STATUS === '2' && permission.hasPermission(`finance/withdraw-status`)"> <!-- 确定对当前提现进行设为待付款操作? -->
|
|
|
+ To be paid<!-- 设为待付款 -->
|
|
|
</el-dropdown-item>
|
|
|
<el-dropdown-item command="status"
|
|
|
- @click.native="handleStatusShow(scope.row, 6, '确定对当前提现进行设为已付款操作?')"
|
|
|
- v-show="scope.row.AUDIT_STATUS === '3' && permission.hasPermission(`finance/withdraw-status`)">
|
|
|
- 设为已付款
|
|
|
+ @click.native="handleStatusShow(scope.row, 6, 'Are you sure to set the current withdrawal as paid?确定对当前提现进行设为已付款操作?')"
|
|
|
+ v-show="scope.row.AUDIT_STATUS === '3' && permission.hasPermission(`finance/withdraw-status`)"> <!-- 确定对当前提现进行设为已付款操作 -->
|
|
|
+ Paid<!--设为已付款-->
|
|
|
</el-dropdown-item>
|
|
|
<el-dropdown-item command="status"
|
|
|
- @click.native="handleStatusShow(scope.row, 3, '确定对当前提现进行设为待付款操作?')"
|
|
|
- v-show="scope.row.AUDIT_STATUS === '4' && permission.hasPermission(`finance/withdraw-status`)">
|
|
|
- 设为待付款
|
|
|
+ @click.native="handleStatusShow(scope.row, 3, 'Are you sure to set the current withdrawal as payment action??')"
|
|
|
+ v-show="scope.row.AUDIT_STATUS === '4' && permission.hasPermission(`finance/withdraw-status`)"> <!-- 确定对当前提现进行设为待付款操作? -->
|
|
|
+ To be paid<!-- 设为待付款 -->
|
|
|
</el-dropdown-item>
|
|
|
<el-dropdown-item command="status"
|
|
|
- @click.native="handleStatusShow(scope.row, 4, '确定对当前提现进行设为付款失败操作?', '付款失败备注')"
|
|
|
- v-show="scope.row.AUDIT_STATUS === '6' && permission.hasPermission(`finance/withdraw-status`)">
|
|
|
- 设为付款失败
|
|
|
+ @click.native="handleStatusShow(scope.row, 4, 'Are you sure to set payment failure for the current withdrawal?', 'Note')"
|
|
|
+ v-show="scope.row.AUDIT_STATUS === '6' && permission.hasPermission(`finance/withdraw-status`)"> <!-- 付款失败备注 --> <!-- 确定对当前提现进行设为付款失败操作? -->
|
|
|
+ Failed<!-- 设为付款失败 -->
|
|
|
</el-dropdown-item>
|
|
|
<el-dropdown-item command="status"
|
|
|
@click.native="handleStatusShow(scope.row, 7, '确定对当前提现进行设为提现退回操作?', '提现退回备注')"
|
|
|
v-show="scope.row.AUDIT_STATUS === '0' && permission.hasPermission(`finance/withdraw-status`)">
|
|
|
- 设为提现退回
|
|
|
+ Return <!-- 设为提现退回 -->
|
|
|
</el-dropdown-item>
|
|
|
<el-dropdown-item command="status"
|
|
|
@click.native="handleStatusShow(scope.row, 7, '该会员已提供发票,请确认是否处理提现退回?', '提现退回备注')"
|
|
|
v-show="(scope.row.AUDIT_STATUS === '1'||scope.row.AUDIT_STATUS === '2'||scope.row.AUDIT_STATUS === '3') && permission.hasPermission(`finance/withdraw-status`)">
|
|
|
- 设为提现退回
|
|
|
+ Return <!-- 设为提现退回 -->
|
|
|
</el-dropdown-item>
|
|
|
</el-dropdown-menu>
|
|
|
</el-dropdown>
|
|
|
@@ -88,11 +88,11 @@
|
|
|
<el-dropdown size="small" trigger="click" @command="handleMuli"
|
|
|
v-if="filterStatus!=='-1' && filterStatus!=='7' && (permission.hasPermission(`finance/withdraw-status`))">
|
|
|
<el-button type="primary" size="small">
|
|
|
- 所选数据<i class="el-icon-arrow-down el-icon--right"></i>
|
|
|
+ Selected data<!--所选数据--><i class="el-icon-arrow-down el-icon--right"></i>
|
|
|
</el-button>
|
|
|
<el-dropdown-menu v-if="filterStatus==='0'" slot="dropdown">
|
|
|
- <el-dropdown-item command="2">批量审核通过</el-dropdown-item>
|
|
|
- <el-dropdown-item command="7">批量退回</el-dropdown-item>
|
|
|
+ <el-dropdown-item command="2">Batch audit passed</el-dropdown-item> <!-- 批量审核通过-->
|
|
|
+ <el-dropdown-item command="7">Batch return</el-dropdown-item> <!-- 批量退回 -->
|
|
|
</el-dropdown-menu>
|
|
|
<el-dropdown-menu v-else-if="filterStatus==='2'" slot="dropdown">
|
|
|
<el-dropdown-item command="3">批量设为待付款</el-dropdown-item>
|
|
|
@@ -134,46 +134,46 @@
|
|
|
<el-form-item label="提现金额">
|
|
|
<el-input v-model="form.amount" :disabled="true"></el-input>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="预计付款日期">
|
|
|
+ <el-form-item label="Estimated date of payment"> <!-- 预计付款日期 -->
|
|
|
<el-date-picker
|
|
|
v-model="form.planPaidAt"
|
|
|
type="date"
|
|
|
- placeholder="选择日期"
|
|
|
+ placeholder="Select date"
|
|
|
value-format="yyyy-MM-dd"
|
|
|
:picker-options="pickerOptions0"
|
|
|
>
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="备注">
|
|
|
+ <el-form-item label="Note"> <!-- 备注 -->
|
|
|
<el-input v-model="form.createRemark"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
- <el-button @click="dialogEditFormVisible = false">取 消</el-button>
|
|
|
- <el-button type="primary" @click.native="handleEdit">修 改</el-button>
|
|
|
+ <el-button @click="dialogEditFormVisible = false">Cancel<!-- 取 消 --></el-button>
|
|
|
+ <el-button type="primary" @click.native="handleEdit">Edit<!-- 修 改 --></el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
- <el-dialog title="审核提现信息" :visible.sync="dialogAuditFormVisible">
|
|
|
+ <el-dialog title="Review withdrawal info" :visible.sync="dialogAuditFormVisible"> <!-- 审核提现信息 -->
|
|
|
<el-alert
|
|
|
:title="auditForm.auditTips"
|
|
|
type="warning" :closable="false">
|
|
|
</el-alert>
|
|
|
<el-form :model="auditForm" label-width="150px" style="width:500px;" v-loading="dialogAuditLoading">
|
|
|
- <el-form-item label="预计付款日期" v-show="filterStatus==='2' || filterStatus==='4'">
|
|
|
+ <el-form-item label="Estimated date of payment" v-show="filterStatus==='2' || filterStatus==='4'"> <!-- 预计付款日期 -->
|
|
|
<el-date-picker
|
|
|
v-model="auditForm.planPaidAt"
|
|
|
type="date"
|
|
|
- placeholder="选择日期"
|
|
|
+ placeholder="Select date"
|
|
|
value-format="yyyy-MM-dd"
|
|
|
:picker-options="pickerOptions0"
|
|
|
>
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="付款日期" v-show="filterStatus==='3'">
|
|
|
+ <el-form-item label="Date of payment" v-show="filterStatus==='3'"><!-- 付款日期 -->
|
|
|
<el-date-picker
|
|
|
v-model="auditForm.paidAt"
|
|
|
type="date"
|
|
|
- placeholder="选择日期"
|
|
|
+ placeholder="Select date"
|
|
|
value-format="yyyy-MM-dd"
|
|
|
:picker-options="pickerOptions1"
|
|
|
>
|
|
|
@@ -184,8 +184,8 @@
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
- <el-button @click="dialogAuditFormVisible = false">取 消</el-button>
|
|
|
- <el-button type="primary" @click.native="handleStatus">提 交</el-button>
|
|
|
+ <el-button @click="dialogAuditFormVisible = false">Cancel<!-- 取 消 --></el-button>
|
|
|
+ <el-button type="primary" @click.native="handleStatus">Submit<!-- 提 交 --></el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
</div>
|
|
|
@@ -354,9 +354,9 @@ export default {
|
|
|
|
|
|
filterData.selectedIds = selectedIds
|
|
|
}
|
|
|
- this.$confirm('确定要导出当前表格中的提现数据吗?', '提示', {
|
|
|
- confirmButtonText: '确定',
|
|
|
- cancelButtonText: '取消',
|
|
|
+ this.$confirm('确定要导出当前表格中的提现数据吗?', 'Hint', {
|
|
|
+ confirmButtonText: 'confirm', // 确定
|
|
|
+ cancelButtonText: 'cancel', // 取消
|
|
|
type: 'warning'
|
|
|
}).then(() => {
|
|
|
return network.getData('finance/withdraw-export', filterData)
|
|
|
@@ -403,7 +403,7 @@ export default {
|
|
|
}).catch(response => {
|
|
|
})
|
|
|
},
|
|
|
- handleStatusShow(row, status, title, remark = '备注') {
|
|
|
+ handleStatusShow(row, status, title, remark = 'Note') { // 备注
|
|
|
this.auditForm = {
|
|
|
auditTips: '',
|
|
|
auditStatus: null,
|
|
|
@@ -434,9 +434,9 @@ export default {
|
|
|
handleStatus() {
|
|
|
network.postData('finance/mult-point', {opType: 2}).then(response => {
|
|
|
this.auditForm.withdrawAudit = response.withdrawAudit
|
|
|
- this.$confirm('确定要对所选数据修改状态吗?', '提示', {
|
|
|
- confirmButtonText: '确定',
|
|
|
- cancelButtonText: '取消',
|
|
|
+ this.$confirm('Are you sure to change the state of the selected data?', 'Hint', { // 确定要对所选数据修改状态吗?
|
|
|
+ confirmButtonText: 'confirm', // 确定
|
|
|
+ cancelButtonText: 'cancel', // 取消
|
|
|
type: 'warning'
|
|
|
}).then(() => {
|
|
|
return network.postData('finance/withdraw-status', this.auditForm)
|