Commit 0ebe8e3d authored by 黄奎's avatar 黄奎
parents af717eca d76f4734
...@@ -262,7 +262,7 @@ ...@@ -262,7 +262,7 @@
return; return;
} }
}else{ }else{
if(item.BranchCommission>0){ if(item.BranchCommission!=0){
Money=item.BranchCommission Money=item.BranchCommission
}else{ }else{
this.Error("公司提成为0,不能制单!") this.Error("公司提成为0,不能制单!")
......
...@@ -288,14 +288,14 @@ ...@@ -288,14 +288,14 @@
let Money let Money
if(this.msg.OutBranchId>-1){ if(this.msg.OutBranchId>-1){
if(type==1){ if(type==1){
if(item.BranchCommission>0){ if(item.BranchCommission!=0){
Money=item.BranchCommission Money=item.BranchCommission
}else{ }else{
this.Error("公司提成为0,不能制单!") this.Error("公司提成为0,不能制单!")
return; return;
} }
}if(type==2){ }if(type==2){
if(item.BranchOPCommission>0){ if(item.BranchOPCommission!=0){
Money=item.BranchOPCommission Money=item.BranchOPCommission
}else{ }else{
this.Error("公司提成为0,不能制单!") this.Error("公司提成为0,不能制单!")
......
...@@ -300,7 +300,7 @@ ...@@ -300,7 +300,7 @@
return; return;
} }
}else{ }else{
if(item.BranchCommission>0){ if(item.BranchCommission!=0){
Money=item.BranchCommission Money=item.BranchCommission
}else{ }else{
this.Error("公司提成为0,不能制单!") this.Error("公司提成为0,不能制单!")
......
...@@ -218,7 +218,7 @@ ...@@ -218,7 +218,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
} else { } else {
this.Error("公司提成为0,不能制单!") this.Error("公司提成为0,不能制单!")
......
...@@ -239,7 +239,7 @@ ...@@ -239,7 +239,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
}else{ }else{
this.Error("公司提成为0,不能制单!") this.Error("公司提成为0,不能制单!")
......
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