var ghzl=crmForm.all.new_ghzlkp.DataValue; //供货质量
var ghfw=crmForm.all.new_ghfwkpf.DataValue; //供货服务
var jskh=crmForm.all.new_jskhkp.DataValue; //技术考核
var jgcb=crmForm.all.new_jgcbkp.DataValue; //价格成本
var zkpf=(ghzl+ghfw+jskh+jgcb);
crmForm.all.new_fractionfraction.DataValue=zkpf; //计算上述价格
if (zkpf>= 90.1 && zkpf<= 100)
{
crmForm.all.new_procurementsupplierstep.DataValue="1";
if (zkpf>= 90)
{
crmForm.all.new_procurementsupplier.DataValue="1";
}
}
else if (zkpf>= 80.1 && zkpf<= 90)
{
crmForm.all.new_procurementsupplierstep.DataValue="2";
crmForm.all.new_procurementsupplier.DataValue="2";
}
else if (zkpf>= 70.1 && zkpf<= 80)
{
if (zkpf>= 75.1)
{
crmForm.all.new_procurementsupplierstep.DataValue="3";
}
else
{
crmForm.all.new_procurementsupplier.DataValue="3";
}
crmForm.all.new_procurementsupplierstep.DataValue="3";
}
else if (zkpf>= 60.1 && zkpf<= 70)
{
crmForm.all.new_procurementsupplier.DataValue="3";
crmForm.all.new_procurementsupplierstep.DataValue="4";
}
else if (zkpf>=0 && zkpf< 60)
{
crmForm.all.new_procurementsupplier.DataValue="4";
crmForm.all.new_procurementsupplier.DataValue="5";
// Label2.Text = "不合格供应商";
}