fix
This commit is contained in:
@@ -192,12 +192,6 @@
|
||||
<div v-for="(sheet, sheetIndex) in form.sheets" :key="sheet.localId" class="invoice-sheet">
|
||||
<div class="invoice-sheet__header">
|
||||
<span>第{{ sheetIndex + 1 }}张</span>
|
||||
<el-link
|
||||
v-if="!readonly && form.sheets.length > 1"
|
||||
type="danger"
|
||||
@click="removeSheet(sheetIndex)"
|
||||
>删除</el-link
|
||||
>
|
||||
</div>
|
||||
<el-table :data="sheet.lines" border>
|
||||
<el-table-column type="index" label="序号" width="64" align="center" />
|
||||
@@ -314,6 +308,9 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<div v-if="!readonly && form.sheets.length > 1" class="invoice-sheet__actions">
|
||||
<el-link type="danger" @click="removeSheet(sheetIndex)">删除</el-link>
|
||||
</div>
|
||||
</div>
|
||||
</section-card>
|
||||
|
||||
@@ -1080,6 +1077,9 @@ export default {
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.invoice-form-page__form {
|
||||
padding-bottom: 72px;
|
||||
}
|
||||
.invoice-form-page__form :deep(.el-select),
|
||||
.invoice-form-page__form :deep(.el-input-number) {
|
||||
width: 100%;
|
||||
@@ -1095,6 +1095,17 @@ export default {
|
||||
background: #fafafa;
|
||||
font-weight: 600;
|
||||
}
|
||||
.invoice-sheet__actions {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
padding: 8px 12px 0;
|
||||
}
|
||||
.invoice-form-page__links {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
}
|
||||
.invoice-form-page__remark :deep(.el-form-item__content) {
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user