Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
super_liu
2022-04-01 09:58:47 +08:00
4 changed files with 52 additions and 41 deletions
@@ -352,8 +352,8 @@
<div class="details-content-modular basic-information" style="margin-bottom: 0"> <div class="details-content-modular basic-information" style="margin-bottom: 0">
<div class="basic-information-content"> <div class="basic-information-content">
<p class=""><label style=" margin-right: 171px;">企标号</label><span>{{ sarStandardsInfoEO.standCode }}</span></p> <p class=""><label style=" margin-right: 171px;">企标号</label><span>{{ sarStandardsInfoEO.standCode }}</span></p>
<template v-for="(child, childIndex) in item.child1"> <p><template v-for="(child, childIndex) in item.child1" >
<div class="files-title" style="border-bottom: 1px solid #E5E5E5"> <div class="files-title">
<label style="float: left;min-height: 43px;line-height: 43px;" >{{ child.attrName }}</label> <label style="float: left;min-height: 43px;line-height: 43px;" >{{ child.attrName }}</label>
<template style="margin-left: 220px;"> <template style="margin-left: 220px;">
<div style="position: relative;margin-left: 214px;min-height: 42px;"> <div style="position: relative;margin-left: 214px;min-height: 42px;">
@@ -414,7 +414,7 @@
</template> </template>
<template v-if="child.value === null" >-</template> <template v-if="child.value === null" >-</template>
</div> </div>
</template> </template></p>
<p><label style="margin-right: 157px;">中文名称</label><span>{{ sarStandardsInfoEO.standName || '-' }}</span></p> <p><label style="margin-right: 157px;">中文名称</label><span>{{ sarStandardsInfoEO.standName || '-' }}</span></p>
<p v-if="activeState" style="border-bottom: none;"><label style=" margin-right: 157px;">英文名称</label><span>{{ sarStandardsInfoEO.standEnName || '-' }}</span></p> <p v-if="activeState" style="border-bottom: none;"><label style=" margin-right: 157px;">英文名称</label><span>{{ sarStandardsInfoEO.standEnName || '-' }}</span></p>
<p class="half"> <p class="half">
@@ -1059,6 +1059,8 @@
<el-upload <el-upload
multiple multiple
drag drag
:limit="8"
:on-exceed="handleExceed"
:file-list="fileList" :file-list="fileList"
:action="fileUrl" :action="fileUrl"
ref="importfile" ref="importfile"
@@ -1921,6 +1923,10 @@ export default {
// }, // },
}, },
methods: { methods: {
//限制上传文件个数
handleExceed (files, fileList) {
this.$message.warning(`当前限制选择 8 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`)
},
// 标准来源改变事件 // 标准来源改变事件
standInChange(val) { standInChange(val) {
this.verifySarStandard = false this.verifySarStandard = false
@@ -1375,6 +1375,8 @@
<el-upload <el-upload
multiple multiple
drag drag
:limit="8"
:on-exceed="handleExceed"
:file-list="fileList" :file-list="fileList"
:action="fileUrl" :action="fileUrl"
ref="importfile" ref="importfile"
@@ -1837,6 +1839,10 @@ export default {
}, },
}, },
methods: { methods: {
//限制上传文件个数
handleExceed (files, fileList) {
this.$message.warning(`当前限制选择 8 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`)
},
// 标准来源改变事件 // 标准来源改变事件
standInChange(val) { standInChange(val) {
this.verifySarStandard = false this.verifySarStandard = false
@@ -538,7 +538,6 @@
</div> </div>
</el-drawer> </el-drawer>
<ProcessFooter <ProcessFooter
show-back
show-transfer show-transfer
show-submit show-submit
:transfer-loading="isTransfer" :transfer-loading="isTransfer"