付款管理新增同步付款结果按钮并扩展金蝶单据状态选项

This commit is contained in:
刘泉佳
2026-09-17 16:40:12 +08:00
parent 7f543937fb
commit 11460f3378
2 changed files with 17 additions and 0 deletions
+12
View File
@@ -84,6 +84,13 @@
@click="handleSync"
>批量同步</el-button
>
<el-button
v-if="hasPermission('payment_application_sync')"
type="primary"
plain
@click="handleSyncResult"
>同步付款结果</el-button
>
<el-button
v-if="hasPermission('payment_application_add')"
type="primary"
@@ -400,6 +407,11 @@ export default {
this.$message.success(`已同步${rows.length}条付款申请`);
this.loadTable();
},
async handleSyncResult() {
const data = this.unwrapData(await api.syncKingdeeResult());
this.$message.success(data || '金蝶付款结果回写完成');
this.loadTable();
},
handleExport() {
const headers = this.columns.map(item => item.label);
const rows = this.rows.map(row => this.columns.map(item => row[item.prop] || ''));