|
@@ -153,9 +153,9 @@
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
<el-button size="mini" @click="formDialog = false; formData = {};data.removeTab()">取 消</el-button>
|
|
|
<el-button size="mini" v-if="formData.status == 'WAIT'" type="primary"
|
|
|
- @click="settleAccounts(formData.settlementOrderId,data.removeTab)">确认结算
|
|
|
+ @click="settleAccounts(formData.settlementOrderId,data.removeTab,2)">确认结算
|
|
|
</el-button>
|
|
|
- <el-button size="mini" v-if="formData.status == 'WAIT_ING'" type="primary" @click="withdraw(formData.settlementOrderId,data.removeTab)">
|
|
|
+ <el-button size="mini" v-if="formData.status == 'WAIT_ING'" type="primary" @click="withdraw(formData.settlementOrderId,data.removeTab,2)">
|
|
|
确认提现
|
|
|
</el-button>
|
|
|
</div>
|
|
@@ -394,7 +394,7 @@ export default {
|
|
|
}
|
|
|
this.settleAccounts(this.recordSelected.map(item => { return item.settlementOrderId }).join(','))
|
|
|
},
|
|
|
- settleAccounts(id,cancel) {
|
|
|
+ settleAccounts(id,cancel,type) {
|
|
|
this.$confirm(`请确认是否结算选中数据, 是否继续?`, '提示', {
|
|
|
confirmButtonText: '确定',
|
|
|
cancelButtonText: '取消',
|
|
@@ -405,7 +405,7 @@ export default {
|
|
|
}).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
this.$message({ type: 'success', message: `结算成功!` })
|
|
|
- cancel('list')
|
|
|
+ if(type== 2){cancel('list')}
|
|
|
this.$refs.pageRef.refreshList()
|
|
|
this.formDialog = false
|
|
|
} else {
|
|
@@ -420,7 +420,7 @@ export default {
|
|
|
}
|
|
|
this.withdraw(this.recordSelected.map(item => { return item.settlementOrderId }).join(','))
|
|
|
},
|
|
|
- withdraw(id,cancel) {
|
|
|
+ withdraw(id,cancel,type) {
|
|
|
this.$confirm(`请确认是否提现选中数据, 是否继续?`, '提示', {
|
|
|
confirmButtonText: '确定',
|
|
|
cancelButtonText: '取消',
|
|
@@ -431,7 +431,7 @@ export default {
|
|
|
}).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
this.$message({ type: 'success', message: `提现成功!` })
|
|
|
- cancel('list')
|
|
|
+ if(type== 2){cancel('list')}
|
|
|
this.$refs.pageRef.refreshList()
|
|
|
this.formDialog = false
|
|
|
} else {
|