Commit d1cead47 authored by youjie's avatar youjie

no message

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