Commit 69205dc6 authored by zhouliufang's avatar zhouliufang

账单全选优化

parent cc505399
...@@ -570,7 +570,7 @@ export default { ...@@ -570,7 +570,7 @@ export default {
}) })
.then((res) => { .then((res) => {
if (res.returnCode == "0000") { if (res.returnCode == "0000") {
this.selectedRowKeys = []; // this.selectedRowKeys = [];
let content = res.content || {}; let content = res.content || {};
this.pagination.total = content.total || 0; this.pagination.total = content.total || 0;
this.dataList = content.list || []; this.dataList = content.list || [];
...@@ -641,13 +641,13 @@ export default { ...@@ -641,13 +641,13 @@ export default {
if (res.returnCode == "0000") { if (res.returnCode == "0000") {
this.sendBatchNo = res.content; this.sendBatchNo = res.content;
this.$message.success("成功"); this.$message.success("成功");
this.selectedRowKeys = []; // this.selectedRowKeys = [];
this.cacheDataList = {} this.cacheDataList = {}
if(this.isEditNewBill) { // 新增时添加了账单信息 那分页也应该是调账单信息接口 if(this.isEditNewBill) { // 新增时添加了账单信息 那分页也应该是调账单信息接口
this._getNewBillList() this._getNewBillList()
} else { } else {
this.getData() this.getData()
} }
resolve(); resolve();
} else { } else {
this.$message.error(res.returnMsg); this.$message.error(res.returnMsg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment