...
|
...
|
@@ -191,7 +191,7 @@ export default { |
|
|
}, {
|
|
|
title: '操作',
|
|
|
render: (h, params) => {
|
|
|
if (params.row.status !== 10) {
|
|
|
if (params.row.status === 10) {
|
|
|
return (
|
|
|
<action-group>
|
|
|
<i-button type="primary" size="small" onClick={() => this.check(params.row)}>对帐</i-button>
|
...
|
...
|
@@ -241,7 +241,7 @@ export default { |
|
|
clearingAmount: ret.data.totalClearingAmount
|
|
|
});
|
|
|
}
|
|
|
this.pageData.total = _.get(ret, 'data.totalPage', 0);
|
|
|
this.pageData.total = _.get(ret, 'data.totalCount', 0);
|
|
|
} else {
|
|
|
this.$Message.error(ret.message);
|
|
|
}
|
...
|
...
|
@@ -263,9 +263,10 @@ export default { |
|
|
id: data.id,
|
|
|
favoritePid: data.favoritePid
|
|
|
}).then(ret => {
|
|
|
if (ret && ret.data === 200) {
|
|
|
if (ret && ret.code === 200) {
|
|
|
this.$Message.success('对账成功!');
|
|
|
this.$refs.confirm.hide();
|
|
|
this.search();
|
|
|
} else {
|
|
|
this.$Message.error(ret.message);
|
|
|
}
|
...
|
...
|
@@ -275,7 +276,18 @@ export default { |
|
|
this.$refs.confirm.hide();
|
|
|
},
|
|
|
exportData() {
|
|
|
let params = {};
|
|
|
let temp = [];
|
|
|
|
|
|
_.assign(params, this.filterValues());
|
|
|
|
|
|
_.each(params, (val, key) => {
|
|
|
temp.push(`${key}=${val}`);
|
|
|
});
|
|
|
|
|
|
const href = `/Api/erp/exportFavoriteBalanceDetail?${temp.join('&')}`;
|
|
|
|
|
|
window.open(href, '_blank');
|
|
|
}
|
|
|
},
|
|
|
components: {Confirm}
|
...
|
...
|
|