Commit d1cead47 authored by youjie's avatar youjie

no message

parent b2b6ae78
......@@ -5,7 +5,7 @@
<li style="color: red;"></li>
<li>
<input type="button" class="hollowFixedBtn" value="新增" @click="AddMsg"/>
<input type="button" class="normalBtn" style="position: absolute; right: 90px;t" value="查询" @click="getList"/>
<input type="button" class="normalBtn" style="position: absolute; right: 90px;" value="查询" @click="getList"/>
</li>
</ul>
</div>
......@@ -285,8 +285,8 @@
<el-switch
v-model="form.IsEnableFBranch"
@change="isSwitch"
active-value="1"
inactive-value="0">
active-value=1
inactive-value=0>
</el-switch>
</div>
<div>
......@@ -553,7 +553,7 @@
Rate:null
}
],
IsEnableFBranch: false,
IsEnableFBranch: 0,
FSingleVisaMoney: 0,
FTravelVisaMoney: 0
},
......@@ -583,13 +583,13 @@
addRule(row,index,type,num){
if(type==2){
if(num){
this.form.FProfitList.push(JSON.parse(JSON.stringify(this.ProfitList)))
this.form.FProfitList.push(JSON.parse(JSON.stringify(this.FProfitList)))
}else{
this.form.ProfitList.push(JSON.parse(JSON.stringify(this.ProfitList)))
}
}else if(type==3){
if(num){
this.form.FExtraList.push(JSON.parse(JSON.stringify(this.ExtraList)))
this.form.FExtraList.push(JSON.parse(JSON.stringify(this.FExtraList)))
}else{
this.form.ExtraList.push(JSON.parse(JSON.stringify(this.ExtraList)))
}
......@@ -614,7 +614,7 @@
AddMsg(){//新增
this.ruleVisible = true
this.titleName = '提成规则'
this.form.FExtraList.push(JSON.parse(JSON.stringify(this.FExtraList)))
this.form.FExtraList = [JSON.parse(JSON.stringify(this.FExtraList))]
},
SetRules(item){//编辑
this.titleName = '编辑规则'
......@@ -637,7 +637,7 @@
CountryId: item.CountryId>0||item.CountryId==0?item.CountryId:null,
ProfitList: item.ProfitList,
ExtraList: item.ExtraList,
IsEnableFBranch: item.IsEnableFBranch,
IsEnableFBranch: String(item.IsEnableFBranch),
FProfitList: item.FProfitList&&item.FProfitList.length>0?item.FProfitList:item.IsEnableFBranch>0?[this.FProfitList]:[],
FExtraList: item.FExtraList&&item.FExtraList.length>0?item.FExtraList:[this.FExtraList],
FSingleVisaMoney: item.FSingleVisaMoney,
......
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