调整结算
This commit is contained in:
@@ -228,9 +228,9 @@
|
||||
>
|
||||
</section>
|
||||
<section>
|
||||
<h3>附件</h3>
|
||||
<div class="master-editor__attachment">
|
||||
<div class="master-editor__attachment-head">
|
||||
<div class="section-head">
|
||||
<h3>附件</h3>
|
||||
<div class="section-head__actions">
|
||||
<el-button
|
||||
type="primary"
|
||||
:disabled="!attachmentRows.length"
|
||||
@@ -239,6 +239,8 @@
|
||||
批量下载
|
||||
</el-button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="master-editor__attachment">
|
||||
<el-table
|
||||
:data="attachmentRows"
|
||||
border
|
||||
@@ -254,6 +256,17 @@
|
||||
</el-link>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="附件描述" min-width="220" align="center">
|
||||
<template #default="{ row }">
|
||||
<el-input
|
||||
v-model="row.description"
|
||||
maxlength="200"
|
||||
show-word-limit
|
||||
placeholder="请输入附件描述"
|
||||
@input="syncAttachmentsJson"
|
||||
/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="文件大小" width="120" align="center">
|
||||
<template #default="{ row }">{{ formatFileSize(row.size) }}</template>
|
||||
</el-table-column>
|
||||
@@ -1006,6 +1019,7 @@ export default {
|
||||
const first = this.contracts[0];
|
||||
this.form.contractId = first?.id;
|
||||
this.form.contractName = first?.contractName || '';
|
||||
this.form.customerName = first?.partyA || '';
|
||||
}
|
||||
},
|
||||
async projectChange(projectId) {
|
||||
@@ -1019,6 +1033,7 @@ export default {
|
||||
contractChange(contractId) {
|
||||
const contract = this.contracts.find(item => String(item.id) === String(contractId));
|
||||
this.form.contractName = contract?.contractName || '';
|
||||
this.form.customerName = contract?.partyA || '';
|
||||
},
|
||||
addressModel(target) {
|
||||
if (target.startsWith('route-')) {
|
||||
@@ -1939,12 +1954,6 @@ export default {
|
||||
.master-editor__attachment {
|
||||
width: 100%;
|
||||
}
|
||||
.master-editor__attachment-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.master-editor__attachment-upload {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
|
||||
Reference in New Issue
Block a user