Commit 1c953b64 authored by 黄媛媛's avatar 黄媛媛
parents b0af3685 92a975f9
...@@ -118,7 +118,6 @@ ...@@ -118,7 +118,6 @@
<td v-if="childIndex==0" :rowspan="6"> <td v-if="childIndex==0" :rowspan="6">
{{subItem.RealityHouseTypeCount}} {{subItem.RealityHouseTypeCount}}
</td> </td>
<td v-if="childIndex==0" :rowspan="6"> <td v-if="childIndex==0" :rowspan="6">
<table class="hotelTable"> <table class="hotelTable">
<tr> <tr>
...@@ -199,10 +198,24 @@ ...@@ -199,10 +198,24 @@
</td> --> </td> -->
<!-- 单价/每人 --> <!-- 单价/每人 -->
<td> <td>
<el-input @keyup.native="checkInteger(childItem,'UnitPrice')" class='w60 tcenter' <template v-if="childIndex==1">
@input="calculationPrice(subItem)" v-model='childItem.UnitPrice' <template v-if="CurrentUserInfo.EmployeeId == 615">
:disabled="IsEditHotel==0?true:false"> <el-input @keyup.native="checkInteger(childItem,'UnitPrice')" class='w60 tcenter'
</el-input> @input="calculationPrice(subItem)" v-model='childItem.UnitPrice'></el-input>
</template>
<template v-else>
<el-input @keyup.native="checkInteger(childItem,'UnitPrice')" class='w60 tcenter'
@input="calculationPrice(subItem)" v-model='childItem.UnitPrice'
:disabled="(IsEditHotel==0||childItem.IsHaveStockPrice==1)?true:false">
</el-input>
</template>
</template>
<template v-else>
<el-input @keyup.native="checkInteger(childItem,'UnitPrice')" class='w60 tcenter'
@input="calculationPrice(subItem)" v-model='childItem.UnitPrice'
:disabled="IsEditHotel==0?true:false">
</el-input>
</template>
</td> </td>
<!-- 免减人数 --> <!-- 免减人数 -->
<td> <td>
...@@ -732,9 +745,8 @@ ...@@ -732,9 +745,8 @@
ID: subItem.NewHotelId ID: subItem.NewHotelId
}); });
//默认成日元 //默认成日元
if(subItem.CurrencyId==0) if (subItem.CurrencyId == 0) {
{ subItem.CurrencyId = 3;
subItem.CurrencyId=3;
} }
this.calculationPrice(subItem); this.calculationPrice(subItem);
subItem.OrderDetailsList.forEach((x, index1) => { subItem.OrderDetailsList.forEach((x, index1) => {
...@@ -774,7 +786,7 @@ ...@@ -774,7 +786,7 @@
return item.ID === obj.CurrencyId; //筛选出匹配数据 return item.ID === obj.CurrencyId; //筛选出匹配数据
}); });
} }
//日元 //日元
let jpaObj = this.allCurrencyList.find(item => { let jpaObj = this.allCurrencyList.find(item => {
return item.ID === 3; //筛选出匹配数据 return item.ID === 3; //筛选出匹配数据
...@@ -805,13 +817,12 @@ ...@@ -805,13 +817,12 @@
else if (currentObj.ID == 3) { else if (currentObj.ID == 3) {
obj.NewTotalPrice = ""; obj.NewTotalPrice = "";
} else { } else {
if(currentObj.CurrentRate>1) if (currentObj.CurrentRate > 1) {
{ obj.NewTotalPrice = currentObj.Name + ":" + ((totalPrice * jpaObj.PayRate) / currentObj.CurrentRate)
obj.NewTotalPrice = currentObj.Name + ":" + ((totalPrice*jpaObj.PayRate)/currentObj.CurrentRate).toFixed(2); .toFixed(2);
} } else {
else obj.NewTotalPrice = currentObj.Name + ":" + ((totalPrice * jpaObj.PayRate) * currentObj.CurrentRate)
{ .toFixed(2);
obj.NewTotalPrice = currentObj.Name + ":" + ((totalPrice*jpaObj.PayRate)*currentObj.CurrentRate).toFixed(2);
} }
} }
} else { } else {
......
...@@ -468,6 +468,7 @@ ...@@ -468,6 +468,7 @@
"-" + "-" +
myDate.getDate(); myDate.getDate();
this.msg.StartDate = nowDate; this.msg.StartDate = nowDate;
this.msg.LineId=14;//默认日本线
// this.msg.StartDate = ''; // this.msg.StartDate = '';
// this.msg.TCNUM = 'NRTCA07190704A'; // this.msg.TCNUM = 'NRTCA07190704A';
this.getLineList(); this.getLineList();
......
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