Commit 23f54f40 authored by 吴春's avatar 吴春

提交代码

parent f9202f85
......@@ -1065,7 +1065,7 @@
<el-radio @change="YfSelect1" style="padding-bottom:10px" class="yfradio" :label="1">
教育表单
</el-radio>
<el-radio v-for="(option, key) in customFormList" :key="key" :label="Id" class="yfradio" style="padding-bottom:10px">{{ option.FormName }}</el-radio>
<el-radio @change="YfSelect1" v-for="(option, key) in customFormList" :key="key" :label="option.Id" class="yfradio" style="padding-bottom:10px">{{ option.FormName }}</el-radio>
</el-radio-group>
</div>
......@@ -1128,7 +1128,7 @@
return {
input:'',
ComTreeList: [],
CustomFormList:[],
customFormList:[],
thisType: 0,
tableData: [],
SpecificationList: [],
......@@ -1360,13 +1360,14 @@
},
mounted() {
this.$refs.ue.loadUe();
this.getCustomFormList();
if (this.$route.query.GoodsId) {
this.GoodsId = this.$route.query.GoodsId;
this.getData();
} else {
this.getTree();
}
this.getCustomFormList();
if (this.currentUserInfo.IsOpenSchool == 0) {
this.isShowPlat = false
} else {
......@@ -2031,13 +2032,21 @@
this.AreaList = data;
},
YfSelect1(val) {
console.log("formId",val);
this.addMsg.FormsId = val;
if (this.addMsg.FormsId == 0) {
this.addMsg.FormsName = '默认商城'
} else if (this.addMsg.FormsId == 1) {
this.addMsg.FormsName = '教育表单'
}
else if (this.addMsg.FormsId > 1) {
this.customFormList.forEach(item => {
if( this.addMsg.FormsId==item.Id){
this.addMsg.FormsName = item.FormName
}
});
}
this.$forceUpdate()
},
......@@ -2225,8 +2234,9 @@
} else if (this.addMsg.FormsId == 1) {
this.addMsg.FormsName = '教育表单'
}
else if (this.addMsg.FormsId == 1) {
this.CustomFormList.forEach(item => {
else if (this.addMsg.FormsId > 1) {
this.customFormList.forEach(item => {
console.log("item",item);
if(this.val1==item.Id){
this.addMsg.FormsName = item.FormName
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment