fix(产品标准): 标准体系

This commit is contained in:
zyn
2024-01-15 15:40:41 +08:00
parent aa8c806d01
commit 885d9042a0
@@ -25,11 +25,12 @@
/>
<el-form-item label="标准体系" prop="TXLBBUSS" class="add-form-item form-item-disabled">
<el-input
v-model="form.TXLBBUSS"
:value="form.TXLBBUSS"
:disabled="disabled"
placeholder="选择标准体系"
clearable
@click.native="choiceZRR"
@clear="handleClearStandSystem"
/>
</el-form-item>
</el-col>
@@ -117,16 +118,24 @@ export default {
}
},
methods: {
choiceZRR () {
choiceZRR (e) {
if (e.target.className === 'el-input__icon el-icon-circle-close el-input__clear') {
return;
}
this.modalShowFlag = true
},
handleClearStandSystem () {
this.form.TXLBBUSS = ''
this.form.menuId = ''
this.form.treeType = ''
},
popoverHide (checkedIds, checkedData, isShow, isLoadChild, topId) {
if(checkedData) {
if (checkedData.parentId == null || checkedData.parentId === '') {
this.$message.error('请选择二级及以下目录')
return
}
this.form.TXLBBUSS = checkedData.menuName
this.form.TXLBBUSS = checkedData.menuNames
this.form.menuId = checkedData.id
this.form.treeType = 'sarMs'
}