|
@@ -3,7 +3,7 @@
|
|
<div class="relative h-full flex">
|
|
<div class="relative h-full flex">
|
|
<div v-if="dataType === 'add'" :id="`hc_tree_card_${uuid}`" class="hc_tree_card_border relative">
|
|
<div v-if="dataType === 'add'" :id="`hc_tree_card_${uuid}`" class="hc_tree_card_border relative">
|
|
<hc-body scrollbar padding="0px">
|
|
<hc-body scrollbar padding="0px">
|
|
- <hc-lazy-tree :h-props="treeProps" tree-key="id" :auto-expand-keys="treeAutoExpandKeys" @load="treeLoadNode" @nodeTap="treeNodeTap" />
|
|
|
|
|
|
+ <hc-lazy-tree :h-props="treeProps" tree-key="id" :auto-expand-keys="treeAutoExpandKeys" @load="treeLoadNode" @node-tap="treeNodeTap" />
|
|
</hc-body>
|
|
</hc-body>
|
|
</div>
|
|
</div>
|
|
<div :id="`hc_table_card_${uuid}`" class="relative flex-1">
|
|
<div :id="`hc_table_card_${uuid}`" class="relative flex-1">
|
|
@@ -76,7 +76,7 @@
|
|
<hc-card-item class="mt-3">
|
|
<hc-card-item class="mt-3">
|
|
<template #header>
|
|
<template #header>
|
|
<span class="mr-3">计量清单列表</span>
|
|
<span class="mr-3">计量清单列表</span>
|
|
- <span class="font-400 text-orange">温馨提示:超计,累计计量量> 变更后数量,分解清单超计整行红色</span>
|
|
|
|
|
|
+ <span class="text-orange font-400">温馨提示:超计,累计计量量> 变更后数量,分解清单超计整行红色</span>
|
|
</template>
|
|
</template>
|
|
<template #extra>
|
|
<template #extra>
|
|
<el-button type="primary" text @click="addBillBaseModalClick">
|
|
<el-button type="primary" text @click="addBillBaseModalClick">
|
|
@@ -84,7 +84,7 @@
|
|
<span>添加清单</span>
|
|
<span>添加清单</span>
|
|
</el-button>
|
|
</el-button>
|
|
</template>
|
|
</template>
|
|
- <hc-table is-new :index-style="{ width: 60 }" :column="addTableColumn" :datas="addTableData" :row-style="addTableRowStyle">
|
|
|
|
|
|
+ <hc-table is-new :index-style="{ width: 60 }" :is-stripe="false" :column="addTableColumn" :datas="addTableData" :row-style="addTableRowStyle">
|
|
<template #currentPrice="{ row }">
|
|
<template #currentPrice="{ row }">
|
|
<hc-table-input v-model="row.currentPrice" disabled />
|
|
<hc-table-input v-model="row.currentPrice" disabled />
|
|
</template>
|
|
</template>
|
|
@@ -111,7 +111,7 @@
|
|
<!-- 附件列表 -->
|
|
<!-- 附件列表 -->
|
|
<hc-card-item class="mt-3" title="附件列表">
|
|
<hc-card-item class="mt-3" title="附件列表">
|
|
<template #extra>
|
|
<template #extra>
|
|
- <span class="font-400 text-orange">可上传 图片(png、jpg、jpeg)、Excel(xls、xlsx)、PDF、Word(doc、docx)文件</span>
|
|
|
|
|
|
+ <span class="text-orange font-400">可上传 图片(png、jpg、jpeg)、Excel(xls、xlsx)、PDF、Word(doc、docx)文件</span>
|
|
</template>
|
|
</template>
|
|
<el-form :model="baseForm" label-position="left" label-width="auto">
|
|
<el-form :model="baseForm" label-position="left" label-width="auto">
|
|
<el-form-item label="上传附件">
|
|
<el-form-item label="上传附件">
|
|
@@ -215,9 +215,10 @@ watch(() => props.ids, (id) => {
|
|
|
|
|
|
//监听
|
|
//监听
|
|
watch(isShow, (val) => {
|
|
watch(isShow, (val) => {
|
|
|
|
+ baseForm.value = { fileList: [] }
|
|
if (val && dataType.value === 'add' ) {
|
|
if (val && dataType.value === 'add' ) {
|
|
- setBasePeriodForm(period_id.value)
|
|
|
|
setSplitRef()
|
|
setSplitRef()
|
|
|
|
+ setBasePeriodForm(period_id.value)
|
|
} else if (val && dataType.value === 'edit') {
|
|
} else if (val && dataType.value === 'edit') {
|
|
getDataDetail()
|
|
getDataDetail()
|
|
}
|
|
}
|