Commit ad303ffa authored by youjie's avatar youjie

no message

parent 7bf96143
...@@ -322,7 +322,7 @@ ...@@ -322,7 +322,7 @@
IsUploadPic: 1, IsUploadPic: 1,
orderObj: JSON.stringify(obj) orderObj: JSON.stringify(obj)
} }
if(this.msg.OutBranchId>-1){ if(this.msg.OutBranchId > 0){
query.id = 30 query.id = 30
query.Name = "分公司销售提成单" query.Name = "分公司销售提成单"
}else{ }else{
......
...@@ -294,7 +294,7 @@ ...@@ -294,7 +294,7 @@
IsUploadPic: 1, IsUploadPic: 1,
orderObj: JSON.stringify(obj) orderObj: JSON.stringify(obj)
} }
if(this.msg.OutBranchId>-1){ if(this.msg.OutBranchId>0){
query.id = 30 query.id = 30
query.Name = "分公司销售提成单" query.Name = "分公司销售提成单"
}else{ }else{
......
...@@ -263,7 +263,7 @@ ...@@ -263,7 +263,7 @@
IsUploadPic: 1, IsUploadPic: 1,
orderObj: JSON.stringify(obj) orderObj: JSON.stringify(obj)
} }
if(this.msg.OutBranchId>-1){ if(this.msg.OutBranchId>0){
query.id = 30 query.id = 30
query.Name = "分公司销售提成单" query.Name = "分公司销售提成单"
}else{ }else{
......
...@@ -96,11 +96,11 @@ ...@@ -96,11 +96,11 @@
{{x.Rate?x.Rate:'未设汇率'}} {{x.Rate?x.Rate:'未设汇率'}}
</span> </span>
<span style="color: #6E6E6E;">{{x.CurrencyName}}</span> <span style="color: #6E6E6E;">{{x.CurrencyName}}</span>
</div> </div>
<div style="flex-shrink: 0;justify-content: end;align-items: flex-end;" <div style="flex-shrink: 0;justify-content: end;align-items: flex-end;"
v-if="y==item.CurrencyRateList.length-1&&isRateAuthoTW&&item.FinanceIdList.length==0"> v-if="y==item.CurrencyRateList.length-1&&isRateAuthoTW&&item.FinanceIdList.length==0">
<i class="el-icon-edit" <i class="el-icon-edit"
style="color: #409eff;cursor: pointer;" @click="editRate(item)"></i> style="color: #409eff;cursor: pointer;" @click="editRate(item)"></i>
</div> </div>
</div> </div>
...@@ -224,7 +224,7 @@ ...@@ -224,7 +224,7 @@
if (ActionMenuCode.indexOf('isRateAuthoTW') != -1){ if (ActionMenuCode.indexOf('isRateAuthoTW') != -1){
this.isRateAuthoTW = true this.isRateAuthoTW = true
} }
this.getList(); this.getList();
this.getCompanyList() this.getCompanyList()
this.GetCommissionPeroidsList() this.GetCommissionPeroidsList()
...@@ -247,7 +247,7 @@ ...@@ -247,7 +247,7 @@
editRate(item){ editRate(item){
this.addMsg.PeriodsId = item.Id this.addMsg.PeriodsId = item.Id
this.addMsg.CurrencyRate = JSON.parse(JSON.stringify(item.CurrencyRateList)) this.addMsg.CurrencyRate = JSON.parse(JSON.stringify(item.CurrencyRateList))
this.showVisible = true this.showVisible = true
}, },
submit(formName) { submit(formName) {
...@@ -363,7 +363,7 @@ ...@@ -363,7 +363,7 @@
); );
}, },
YijianZD(item) { YijianZD(item) {
let Money let Money
if(this.msg.OutBranchId>-1){ if(this.msg.OutBranchId>-1){
if(item.BranchCommission>0){ if(item.BranchCommission>0){
Money=item.BranchCommission Money=item.BranchCommission
...@@ -391,14 +391,14 @@ ...@@ -391,14 +391,14 @@
orderObj: JSON.stringify(obj), orderObj: JSON.stringify(obj),
companyID: this.msg.OutBranchId companyID: this.msg.OutBranchId
} }
if(this.msg.OutBranchId>-1){ if(this.msg.OutBranchId>0){
query.id = 30 query.id = 30
query.Name = "分公司销售提成单" query.Name = "分公司销售提成单"
}else{ }else{
query.id = 28 query.id = 28
query.Name = "总部销售提成单" query.Name = "总部销售提成单"
} }
this.$router.push({ this.$router.push({
path: "/addFinancialDocuments", path: "/addFinancialDocuments",
query query
...@@ -419,4 +419,4 @@ ...@@ -419,4 +419,4 @@
} }
} }
</script> </script>
\ No newline at end of file
...@@ -421,7 +421,7 @@ ...@@ -421,7 +421,7 @@
orderObj: JSON.stringify(obj), orderObj: JSON.stringify(obj),
companyID: this.msg.OutBranchId companyID: this.msg.OutBranchId
} }
if(this.msg.OutBranchId>-1){ if(this.msg.OutBranchId>0){
query.id = 30 query.id = 30
query.Name = "分公司销售提成单" query.Name = "分公司销售提成单"
}else{ }else{
......
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