Commit 630b7a5b authored by liudong1993's avatar liudong1993
parents ee8a30ce e057a75a
......@@ -431,7 +431,10 @@
<td style="color: #ff9c00">{{ item.tC_Price }}</td>
<td style="color: #ff9c00">¥{{ item.unit_Price }}</td>
<td>
<p style="color: #ff9c00">¥{{ item.preferPrice }}</p>
<p style="color: #ff9c00;cursor: pointer;">
<!-- ¥{{ item.preferPrice }} -->
<PriceDetail :OrderId="item.orderId" :PreferPrice="item.preferPrice"></PriceDetail>
</p>
</td>
<td>
......@@ -739,10 +742,12 @@
import Treeselect from "@riophae/vue-treeselect";
import updateSalesMan from "../commonPage/updateSalesMan.vue";
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
import PriceDetail from '../orderCommon/PriceDetail.vue';
export default {
components: {
Treeselect,
updateSalesMan,
PriceDetail,
},
data() {
return {
......
......@@ -1793,7 +1793,10 @@
<td style="color: #ff9c00">{{ item.unit_Price }}</td>
<td>
<p style="color: #ff9c00">{{ item.preferPrice }}</p>
<p style="color: #ff9c00">
<!-- {{ item.preferPrice }} -->
<PriceDetail :OrderId="item.orderId" :PreferPrice="item.preferPrice"></PriceDetail>
</p>
</td>
<td>
<el-popover style="padding: 0" width="370" trigger="click">
......@@ -2162,7 +2165,7 @@
}}<span v-if="item.oneSex > 0"
style="color: #e95252">({{ item.oneSex == 1 ? "单男" : "单女" }})</span><span v-if="item.chirdNoNeedBedNum > 0"
style="color: #e95252">(儿童不占床{{ item.chirdNoNeedBedNum }}人 )</span>:{{ item.orderGuestHouseStr }}</span>
<div>
<span v-if="item.opTipMoney == '' && item.tipMoney != ''"
......@@ -2177,9 +2180,9 @@
" v-for="(id, i) in item.tipFrId" :key="i">{{ id }}</span>
</span>
</div>
<div class="order-show GO_Contract" v-if="item.isShowDisclaimer==1" @click="showMore(item,index)" >
<span>{{isShow===index ? "隐藏参团免责承诺函" : "显示参团免责承诺函"}}
<span>{{isShow===index ? "隐藏参团免责承诺函" : "显示参团免责承诺函"}}
</span>
</div>
<div v-if="item.otherContractList&&(qjGroupId == userInfo.RB_Group_id || F_ContractManagement)">
......@@ -2476,6 +2479,7 @@
import updateSalesMan from "../commonPage/updateSalesMan.vue";
import commissionDialog from "../FinancialModule/TradeCommission/commissionDialog"
import orderRemark from "../orderCommon/order-remark.vue"; //订单备注
import PriceDetail from '../orderCommon/PriceDetail.vue';
export default {
data() {
return {
......@@ -2799,6 +2803,7 @@
updateSalesMan: updateSalesMan,
commissionDialog,
orderRemark: orderRemark,
PriceDetail,
},
filters: {
priceFormat(value) {
......
......@@ -1939,12 +1939,18 @@
</td>
<td>
<p style="color: #ff9c00">
<span v-if="
<PriceDetail v-if="
item.isOwn == 1 ||
IsSupperOrderEdit ||
IsLookOrder ||
isUpdateOrder
" :OrderId="item.orderId" :PreferPrice="item.preferPrice"></PriceDetail>
<!-- <span v-if="
item.isOwn == 1 ||
IsSupperOrderEdit ||
IsLookOrder ||
isUpdateOrder
">{{ item.preferPrice }}</span>
">{{ item.preferPrice }}</span> -->
<span v-else>*****</span>
</p>
</td>
......@@ -2379,7 +2385,7 @@
</el-popover>
</span>
<div class="order-show GO_Contract" v-if="item.isShowDisclaimer==1" @click="showMore(item,index)" >
<span>{{isShow===index ? "隐藏参团免责承诺函" : "显示参团免责承诺函"}}
<span>{{isShow===index ? "隐藏参团免责承诺函" : "显示参团免责承诺函"}}
</span>
</div>
<div>
......@@ -3229,6 +3235,7 @@
import updateSalesMan from "../commonPage/updateSalesMan.vue";
import EditTip from "./Common/EditTip.vue";
import orderRemark from "../orderCommon/order-remark.vue"; //订单备注
import PriceDetail from '../orderCommon/PriceDetail.vue';
export default {
data() {
return {
......@@ -3622,6 +3629,7 @@
tripDownLoadCommon: tripDownLoadCommon,
updateSalesMan: updateSalesMan,
orderRemark: orderRemark,
PriceDetail,
},
watch: {
fullHeight(val) {
......
......@@ -1035,7 +1035,30 @@
.RegistrationList .el-upload-list {
width: 200px;
}
.PQ_detail {
width: 100%;
border-collapse: collapse;
}
.PQ_detail tr th,
.v-table-title-cell {
background: #e6e6e6;
height: 40px;
font-size: 14px;
border-right: 1px solid #e6e6e6;
color: #333;
}
.PQ_detail tr {
background: #fff;
text-align: center;
height: 40px;
}
.PQ_detail tr td {
font-size: 12px;
border: 1px solid #e5e5e5;
}
</style>
<template>
......@@ -1793,7 +1816,7 @@
<th width="260">{{ $t("fnc.danhao") }}</th>
<th width="150">{{ $t("fnc.khxinxi") }}</th>
<th width="70" class="nowrap"> {{ $t("admin.admin_personNumber") }}/{{ $t("salesModule.AirNum") }}</th>
<th width="110" class="nowrap">{{ $t("fnc.danjia") }}</th>
<!-- <th>单价</th> -->
<th width="110" class="nowrap">{{ $t("fnc.cjdanjia") }}</th>
<th width="110" class="nowrap">{{ $t("fnc.yszonge") }}</th>
<th width="110" class="nowrap">{{ $t("fnc.shishou") }}</th>
......@@ -1809,12 +1832,12 @@
<th width="150" class="nowrap">{{ $t("system.table_operation") }}</th>
</tr>
<tr>
<td v-show="OrderDataList.length == 0" colspan="17" align="center">
<td v-show="OrderDataList.length == 0" colspan="16" align="center">
{{ $t("system.content_noData") }}
</td>
</tr>
<tr v-if=" OrderDataList.leadetList != null &&OrderDataList.leadetList.length > 0 ">
<td colspan="17">
<td colspan="16">
{{ $t("active.cl_orderType") }}:<span class="RL-redType">{{ $t("leader.leader_Leader") }}</span>
</td>
</tr>
......@@ -1866,7 +1889,7 @@
}}{{ $t("ground.lduikongwei") }}{{ $t("salesModule.PeoPle") }})
</span>
</td>
<td>{{ item.TC_Price }}</td>
<!-- <td>{{ item.TC_Price }}</td> -->
<td>{{ item.Unit_Price }}</td>
<td>
<p>{{ item.PreferPrice }}</p>
......@@ -2370,10 +2393,15 @@
}}{{ $t("sm.person") }})
</span>
</td>
<td class="nowrap">{{ childItem.TC_Price }}</td>
<!-- <td>{{childItem.Unit_Price}}单价</td> -->
<td>{{ childItem.Unit_Price }}</td>
<td class="nowrap">
<p>{{ childItem.PreferPrice }}</p>
<p style="text-decoration: underline;cursor: pointer;">
<PriceDetail :OrderId="childItem.OrderId" :PreferPrice="childItem.PreferPrice"></PriceDetail>
<!-- <el-popover width="630" trigger="click"> -->
<!-- {{ childItem.PreferPrice }} -->
</p>
</td>
<td class="nowrap">
<el-popover style="padding: 0" width="400" trigger="click">
......@@ -3059,7 +3087,7 @@
}}{{ $t("sm.person") }})
</span>
</td>
<td>{{ item.TC_Price }}</td>
<!-- <td>{{ item.TC_Price }}</td> -->
<td>{{ item.Unit_Price }}</td>
<td>
<p>{{ item.PreferPrice }}</p>
......@@ -3859,6 +3887,7 @@
import commonShouSun from "../../commonPage/commonShouSun.vue";
import EditTip from "../../SalesModule/Common/EditTip.vue";
import orderTicketUnion from '../../commonPage/orderTicketUnion.vue';
import PriceDetail from '../../orderCommon/PriceDetail.vue';
export default {
data() {
return {
......@@ -4313,22 +4342,49 @@
updateSalesMan: updateSalesMan,
commonShouSun: commonShouSun,
orderTicketUnion: orderTicketUnion,
PriceDetail,
},
filters: {
priceFormat(value) {
if (value == null) {
return 0.0;
}
let nStr = ""; //value.toFixed(2);
console.log("value",value);
let nStr = value.toFixed(2);
let x = nStr.split(".");
let x1 = x[0];
console.log("X1",x1);
let x2 = x.length > 1 ? "." + x[1] : "";
console.log("X2",x2);
var rgx = /(\d+)(\d{3})/;
while (rgx.test(x1)) {
x1 = x1.replace(rgx, "$1" + "," + "$2");
}
return x1 + x2;
},
priceFormat2(value) {
if (value == null) {
return "已包含";
}
let nStr = value.toFixed(2);
nStr += "";
let x = nStr.split(".");
let x1 = x[0];
let x2 = x.length > 1 ? "." + x[1] : "";
var rgx = /(\d+)(\d{3})/;
while (rgx.test(x1)) {
x1 = x1.replace(rgx, "$1" + "," + "$2");
}
let result = x1 + x2;
if (result === "0.00") {
result = "已包含";
}
return result;
},
},
methods: {
//显示订单联运信息
......
<style scoped>
.PQ_detail {
width: 100%;
border-collapse: collapse;
}
.PQ_detail tr th,
.v-table-title-cell {
background: #e6e6e6;
height: 40px;
font-size: 14px;
border-right: 1px solid #e6e6e6;
color: #333;
}
.PQ_detail tr {
background: #fff;
text-align: center;
height: 40px;
}
.PQ_detail tr td {
font-size: 12px;
border: 1px solid #e5e5e5;
}
</style>
<template>
<div>
<el-popover width="630" trigger="click">
<table class="PQ_detail"
v-loading="loading" v-if="OrderPrice&&OrderPrice.B2BMemberPrice">
<tr>
<td
colspan="6"
style="text-align: left; padding-left: 10px"
>
{{ $t("salesModule.BasePrice") }}
</td>
</tr>
<tr>
<td
colspan="6"
style="text-align: left; padding-left: 10px"
>
<div>
总金额: {{Getdetail().datas}}={{Getdetail().Total}}
<span style="color: red;margin-left: 10px; font-size: 11px;">注:如计算应收与订单应收不一致,请看订单日志可能存在其他修改。</span>
</div>
<!--
decimal PreferPrice = ((dmodel.Unit_Price ?? 0) - (model.DiscountPrice ?? 0)) * (dmodel.ManNum ?? 0);
PreferPrice += ((dmodel.Unit_Price ?? 0) + (model.BabyChargePrice ?? 0) - (model.DiscountPrice ?? 0)) * (dmodel.ChirdNum ?? 0);
PreferPrice += (dmodel.BabyNum ?? 0) * (model.BabyPrice ?? 0);
PreferPrice += ((dmodel.Unit_Price ?? 0) + (model.OldManChargePrice ?? 0) - (model.DiscountPrice ?? 0)) * (dmodel.OldPeopleNum ?? 0);
PreferPrice += (model.OtherPrice ?? 0) * (TotalPNum);
PreferPrice += (model.VisaPrice ?? 0) * (TotalPNum);
PreferPrice -= (model.BackVisaPrice ?? 0) * (TotalPNum + (dmodel.BabyNum ?? 0) - (dmodel.VisaNum ?? 0));
PreferPrice += (dmodel.SingleRoomNum ?? 0) * (model.SingleRoomPrice ?? 0);
PreferPrice += (dmodel.ChirdNeedBedNum ?? 0) * (model.ChildNeedPrice ?? 0);
PreferPrice -= ((dmodel.ChirdNum ?? 0) - (dmodel.ChirdNeedBedNum ?? 0)) * (model.ChildNoNeedPrice ?? 0);
PreferPrice -= (ScenicRefundMoney) * TotalPNum;
PreferPrice += UnionPrice;
PreferPrice += (model.SingleDMCPrice ?? 0) * (dmodel.AirticketNum ?? 0); -->
</td>
</tr>
<tr>
<th>{{ $t("advmanager.v_type") }}</th>
<th>{{ $t("salesModule.HYTHJ") }}</th>
<th>{{ $t("salesModule.PTTHJ") }}</th>
<th>{{ $t("salesModule.ZKHYJ") }}</th>
<th colspan="2">{{ $t("salesModule.PTZKJ") }}</th>
</tr>
<tr>
<td>{{ $t("salesModule.Adult") }}</td>
<td>
{{
OrderPrice.B2BMemberPrice | priceFormat(OrderPrice.B2BMemberPrice)
}}
</td>
<td>{{ OrderPrice.B2BPrice | priceFormat(OrderPrice.B2BPrice) }}</td>
<td>
{{
OrderPrice.B2CMemberPrice | priceFormat(OrderPrice.B2CMemberPrice)
}}
</td>
<td colspan="2">
{{ OrderPrice.B2CPrice | priceFormat(OrderPrice.B2CPrice) }}
</td>
</tr>
<tr>
<td>{{ $t("salesModule.ChildBed") }}</td>
<td>
{{
(OrderPrice.B2BMemberPrice + OrderPrice.ChildNeedPrice)
| priceFormat(
OrderPrice.B2BMemberPrice + OrderPrice.ChildNeedPrice
)
}}
</td>
<td>
{{
(OrderPrice.B2BPrice + OrderPrice.ChildNeedPrice)
| priceFormat(OrderPrice.B2BPrice + OrderPrice.ChildNeedPrice)
}}
</td>
<td>
{{
(OrderPrice.B2CMemberPrice + OrderPrice.ChildNeedPrice)
| priceFormat(
OrderPrice.B2CMemberPrice + OrderPrice.ChildNeedPrice
)
}}
</td>
<td colspan="2">
{{
(OrderPrice.B2CPrice + OrderPrice.ChildNeedPrice)
| priceFormat(OrderPrice.B2CPrice + OrderPrice.ChildNeedPrice)
}}
</td>
</tr>
<tr>
<td>{{ $t("salesModule.ChildNoBed") }}</td>
<td>
{{
(OrderPrice.B2BMemberPrice - OrderPrice.ChildNoNeedPrice)
| priceFormat(
OrderPrice.B2BMemberPrice - OrderPrice.ChildNoNeedPrice
)
}}
</td>
<td>
{{
(OrderPrice.B2BPrice - OrderPrice.ChildNoNeedPrice)
| priceFormat(OrderPrice.B2BPrice - OrderPrice.ChildNoNeedPrice)
}}
</td>
<td>
{{
(OrderPrice.B2CMemberPrice - OrderPrice.ChildNoNeedPrice)
| priceFormat(
OrderPrice.B2CMemberPrice - OrderPrice.ChildNoNeedPrice
)
}}
</td>
<td colspan="2">
{{
(OrderPrice.B2CPrice - OrderPrice.ChildNoNeedPrice)
| priceFormat(OrderPrice.B2CPrice - OrderPrice.ChildNoNeedPrice)
}}
</td>
</tr>
<tr>
<td>{{ $t("salesModule.SingleJ") }}</td>
<td colspan="5">
{{
OrderPrice.SingleDMCPrice | priceFormat(OrderPrice.SingleDMCPrice)
}}
</td>
</tr>
<tr>
<td>{{ $t("Operation.Op_baby") }}</td>
<td colspan="5">
{{ OrderPrice.BabyPrice | priceFormat(OrderPrice.BabyPrice) }}
</td>
</tr>
<tr>
<td
colspan="6"
style="text-align: left; padding-left: 10px"
>
{{ $t("salesModule.OtherPrice") }}
</td>
</tr>
<tr>
<th>{{ $t("Operation.Op_oldmanSurcharge") }}</th>
<th>{{ $t("Operation.Op_childSurcharge") }}</th>
<th>{{ $t("salesModule.VisaBack") }}</th>
<th>{{ $t("Operation.Op_singleRoomcha") }}</th>
<th>{{ $t("Operation.Op_zafei") }}</th>
<th>{{ $t("fnc.xiaofei") }}</th>
</tr>
<tr>
<td>
{{
OrderPrice.OldManChargePrice
| priceFormat(OrderPrice.OldManChargePrice)
}}
</td>
<td>
{{
OrderPrice.BabyChargePrice
| priceFormat(OrderPrice.BabyChargePrice)
}}
</td>
<td>
{{ OrderPrice.VisaPrice | priceFormat2(OrderPrice.VisaPrice) }}(-{{
OrderPrice.BackVisaPrice | priceFormat(OrderPrice.BackVisaPrice)
}}
</td>
<td>
{{
OrderPrice.SingleRoomPrice
| priceFormat(OrderPrice.SingleRoomPrice)
}}
</td>
<td>
{{ OrderPrice.OtherPrice | priceFormat(OrderPrice.OtherPrice) }}
</td>
<td>{{ OrderPrice.TipAmount ? OrderPrice.TipAmount : "0.00" }}</td>
</tr>
</table>
<span slot="reference" class="price" @click="CalculationDetails">{{ PreferPrice }}</span>
</el-popover>
</div>
</template>
<script>
export default {
//订单信息
props: [
"OrderId","PreferPrice"
],
filters: {
priceFormat(value) {
if (value == null) {
return 0.0;
}
// console.log("value",value);
let nStr = value.toFixed(2);
let x = nStr.split(".");
let x1 = x[0];
// console.log("X1",x1);
let x2 = x.length > 1 ? "." + x[1] : "";
// console.log("X2",x2);
var rgx = /(\d+)(\d{3})/;
while (rgx.test(x1)) {
x1 = x1.replace(rgx, "$1" + "," + "$2");
}
return x1 + x2;
},
priceFormat2(value) {
if (value == null) {
return "已包含";
}
let nStr = value.toFixed(2);
nStr += "";
let x = nStr.split(".");
let x1 = x[0];
let x2 = x.length > 1 ? "." + x[1] : "";
var rgx = /(\d+)(\d{3})/;
while (rgx.test(x1)) {
x1 = x1.replace(rgx, "$1" + "," + "$2");
}
let result = x1 + x2;
if (result === "0.00") {
result = "已包含";
}
return result;
},
},
data() {
return {
childItem: {},
OrderPrice: null,
loading: false
};
},
methods: {
Getdetail() {
let childItem = this.childItem
let OrderPrice = this.OrderPrice
let String1 = '',Price1 = 0,String2 = '',Price2 = 0,String3 = '',Price3 = 0,
String4 = '',Price4 = 0,String5 = '',Price5 = 0,String6 = '',Price6 = 0,
String7 = '',Price7 = 0,String8 = '',Price8 = 0,String9 = '',Price9 = 0,
String10 = '',Price10 = 0,String11 = '',Price11 = 0,String12 = '',Price12 = 0
let datas = '',
Total = 0
var TotalPNum=childItem.ChirdNum+childItem.ManNum+childItem.OldPeopleNum
if(childItem.ManNum>0) {
if(childItem.DiscountPrice>0){
String1 = `${childItem.Unit_Price}-${childItem.DiscountPrice}*${childItem.ManNum}`
}
else{
String1 = `${childItem.Unit_Price}*${childItem.ManNum}`
}
Price1 = (childItem.Unit_Price-(childItem.DiscountPrice>0?childItem.DiscountPrice:0))*childItem.ManNum
console.log(String1,Price1,'------String1')
}
if(childItem.ChirdNum>0){
if(childItem.DiscountPrice>0){
String2 = `+(${childItem.Unit_Price } + ${OrderPrice.BabyChargePrice} - ${childItem.DiscountPrice>0?childItem.DiscountPrice:0 }) * ${childItem.ChirdNum}`
}
else{
String2 = `+(${childItem.Unit_Price } + ${OrderPrice.BabyChargePrice} ) * ${childItem.ChirdNum}`
}
Price2 = (childItem.Unit_Price + OrderPrice.BabyChargePrice - (childItem.DiscountPrice>0?childItem.DiscountPrice:0 )) * childItem.ChirdNum
console.log(String1,Price2,'------String2')
}
if(childItem.BabyNum>0){
String3 = `+(${childItem.BabyNum} * ${OrderPrice.BabyPrice})`
Price3 = childItem.BabyNum*OrderPrice.BabyPrice
console.log(String1,Price3,'------String3')
}
if(childItem.OldPeopleNum>0){
if(childItem.DiscountPrice>0){
String4 = `+(${OrderPrice.Unit_Price} + ${OrderPrice.OldManChargePrice} - ${childItem.DiscountPrice}) * ${childItem.OldPeopleNum}`
}
else{
String4 = `+(${OrderPrice.Unit_Price} + ${OrderPrice.OldManChargePrice} ) * ${childItem.OldPeopleNum}`
}
Price4 = (OrderPrice.Unit_Price + OrderPrice.OldManChargePrice - childItem.DiscountPrice) * childItem.OldPeopleNum
console.log(String1,Price4,'------String4')
}
if(TotalPNum>0&&OrderPrice.OtherPrice>0){
String5 = `+(${OrderPrice.OtherPrice } * ${TotalPNum})`
Price5 = OrderPrice.OtherPrice * TotalPNum
console.log(String1,Price5,'------String5')
}
if(TotalPNum>0){
String6 = `+(${OrderPrice.VisaPrice } * ${TotalPNum})`
Price6 = OrderPrice.VisaPrice * TotalPNum
console.log(String1,Price6,'------String6')
}
if((TotalPNum+childItem.BabyNum)!=childItem.VisaNum){
String7 = `+(${OrderPrice.BackVisaPrice } * (${TotalPNum} + ${childItem.BabyNum} - ${childItem.VisaNum}))`
Price7 = OrderPrice.BackVisaPrice * (TotalPNum + childItem.BabyNum - childItem.VisaNum)
console.log(String7,Price7,'------String7')
}
if(childItem.SingleRoomNum>0){
String8 = `+(${childItem.SingleRoomNum} * ${OrderPrice.SingleRoomPrice})`
Price8 = childItem.SingleRoomNum * OrderPrice.SingleRoomPrice
console.log(String8,Price8,'------String8')
}
if(childItem.ChirdNeedBedNum>0){
String9 = `+(${childItem.ChirdNeedBedNum} * ${OrderPrice.ChildNeedPrice} )`
Price9 = childItem.ChirdNeedBedNum * OrderPrice.ChildNeedPrice
console.log(String9,Price9,'------String9')
}
if(childItem.ChirdNum){
if(childItem.ChirdNeedBedNum >0){
String10 = `+((${childItem.ChirdNum } - ${childItem.ChirdNeedBedNum }) * ${OrderPrice.ChildNoNeedPrice})`
}
else{
String10 = `+(${childItem.ChirdNum } * ${OrderPrice.ChildNoNeedPrice})`
}
Price10 = (childItem.ChirdNum - childItem.ChirdNeedBedNum ) * OrderPrice.ChildNoNeedPrice
console.log(String10,Price10,'------String10')
}
if(OrderPrice.GoAddPrice>0){
String11 += `+${OrderPrice.GoAddPrice}`
Price11 += OrderPrice.GoAddPrice
}
if(OrderPrice.BackAddPrice>0){
String11 += `+${OrderPrice.BackAddPrice}`
Price11 += OrderPrice.BackAddPrice
}
console.log(String11,Price11,'------String11')
if(childItem.AirticketNum>0){
String12 = `+(${OrderPrice.SingleDMCPrice } * ${childItem.AirticketNum })`
Price12 = OrderPrice.SingleDMCPrice * childItem.AirticketNum
console.log(String12,Price12,'------String10')
}
datas = `${String1}${String2}${String3}${String4}${String5}${String6}${String7}${String8}${String9}${String10}${String11}${String12}`
Total = Price1+Price2+Price3+Price4+Price5+Price6+Price7+Price8+Price9+Price10+Price11+Price12
console.log(datas,'----datas')
console.log(Total,'----Total')
return {
datas,
Total
}
},
CalculationDetails() {
this.loading = true
this.apipost(
"order_post_GetOrderPrice",
{
OrderId: this.OrderId
},
(res) => {
this.loading = false
if (res.data.resultCode == 1) {
let data = res.data.data.OrderPrice
this.childItem = res.data.data.OrderModel
this.OrderPrice = {
AddCostPrice: data.AddCostPrice?data.AddCostPrice:0 ,
AddSellPrice: data.AddSellPrice?data.AddSellPrice:0 ,
AirticketMoney: data.AirticketMoney?data.AirticketMoney:0 ,
B2BMemberPrice: data.B2BMemberPrice?data.B2BMemberPrice:0 ,
B2BPrice: data.B2BPrice?data.B2BPrice:0 ,
B2CMemberPrice: data.B2CMemberPrice?data.B2CMemberPrice:0 ,
B2CPrice: data.B2CPrice?data.B2CPrice:0 ,
BabyChargePrice: data.BabyChargePrice?data.BabyChargePrice:0 ,
BabyPrice: data.BabyPrice?data.BabyPrice:0 ,
BackAddPrice: data.BackAddPrice?data.BackAddPrice:0 ,
BackVisaPrice: data.BackVisaPrice?data.BackVisaPrice:0 ,
ChildNeedPrice: data.ChildNeedPrice?data.ChildNeedPrice:0 ,
ChildNoNeedPrice: data.ChildNoNeedPrice?data.ChildNoNeedPrice:0 ,
DiscountPrice: data.DiscountPrice?data.DiscountPrice:0 ,
GoAddPrice: data.GoAddPrice?data.GoAddPrice:0 ,
ID: data.ID ,
MinUnitPrice: data.MinUnitPrice?data.MinUnitPrice:0 ,
OldManChargePrice: data.OldManChargePrice?data.OldManChargePrice:0 ,
OrderId: data.OrderId ,
OtherPrice: data.OtherPrice?data.OtherPrice:0 ,
RB_Branch_id: data.RB_Branch_id ,
RB_Group_id: data.RB_Group_id ,
RebatePrice: data.RebatePrice?data.RebatePrice:0 ,
SafeMoney: data.SafeMoney?data.SafeMoney:0 ,
SingleDMCPrice: data.SingleDMCPrice?data.SingleDMCPrice:0 ,
SingleRoomPrice: data.SingleRoomPrice?data.SingleRoomPrice:0 ,
TCID: data.TCID ,
VisaPrice: data.VisaPrice?data.VisaPrice:0 ,
}
} else {
this.Error(res.data.message);
}
},
(err) => {})
}
},
mounted() {
},
watch: {
PreferPrice: {
handler(newVal) {
console.log(this.PreferPrice,'======')
},
deep: true,
immediate: true,
},
OrderId: {
handler(newVal) {
},
deep: true,
immediate: true,
},
},
};
</script>
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