调整 基础数据、运力、车船务

This commit is contained in:
2026-09-14 01:49:23 +08:00
parent dbeb174ae2
commit acbc9d3322
12 changed files with 1157 additions and 15 deletions
@@ -7,7 +7,7 @@
page-mode
:record-id="recordId"
:readonly="readonly"
:initial-data="transferPayload"
:initial-data="editorInitialData"
/>
</basic-container>
</template>
@@ -35,6 +35,14 @@ export default {
pageTitle() {
return this.readonly ? '查看正式结算' : this.recordId ? '编辑正式结算' : '新增正式结算';
},
editorInitialData() {
const settlementType = this.$route.query.settlementType;
if (!this.transferPayload && !settlementType) return null;
return {
...(this.transferPayload || {}),
...(settlementType ? { settlementType } : {}),
};
},
},
watch: {
editorVisible(value) {