调整基础数据、车船务、项目、合同

This commit is contained in:
2026-09-03 22:40:11 +08:00
parent 024e77801e
commit c63c7c3e33
43 changed files with 821 additions and 239 deletions
+20 -5
View File
@@ -157,7 +157,7 @@
:disabled="isBasicInfoReadonly"
/>
</el-form-item>
<el-form-item label="项目简称" prop="projectShortName">
<el-form-item label="项目简称" prop="projectShortName" required>
<el-input
v-model="form.projectShortName"
placeholder="请填写项目简称"
@@ -512,6 +512,12 @@
<div class="project-apply-form__material-card">
<div class="project-apply-form__material-head">
<div class="dialog-section-title project-apply-form__material-title">项目材料</div>
<span
v-if="!dialogReadonly && missingRequiredAttachmentTypes.length"
class="project-apply-form__material-warn"
>
未上传:{{ missingRequiredAttachmentTypes.join('、') }}
</span>
<el-button
type="primary"
:disabled="!attachmentRows.length"
@@ -569,8 +575,7 @@
<el-table-column prop="uploadUserName" label="上传人" min-width="140" align="center" />
<el-table-column prop="uploadTime" label="上传时间" min-width="170" align="center" sortable/>
<el-table-column label="操作" width="110" align="center">
<template #default="{ row, $index }">
<el-link type="primary" @click="downloadAttachment(row)">下载</el-link>
<template #default="{ $index }">
<el-link v-if="!dialogReadonly" type="danger" @click="removeAttachment($index)"
>删除</el-link
>
@@ -590,11 +595,14 @@
/>
</div>
<div v-if="!isChangeDialog" class="dialog-section-title project-apply-form__table-title">
<div
v-if="!isChangeDialog && !isNewProjectDialog"
class="dialog-section-title project-apply-form__table-title"
>
变更记录
</div>
<el-table
v-if="!isChangeDialog"
v-if="!isChangeDialog && !isNewProjectDialog"
:data="changeRows"
border
class="project-apply-form__table"
@@ -1174,6 +1182,9 @@ export default {
isChangeDialog() {
return this.dialogType === 'change';
},
isNewProjectDialog() {
return ['add', 'majorSupplement'].includes(this.dialogType);
},
isProjectFormPage() {
return this.$route.path === '/business/project-apply/form';
},
@@ -1693,6 +1704,10 @@ export default {
if (!options.includeChangeType) {
delete submitRow.changeType;
}
if (this.isNewProjectDialog && !options.includeChangeType) {
delete submitRow.changeContent;
delete submitRow.changeReason;
}
['projectIntro', 'profitRemark', 'riskPoint', 'emergencyPlan'].forEach(
key => delete submitRow[key]
);