✨ 金蝶附件同步(A902)前端:四页面附件同步列、重推补传提示与收票推送超时放宽

This commit is contained in:
刘泉佳
2026-09-24 13:27:41 +08:00
parent e63c7fdd42
commit aabe67e4d6
9 changed files with 52 additions and 7 deletions
+10 -1
View File
@@ -379,7 +379,16 @@ export default {
const response = await api.syncKingdee(row.id);
const data = this.unwrapData(response);
this.$message.success(`同步成功,金蝶单据号:${data}`);
this.loadTable();
await this.loadTable();
// 附件联带同步提示:同步成功但附件未全部上传时追加 warning,重推即自动补传
const freshRow = (this.rows || []).find(item => String(item.id) === String(row.id));
if (freshRow && ['pending', 'partial'].includes(freshRow.attachmentSyncStatus)) {
this.$message({
type: 'warning',
message: '该单附件未全部上传,可重推补传',
duration: 8000,
});
}
},
async openPaymentDialog() {
if (!this.selection.length) return this.$message.warning('请至少选择一条正式结算单');