Commit 00e779e7 authored by 黄奎's avatar 黄奎
parents b9e57662 7270a20c
...@@ -786,7 +786,7 @@ ...@@ -786,7 +786,7 @@
<td>{{moneyFormat(item.PlanTotalPrice)}}</td> <td>{{moneyFormat(item.PlanTotalPrice)}}</td>
<td>{{moneyFormat(item.ExpendTotalPrice)}}</td> <td>{{moneyFormat(item.ExpendTotalPrice)}}</td>
<td> <td>
{{index == 0 ? moneyFormat(item.PlanTotalPrice - AllBZPrice): moneyFormat(item.PlanTotalPrice - item.ExpendTotalPrice)}} {{ (nav!=null&&nav.length>0&& nav[0].LineId=="90"?moneyFormat(item.PlanTotalPrice - item.ExpendTotalPrice):((index == 0) ? moneyFormat(item.PlanTotalPrice - AllBZPrice): moneyFormat(item.PlanTotalPrice - item.ExpendTotalPrice))) }}
</td> </td>
</tr> </tr>
</template> </template>
...@@ -1875,12 +1875,16 @@ ...@@ -1875,12 +1875,16 @@
let BusPrice = this.BaoZhangPrice.BusPrice ? parseFloat(this.BaoZhangPrice.BusPrice) : 0; let BusPrice = this.BaoZhangPrice.BusPrice ? parseFloat(this.BaoZhangPrice.BusPrice) : 0;
let DiningPrice = this.BaoZhangPrice.DiningPrice ? parseFloat(this.BaoZhangPrice.DiningPrice) : 0; let DiningPrice = this.BaoZhangPrice.DiningPrice ? parseFloat(this.BaoZhangPrice.DiningPrice) : 0;
let ScenicPrice = this.BaoZhangPrice.ScenicPrice ? parseFloat(this.BaoZhangPrice.ScenicPrice) : 0; let ScenicPrice = this.BaoZhangPrice.ScenicPrice ? parseFloat(this.BaoZhangPrice.ScenicPrice) : 0;
console.log("allPrice",allPrice); // console.log("this.totalScenicPrice",this.totalScenicPrice);
console.log("endPrice",endPrice); // console.log("this.totalTrafficPrice ",this.totalTrafficPrice );
console.log("HotelPrice",HotelPrice); // console.log("this.totalDinnerPrice ",this.totalDinnerPrice );
console.log("BusPrice",BusPrice); // console.log("this.totalHotelPrice",this.totalHotelPrice);
console.log("DiningPrice",DiningPrice); // console.log("allPrice",allPrice);
console.log("ScenicPrice",ScenicPrice); // console.log("endPrice",endPrice);
// console.log("HotelPrice",HotelPrice);
// console.log("BusPrice",BusPrice);
// console.log("DiningPrice",DiningPrice);
// console.log("ScenicPrice",ScenicPrice);
let newPrice = endPrice + HotelPrice + BusPrice + DiningPrice + ScenicPrice let newPrice = endPrice + HotelPrice + BusPrice + DiningPrice + ScenicPrice
this.AllBZPrice = newPrice this.AllBZPrice = newPrice
}, },
......
...@@ -123,8 +123,9 @@ export default { ...@@ -123,8 +123,9 @@ export default {
let isOnline = 0; //0-本地测试,1-线上 let isOnline = 0; //0-本地测试,1-线上
let ocrUrl = "http://192.168.5.46:8888"; let ocrUrl = "http://192.168.5.46:8888";
// domainUrl = "http://192.168.5.214"; // domainUrl = "http://192.168.5.214";
domainUrl = "http://192.168.5.214" domainUrl = "http://192.168.5.39:8083"
// domainUrl = "http://192.168.5.204:8030" // domainUrl = "http://192.168.5.204:8030"
domainUrl = "http://192.168.5.46"
// domainUrl = "http://reborn.oytour.com"; // domainUrl = "http://reborn.oytour.com";
let crmLocalFileStreamDownLoadUrl = ""; let crmLocalFileStreamDownLoadUrl = "";
crmLocalFileStreamDownLoadUrl = locationName.indexOf('oytour') !== -1 ? "http://crm.oytour.com" : "http://testcrm.oytour.com"; crmLocalFileStreamDownLoadUrl = locationName.indexOf('oytour') !== -1 ? "http://crm.oytour.com" : "http://testcrm.oytour.com";
...@@ -1434,7 +1435,7 @@ export default { ...@@ -1434,7 +1435,7 @@ export default {
this.$forceUpdate(); this.$forceUpdate();
} }
// 计算当前日期的前后日期 // 计算当前日期的前后日期
Vue.prototype.getBeforeDate = function (num, time) { Vue.prototype.getBeforeDate = function (num, time, format) {
let n = num; let n = num;
let d = ''; let d = '';
if (time) { if (time) {
...@@ -1458,6 +1459,9 @@ export default { ...@@ -1458,6 +1459,9 @@ export default {
mon = d.getMonth() + 1; mon = d.getMonth() + 1;
day = d.getDate(); day = d.getDate();
let s = year + "-" + (mon < 10 ? ('0' + mon) : mon) + "-" + (day < 10 ? ('0' + day) : day); let s = year + "-" + (mon < 10 ? ('0' + mon) : mon) + "-" + (day < 10 ? ('0' + day) : day);
if(format=='yyyy-MM'){
return year + "-" + (mon < 10 ? ('0' + mon) : mon);
}
return s; return s;
}, },
......
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