1、调整凭证
2、调整对账 3、解决正式结算冲突bug
This commit is contained in:
@@ -2371,6 +2371,7 @@ export default {
|
||||
buildSavePayload() {
|
||||
return {
|
||||
id: this.form.id,
|
||||
formalSettlementNo: this.form.formalSettlementNo,
|
||||
contractId: this.form.contractId,
|
||||
settlementType: this.form.settlementType,
|
||||
sourcePreSettlementIds: this.form.sourcePreSettlementIds,
|
||||
@@ -2444,7 +2445,7 @@ export default {
|
||||
}
|
||||
if (!this.validateInvoices()) return;
|
||||
// 附件类型仅做提示,不阻断正式结算单新增/保存提交。
|
||||
this.validateAttachments();
|
||||
// this.validateAttachments();
|
||||
this.saving = true;
|
||||
try {
|
||||
await save(this.buildSavePayload());
|
||||
|
||||
@@ -1181,12 +1181,17 @@ export default {
|
||||
}
|
||||
},
|
||||
async handleUpdate() {
|
||||
await this.$confirm('将以外部账单匹配金额更新内部结算明细,是否继续?', '更新账单', {
|
||||
await this.$confirm('将以外部账单数据更新运单及内部结算明细,是否继续?', '更新账单', {
|
||||
type: 'warning',
|
||||
});
|
||||
this.actionLoading = true;
|
||||
try {
|
||||
await api.updateByMatch(this.currentId);
|
||||
await api.updateByMatch(this.currentId, {
|
||||
id: this.currentId,
|
||||
reconciliationMode: this.form.reconciliationMode,
|
||||
internalDetails: this.serializeInternalRows(),
|
||||
externalDetails: this.serializeExternalRows(),
|
||||
});
|
||||
await this.loadDetail();
|
||||
this.$message.success('账单更新完成');
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user