[update] 修改企标制修订第三个节点编制说明字段改成意见汇总,以及上传文件后的校验没消失的问题
This commit is contained in:
@@ -157,7 +157,8 @@ module.exports = {
|
|||||||
implementationDate: '实施日期',
|
implementationDate: '实施日期',
|
||||||
esPlan: '企标计划',
|
esPlan: '企标计划',
|
||||||
deadlineNeedGreaterThan: '征求意见截止日期需要比征求意见稿计划完成日期早',
|
deadlineNeedGreaterThan: '征求意见截止日期需要比征求意见稿计划完成日期早',
|
||||||
noStandardTextLook: '暂无标准文本可查看'
|
noStandardTextLook: '暂无标准文本可查看',
|
||||||
|
summaryOfOpinions: '意见汇总'
|
||||||
},
|
},
|
||||||
// 企标更改流程
|
// 企标更改流程
|
||||||
enStandardChange: {
|
enStandardChange: {
|
||||||
|
|||||||
@@ -666,6 +666,7 @@ export default {
|
|||||||
data.map(item => {
|
data.map(item => {
|
||||||
attNameList.push(item.fileName)
|
attNameList.push(item.fileName)
|
||||||
})
|
})
|
||||||
|
this.$refs.ruleForm.clearValidate(this.uploadName)
|
||||||
}
|
}
|
||||||
console.log(data)
|
console.log(data)
|
||||||
/** 赋值给当前对应的表单文件 */
|
/** 赋值给当前对应的表单文件 */
|
||||||
|
|||||||
+11
-10
@@ -79,19 +79,19 @@
|
|||||||
</a-button>
|
</a-button>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
</div>
|
</div>
|
||||||
<!-- 编制说明 -->
|
<!-- 意见汇总 -->
|
||||||
<div class="box-title-text form-flex-item">
|
<div class="box-title-text form-flex-item">
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
<span class="required">*</span>
|
<span class="required">*</span>
|
||||||
<span class="title-text-text" :title="$t('workCenter.enStandardRevision.compilationIllustration')">
|
<span class="title-text-text" :title="$t('workCenter.enStandardRevision.summaryOfOpinions')">
|
||||||
{{ $t('workCenter.enStandardRevision.compilationIllustration') }}
|
{{ $t('workCenter.enStandardRevision.summaryOfOpinions') }}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="item-model" prop="compIllustration">
|
<a-form-model-item class="item-model" prop="commentsSummary">
|
||||||
<a-button type="primary" class="button-text" style="width: 200px" @click="clickButtonToUpload('compIllustration')">
|
<a-button type="primary" class="button-text" style="width: 200px" @click="clickButtonToUpload('commentsSummary')">
|
||||||
{{
|
{{
|
||||||
(formInline.compIllustration === 'null' || formInline.compIllustration === ''
|
(formInline.commentsSummary === 'null' || formInline.commentsSummary === ''
|
||||||
|| formInline.compIllustration === null || formInline.compIllustration === undefined)
|
|| formInline.commentsSummary === null || formInline.commentsSummary === undefined)
|
||||||
? $t('uploadFile.clickUpload')
|
? $t('uploadFile.clickUpload')
|
||||||
: $t('uploadFile.viewUploadedFiles')
|
: $t('uploadFile.viewUploadedFiles')
|
||||||
}}
|
}}
|
||||||
@@ -270,11 +270,11 @@ export default {
|
|||||||
trigger: 'change'
|
trigger: 'change'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
// 编制说明
|
// 意见汇总
|
||||||
compIllustration: [
|
commentsSummary: [
|
||||||
{
|
{
|
||||||
required: true,
|
required: true,
|
||||||
message: this.$t('workCenter.enStandardRevision.compilationIllustration') + this.$t('cannotEmpty'),
|
message: this.$t('workCenter.enStandardRevision.summaryOfOpinions') + this.$t('cannotEmpty'),
|
||||||
trigger: 'change'
|
trigger: 'change'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -474,6 +474,7 @@ export default {
|
|||||||
data.map(item => {
|
data.map(item => {
|
||||||
attIdList.push(item.id)
|
attIdList.push(item.id)
|
||||||
})
|
})
|
||||||
|
this.$refs.ruleForm.clearValidate(this.uploadName)
|
||||||
}
|
}
|
||||||
/** 赋值给当前对应的表单文件 */
|
/** 赋值给当前对应的表单文件 */
|
||||||
this.formInline[this.uploadName] = attIdList.join(',')
|
this.formInline[this.uploadName] = attIdList.join(',')
|
||||||
|
|||||||
+1
@@ -368,6 +368,7 @@ export default {
|
|||||||
data.map(item => {
|
data.map(item => {
|
||||||
attIdList.push(item.id)
|
attIdList.push(item.id)
|
||||||
})
|
})
|
||||||
|
this.$refs.ruleForm.clearValidate(this.uploadName)
|
||||||
}
|
}
|
||||||
/** 赋值给当前对应的表单文件 */
|
/** 赋值给当前对应的表单文件 */
|
||||||
this.formInline[this.uploadName] = attIdList.join(',')
|
this.formInline[this.uploadName] = attIdList.join(',')
|
||||||
|
|||||||
Reference in New Issue
Block a user