Commit 6dd20d36 authored by Mac's avatar Mac

1

parent a0192831
......@@ -1037,10 +1037,10 @@
<el-dialog title="选择表单" top="2%" :visible.sync="choosebdDig" width="30%">
<div>
<el-radio-group v-model="val1">
<el-radio @change="YfSelect1" style="padding-bottom:10px" class="yfradio" :label="{ Name: '默认商城', Id: 0 }">
<el-radio @change="YfSelect1" style="padding-bottom:10px" class="yfradio" :label="0">
默认商城
</el-radio>
<el-radio @change="YfSelect1" style="padding-bottom:10px" class="yfradio" :label="{ Name: '教育表单', Id: 1 }">
<el-radio @change="YfSelect1" style="padding-bottom:10px" class="yfradio" :label="1">
教育表单
</el-radio>
</el-radio-group>
......@@ -2002,8 +2002,15 @@
this.AreaList = data;
},
YfSelect1(val) {
this.addMsg.FormsId = val.Id;
this.addMsg.FormsName = val.Name;
this.addMsg.FormsId = val;
if(this.addMsg.FormsId ==0){
this.addMsg.FormsName = '默认商城'
}else if(this.addMsg.FormsId ==1){
this.addMsg.FormsName='教育表单'
}
this.$forceUpdate()
},
YfSelect(val) {
this.addMsg.FreightId = val.ID;
......@@ -2179,6 +2186,7 @@
this.GradeCommissionList = this.addMsg.DistributionCommissionTreeList[0].GradeCommissionList;
}
}
this.val1 = this.addMsg.FormsId
if(this.addMsg.FormsId == -1 || this.addMsg.FormsId == 0){
this.addMsg.FormsName='默认商城'
}else if(this.addMsg.FormsId == 1){
......
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