master
wangxinglong 2022-03-28 20:08:54 +08:00
parent 4a83c39831
commit 9aebf10f3f
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@
$("#price").text(0); $("#price").text(0);
return false; return false;
} }
if(agency>0 || consumer>0){ if(agency>0 && consumer>0){
if (agency < consumer) { if (agency < consumer) {
$("#price").text( {$minPrice}+"*"+"(100/"+agency+")" +"="+({$minPrice}*(100/agency))); $("#price").text( {$minPrice}+"*"+"(100/"+agency+")" +"="+({$minPrice}*(100/agency)));
}else{ }else{

View File

@ -58,7 +58,7 @@
$("#price").text(0); $("#price").text(0);
return false; return false;
} }
if(distribution>0 || distributed>0){ if(distribution>0 && distributed>0){
if (distribution < distributed) { if (distribution < distributed) {
$("#price").text( {$minPrice}+"*"+"(100/"+distribution+")" +"="+({$minPrice}*(100/distribution))); $("#price").text( {$minPrice}+"*"+"(100/"+distribution+")" +"="+({$minPrice}*(100/distribution)));
}else{ }else{