1、调整凭证

2、调整对账
3、解决正式结算冲突bug
This commit is contained in:
2026-09-09 10:21:19 +08:00
parent cba2ad3b3b
commit 6d4961f404
12 changed files with 257 additions and 19 deletions
@@ -4127,6 +4127,7 @@ export default {
.then(res => {
const detail = res?.data?.data || res?.data || row;
this.detailRow = detail;
this.loadWaybillVoucherImages();
if (detail.contractId) {
return getContractDetail(detail.contractId)
.then(contractRes => {
@@ -4196,7 +4197,8 @@ export default {
if (!config?.id) return [];
return getProcessConfigDetail(config.id, this.detailRow.id).then(detailRes => {
const detail = detailRes?.data?.data || detailRes?.data || config;
this.waybillHasRelatedVoucher = Boolean(detail.hasRelatedVoucher);
this.waybillHasRelatedVoucher =
this.waybillHasRelatedVoucher || Boolean(detail.hasRelatedVoucher);
return this.getProcessConfigEnabledNodes(detail);
});
})
@@ -4220,6 +4222,7 @@ export default {
getProcessConfigVoucherImages(this.detailRow.id)
.then(res => {
this.waybillVoucherImages = extractRecords(res);
if (this.waybillVoucherImages.length) this.waybillHasRelatedVoucher = true;
this.waybillVoucherImagesLoaded = true;
})
.finally(() => {