Merge remote-tracking branch 'origin/dev_third_stage' into dev_third_stage
This commit is contained in:
@@ -138,11 +138,11 @@
|
|||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<div class="box-title-text">
|
<div class="box-title-text">
|
||||||
<div class="title-text">
|
<div class="title-text">
|
||||||
<span class="Required">*</span>
|
<span class="Required" v-if='required'>*</span>
|
||||||
<span class="title-text-text"
|
<span class="title-text-text"
|
||||||
:title="$t('NcertificationCategory')">{{$t('NcertificationCategory')}}</span>
|
:title="$t('NcertificationCategory')">{{$t('NcertificationCategory')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-form-model-item class="itemModel-multi" prop="certCategory">
|
<a-form-model-item class="itemModel-multi" :prop="required?certCategory:''">
|
||||||
<j-multi-select-tag-only-rz class="box-input" v-model="formInline.certCategory"
|
<j-multi-select-tag-only-rz class="box-input" v-model="formInline.certCategory"
|
||||||
@change='Onchange'
|
@change='Onchange'
|
||||||
v-on:changelabel='Onchangelabel'
|
v-on:changelabel='Onchangelabel'
|
||||||
@@ -370,6 +370,7 @@ export default {
|
|||||||
certCategoryParamsInfoEOList: [], // 认证类别得tab栏
|
certCategoryParamsInfoEOList: [], // 认证类别得tab栏
|
||||||
formInline: {},
|
formInline: {},
|
||||||
confirmLoading: false,
|
confirmLoading: false,
|
||||||
|
required:true,
|
||||||
visible: false,
|
visible: false,
|
||||||
rules: {
|
rules: {
|
||||||
nioNumber:[
|
nioNumber:[
|
||||||
@@ -470,6 +471,11 @@ export default {
|
|||||||
},
|
},
|
||||||
controlTypeChange(value){
|
controlTypeChange(value){
|
||||||
this.$refs.ruleForm.clearValidate(['controlVerify','titleDefaultValue','controlValues'])
|
this.$refs.ruleForm.clearValidate(['controlVerify','titleDefaultValue','controlValues'])
|
||||||
|
if(value == 11){
|
||||||
|
this.required = false
|
||||||
|
}else {
|
||||||
|
this.required = true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
uploadSuccess(data) {
|
uploadSuccess(data) {
|
||||||
let attIdList = []
|
let attIdList = []
|
||||||
@@ -663,7 +669,7 @@ export default {
|
|||||||
this.$refs['ruleForm'].resetFields()
|
this.$refs['ruleForm'].resetFields()
|
||||||
},
|
},
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
if(this.formInline.certCategory == undefined) {
|
if(this.formInline.certCategory == undefined && this.formInline.controlType != 11) {
|
||||||
this.$message.warning(this.$t('certificationCategory')+this.$t('cannotEmpty'))
|
this.$message.warning(this.$t('certificationCategory')+this.$t('cannotEmpty'))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user