Commit 87b3e6f1 authored by 黄媛媛's avatar 黄媛媛
parents 4786e4d5 7e120060
...@@ -179,15 +179,12 @@ var calendarUtils = { ...@@ -179,15 +179,12 @@ var calendarUtils = {
*/ */
isDateBetween: function (dateString, startDateString, endDateString) { isDateBetween: function (dateString, startDateString, endDateString) {
if (calendarUtils.isEmpty(dateString)) { if (calendarUtils.isEmpty(dateString)) {
console.log("dateString不能为空");
return; return;
} }
if (calendarUtils.isEmpty(startDateString)) { if (calendarUtils.isEmpty(startDateString)) {
console.log("startDateString不能为空");
return; return;
} }
if (calendarUtils.isEmpty(endDateString)) { if (calendarUtils.isEmpty(endDateString)) {
console.log("endDateString不能为空");
return; return;
} }
var flag = false; var flag = false;
...@@ -208,11 +205,9 @@ var calendarUtils = { ...@@ -208,11 +205,9 @@ var calendarUtils = {
*/ */
dateCompare: function (dateString, compareDateString) { dateCompare: function (dateString, compareDateString) {
if (calendarUtils.isEmpty(dateString)) { if (calendarUtils.isEmpty(dateString)) {
console.log("dateString不能为空");
return; return;
} }
if (calendarUtils.isEmpty(compareDateString)) { if (calendarUtils.isEmpty(compareDateString)) {
console.log("compareDateString不能为空");
return; return;
} }
var dateTime = calendarUtils.dateParse(dateString).getTime(); var dateTime = calendarUtils.dateParse(dateString).getTime();
......
...@@ -132,9 +132,7 @@ var googleMap = { ...@@ -132,9 +132,7 @@ var googleMap = {
googleMap.geocoder.geocode({ 'address': address }, function (results, status) { googleMap.geocoder.geocode({ 'address': address }, function (results, status) {
if (status == google.maps.GeocoderStatus.OK) { if (status == google.maps.GeocoderStatus.OK) {
googleMap.getAddress(results,1); googleMap.getAddress(results,1);
} else { }
console.log("对不起没有找到相关的地理位置信息,请点击地图上的准确位置,进行定位!");
}
}); });
}, },
placeMarker: function (location) { placeMarker: function (location) {
...@@ -143,9 +141,7 @@ var googleMap = { ...@@ -143,9 +141,7 @@ var googleMap = {
googleMap.geocoder.geocode({ 'location': location }, function (results, status) { googleMap.geocoder.geocode({ 'location': location }, function (results, status) {
if (status == google.maps.GeocoderStatus.OK) { if (status == google.maps.GeocoderStatus.OK) {
googleMap.getAddress(results, 1); googleMap.getAddress(results, 1);
} else { }
console.log("对不起没有找到相关的地理位置信息,请点击地图上的准确位置,进行定位!");
}
}); });
} }
}, },
......
...@@ -1163,11 +1163,8 @@ export default { ...@@ -1163,11 +1163,8 @@ export default {
}, },
Financial_post_GetCostTypeList(id,type){ //获取支出费用类型 Financial_post_GetCostTypeList(id,type){ //获取支出费用类型
this.apipost('Financial_post_GetCostTypeList',{ID:id}, res => { this.apipost('Financial_post_GetCostTypeList',{ID:id}, res => {
console.log("this.res",res.data)
if(res.data.resultCode == 1) { if(res.data.resultCode == 1) {
this.GetCostTypeList = res.data.data; this.GetCostTypeList = res.data.data;
console.log("this.GetCostTypeList",this.GetCostTypeList)
if(type){ if(type){
this.msg.detailList.forEach(x=>{ this.msg.detailList.forEach(x=>{
this.GetCostTypeList.forEach(y=>{ this.GetCostTypeList.forEach(y=>{
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
<li> <li>
<span> <span>
<em>财务单据</em> <em>财务单据</em>
<el-input type="text" v-model="msg.FinanceId" :placeholder="$t('pub.pleaseImport')"></el-input> <el-input type="text" v-model="msg.FinanceId" @keyup.native="checkInteger(msg,'FinanceId')" :placeholder="$t('pub.pleaseImport')"></el-input>
</span> </span>
</li> </li>
<li> <li>
......
...@@ -1038,7 +1038,7 @@ ...@@ -1038,7 +1038,7 @@
coefficient = 1 + 0.08; coefficient = 1 + 0.08;
} }
if (obj.PayStyle === 1 || obj.PayStyle === 11) { if (obj.PayStyle === 1 || obj.PayStyle === 11) {
if (index == 4 && obj.DMCPayType !== 1) { if (index == 4 && obj.DMCPayType !== 1 && obj.DMCPayType !== 11) {
totalPrice += 0; totalPrice += 0;
} else { } else {
totalPrice += item.UnitPrice * (item.BookNum - item.HotelDiscount) * (coefficient - item.RebateRatio / totalPrice += item.UnitPrice * (item.BookNum - item.HotelDiscount) * (coefficient - item.RebateRatio /
......
...@@ -91,7 +91,6 @@ export default { ...@@ -91,7 +91,6 @@ export default {
} }
}) })
} catch (error) { } catch (error) {
console.log(error)
} }
return Math.floor(yuHeight / itemHeight) return Math.floor(yuHeight / itemHeight)
} }
...@@ -112,10 +111,7 @@ export default { ...@@ -112,10 +111,7 @@ export default {
//域名管理对象 //域名管理对象
Vue.prototype.domainManager = function () { Vue.prototype.domainManager = function () {
let domainUrl = ''; let domainUrl = '';
// domainUrl = "http://testapi.oytour.com"; domainUrl = "http://192.168.2.214:8082";
// domainUrl = "http://192.168.2.214:8082";
domainUrl = "http://192.168.2.65:8025";
// domainUrl = "http://192.168.2.16:8083";
let locationName = window.location.hostname; let locationName = window.location.hostname;
let javaUrldo=""; let javaUrldo="";
...@@ -140,7 +136,7 @@ export default { ...@@ -140,7 +136,7 @@ export default {
//阿里服务器地址 //阿里服务器地址
AliUrl: "https://reborndev.oss-cn-hangzhou.aliyuncs.com", AliUrl: "https://reborndev.oss-cn-hangzhou.aliyuncs.com",
//本站文件流下载地址 //本站文件流下载地址
LocalFileStreamDownLoadUrl: domainUrl + "/·api/file/GetFileFromWebApi", LocalFileStreamDownLoadUrl: domainUrl + "/api/file/GetFileFromWebApi",
//PDF文件预览地址 //PDF文件预览地址
PDFViewUrl: domainUrl + "/plug/pdf/web/viewer.html?file=", PDFViewUrl: domainUrl + "/plug/pdf/web/viewer.html?file=",
//SocketUrl //SocketUrl
...@@ -661,7 +657,7 @@ export default { ...@@ -661,7 +657,7 @@ export default {
successCall(result); successCall(result);
} }
}).catch(function (err) { }).catch(function (err) {
console.log(err);
}); });
} }
}, },
...@@ -686,7 +682,7 @@ export default { ...@@ -686,7 +682,7 @@ export default {
}) })
} }
}).catch(function (err) { }).catch(function (err) {
console.log("上传文件出错" + err);
}); });
} }
} }
......
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