Commit d6e3bf1f authored by 黄奎's avatar 黄奎

页面修改

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