Commit d6e3bf1f authored by 黄奎's avatar 黄奎

页面修改

parent 6d4be798
......@@ -903,7 +903,7 @@
{{currencyTypeObj[cur.CurrencyId]}}
</template>
) </span>
</br></span>
<br /></span>
</td>
<td style="padding: 5px 20px;">
<div style="margin:10px 0" v-for="cur in CurrencyListMoney">
......@@ -1500,7 +1500,7 @@
}
if (!num) {
if (totailMoney > leadrPlanPrice)
//return this.$message.error("最大领款为预付合计金额的95%!");
// return this.$message.error("最大领款为预付合计金额的95%!");
if (!leadr.LeaderGetPriceT || leadr.LeaderGetPriceT <= 0)
return this.$message.error("请输入金额!");
}
......@@ -1768,14 +1768,21 @@
});
this.CurrencyListMoney.forEach((cur, i) => {
cur.LeaderGetPriceArr.forEach(lead => {
if(lead.LeaderGetPrice==0){
lead.LeaderGetPriceT = (Math.floor((cur.money * this.comRate - cur.yiLing) * 100) / 100)/10000;
lead.LeaderGetPriceT = lead.LeaderGetPriceT.toFixed(1)*10000
}else{
lead.LeaderGetPriceT =
Math.floor((cur.money * this.comRate - cur.yiLing) * 100) / 100;
var tempMoney = (cur.money * this.comRate - cur.yiLing);
if (lead.LeaderGetPrice == 0) {
if (this.myLineId == 14) {
lead.LeaderGetPriceT = Math.round(tempMoney / 10000) * 10000;
} else {
//其它线路可能不精确到"万"
lead.LeaderGetPriceT = Math.round(tempMoney / 10000) * 10000;
}
} else {
if (this.myLineId == 14) {
lead.LeaderGetPriceT = Math.round(tempMoney * 100) / 100;
} else {
lead.LeaderGetPriceT = Math.round(tempMoney * 100) / 100;
}
}
lead.PlanPrice = cur.money * this.comRate;
});
});
......
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