|
@@ -8,7 +8,7 @@
|
|
|
icon="el-icon-delete"
|
|
|
size="mini"
|
|
|
:disabled="multiple"
|
|
|
- @click="handleDelete"
|
|
|
+ @click="handleBackGuarantee"
|
|
|
v-hasPermi="['bank:depositdesc:remove']"
|
|
|
>批量退还保证金
|
|
|
</el-button>
|
|
@@ -18,22 +18,24 @@
|
|
|
<el-table-column type="selection" width="55" align="center"/>
|
|
|
<el-table-column type="index" label="序号" align="center" />
|
|
|
<el-table-column label="银行流水号" align="center" prop="rtnTrnuid" />
|
|
|
- <el-table-column label="供应商名称" align="center" prop="rtnTdracctnm" />
|
|
|
- <el-table-column label="供应商银行账号" align="center" prop="rtnTdracctno" />
|
|
|
- <el-table-column label="供应商开户行" align="center" prop="rtnTdracctnobnknm" />
|
|
|
+ <el-table-column label="入账账户名" align="center" prop="rtnTdracctnm" />
|
|
|
+ <el-table-column label="入账账号" align="center" prop="rtnTdracctno" />
|
|
|
+ <el-table-column label="入账账号行名" align="center" prop="rtnTdracctnobnknm" />
|
|
|
<el-table-column label="交易日期" align="center" prop="rtnTdrdt" />
|
|
|
<el-table-column label="交易金额" align="center" prop="rtnMrgnamt" />
|
|
|
- <!-- <el-table-column label="可退款金额" align="center" prop="rtnSelfbal" /> -->
|
|
|
<el-table-column label="摘要" align="center" prop="rtnRemark"/>
|
|
|
<el-table-column label="进入不明原因" align="center" prop="reason"/>
|
|
|
+ <el-table-column label="状态" align="center" prop="status" />
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button
|
|
|
+ v-if="scope.row.status != '退款成功'"
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
icon="el-icon-edit"
|
|
|
@click="handleBackGuarantee(scope.row)"
|
|
|
- v-hasPermi="['invoice:kaipiao:edit']"
|
|
|
+ v-hasPermi="['bank:depositdesc:remove']"
|
|
|
+ :loading="backLoading"
|
|
|
>退不明保证金</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -72,8 +74,13 @@ export default {
|
|
|
total: 0,
|
|
|
queryParams: {
|
|
|
pageNum: 1,
|
|
|
- pageSize: 10
|
|
|
+ pageSize: 10,
|
|
|
+ rtnTdracctnm: null,
|
|
|
+ rtnTdracctno: null,
|
|
|
+ rtnTdracctnobnknm: null
|
|
|
},
|
|
|
+
|
|
|
+ backLoading: false
|
|
|
}
|
|
|
},
|
|
|
|
|
@@ -89,8 +96,6 @@ export default {
|
|
|
|
|
|
getUnknownBond(this.queryParams).then(response => {
|
|
|
this.data = response.rows;
|
|
|
-
|
|
|
- console.log(this.data);
|
|
|
|
|
|
this.total = response.total;
|
|
|
this.loading = false;
|
|
@@ -99,29 +104,34 @@ export default {
|
|
|
|
|
|
handleQuery (queryParams) {
|
|
|
this.queryParams.pageNum = 1
|
|
|
- // this.queryParams.aCode = queryParams.aCode
|
|
|
- // this.queryParams.aName = queryParams.aName
|
|
|
- // this.queryParams.projectId = queryParams.projectId
|
|
|
+ this.queryParams.rtnTdracctnm = queryParams.rtnOppassetname
|
|
|
+ this.queryParams.rtnTdracctno = queryParams.rtnOppassetno
|
|
|
+ this.queryParams.rtnTdracctnobnknm = queryParams.rtnOppbankno
|
|
|
this.getList()
|
|
|
},
|
|
|
|
|
|
// 多选框选中数据
|
|
|
handleSelectionChange(selection) {
|
|
|
- console.log(selection);
|
|
|
this.ids = selection.map(item => item.depositdescid)
|
|
|
this.single = selection.length !== 1
|
|
|
this.multiple = !selection.length
|
|
|
},
|
|
|
|
|
|
- /** 删除按钮操作 */
|
|
|
- handleDelete(row) {
|
|
|
+ /** 退还保证金 */
|
|
|
+ handleBackGuarantee(row) {
|
|
|
+ this.backLoading = true
|
|
|
const depositdescids = row.depositdescid || this.ids;
|
|
|
+
|
|
|
this.$modal.confirm('是否确认退还保证金入账明细编号为"' + depositdescids + '"的数据项?')
|
|
|
.then(() => {
|
|
|
delDepositdesc(depositdescids)
|
|
|
.then(res => {
|
|
|
this.getList();
|
|
|
this.$modal.msgSuccess("成功");
|
|
|
+ this.backLoading = false
|
|
|
+ })
|
|
|
+ .catch(err => {
|
|
|
+ this.backLoading = false
|
|
|
})
|
|
|
})
|
|
|
},
|