Commit 0599d826 authored by liudong1993's avatar liudong1993

Merge branch 'master' of http://gitlab.oytour.com/luochao/superman

# Conflicts:
#	src/components/FinancialModule/FinancialDocumentsDetail.vue
parents cc16518d 914359e2
...@@ -49,8 +49,6 @@ ...@@ -49,8 +49,6 @@
handler(newValue) { handler(newValue) {
if(window.location.ancestorOrigins.length==0) localStorage.setItem('typeSystem', 0) if(window.location.ancestorOrigins.length==0) localStorage.setItem('typeSystem', 0)
else localStorage.setItem('typeSystem', 1) else localStorage.setItem('typeSystem', 1)
// console.log(window.location.href)
// console.log(localStorage.typeSystem,'=-===')
}, },
deep: true, deep: true,
immediate: true immediate: true
......
...@@ -3771,7 +3771,6 @@ else if (Type==2) { ...@@ -3771,7 +3771,6 @@ else if (Type==2) {
OrderId: data.OrderID OrderId: data.OrderID
}, res => { }, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
console.log("this.DataOrderList",this.DataOrderList);
let data = res.data.data; let data = res.data.data;
this.DataOrderList = data.FinanceList; this.DataOrderList = data.FinanceList;
this.DataOrderPreferPrice=data.PreferPrice this.DataOrderPreferPrice=data.PreferPrice
......
...@@ -1562,7 +1562,6 @@ ...@@ -1562,7 +1562,6 @@
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
var tempObj = res.data.data; var tempObj = res.data.data;
this.CtObj = tempObj; this.CtObj = tempObj;
console.log("this.CtObj", this.CtObj);
this.guestList = tempObj.allGuestList; this.guestList = tempObj.allGuestList;
this.CtObj.tcid = this.$route.query.TCID; this.CtObj.tcid = this.$route.query.TCID;
this.CtObj.orderId = this.$route.query.orderID; this.CtObj.orderId = this.$route.query.orderID;
......
...@@ -1035,30 +1035,32 @@ ...@@ -1035,30 +1035,32 @@
.RegistrationList .el-upload-list { .RegistrationList .el-upload-list {
width: 200px; width: 200px;
} }
.PQ_detail { .PQ_detail {
width: 100%; width: 100%;
border-collapse: collapse; border-collapse: collapse;
} }
.PQ_detail tr th, .PQ_detail tr th,
.v-table-title-cell { .v-table-title-cell {
background: #e6e6e6; background: #e6e6e6;
height: 40px; height: 40px;
font-size: 14px; font-size: 14px;
border-right: 1px solid #e6e6e6; border-right: 1px solid #e6e6e6;
color: #333; color: #333;
} }
.PQ_detail tr { .PQ_detail tr {
background: #fff; background: #fff;
text-align: center; text-align: center;
height: 40px; height: 40px;
} }
.PQ_detail tr td { .PQ_detail tr td {
font-size: 12px; font-size: 12px;
border: 1px solid #e5e5e5; border: 1px solid #e5e5e5;
} }
</style> </style>
<template> <template>
...@@ -1252,9 +1254,9 @@ ...@@ -1252,9 +1254,9 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-col> </el-col>
<el-col :span="4" v-if="addMsg.TradeWay == 1"> <el-col :span="4" v-if="addMsg.TradeWay == 1">
<el-form-item :label="$t('salesModule.PlatOrder')" prop="PlatformOrder"> <el-form-item :label="$t('salesModule.PlatOrder')" prop="PlatformOrder">
<el-input v-model="addMsg.PlatformOrder" @input="platformOrderMethods" :disabled="isAllowUpdate == 0"> <el-input v-model="addMsg.PlatformOrder" @input="platformOrderMethods" :disabled="isAllowUpdate == 0">
...@@ -1662,11 +1664,11 @@ ...@@ -1662,11 +1664,11 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4" > <el-col :span="4">
<el-form-item label="行李数量" v-if="addMsg.IsOneDay==1" prop="LuggageNum"> <el-form-item label="行李数量" v-if="addMsg.IsOneDay==1" prop="LuggageNum">
<el-input v-model="addMsg.LuggageNum"></el-input> <el-input v-model="addMsg.LuggageNum"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<el-form-item :label="$t('salesModule.SSPT')" prop="BrandId" <el-form-item :label="$t('salesModule.SSPT')" prop="BrandId"
v-show="addMsg.ClientSource == 1 || addMsg.ClientSource == 4"> v-show="addMsg.ClientSource == 1 || addMsg.ClientSource == 4">
...@@ -2688,7 +2690,7 @@ ...@@ -2688,7 +2690,7 @@
<span v-for="subItem in childItem.CancelGuestList">{{ subItem.userName }}<span <span v-for="subItem in childItem.CancelGuestList">{{ subItem.userName }}<span
style="color:#f56c6c">{{subItem.VisaType==1?'(个签)':''}}</span> &nbsp;&nbsp;</span> style="color:#f56c6c">{{subItem.VisaType==1?'(个签)':''}}</span> &nbsp;&nbsp;</span>
</span> </span>
</p > </p>
<span style="display: block"> <span style="display: block">
{{ $t("salesModule.RoomInfo") {{ $t("salesModule.RoomInfo")
}}<span v-if="childItem.OneSex > 0" }}<span v-if="childItem.OneSex > 0"
...@@ -4069,8 +4071,8 @@ ...@@ -4069,8 +4071,8 @@
RefuseVisaNum: 0, //拒签人数 RefuseVisaNum: 0, //拒签人数
OneSex: "", OneSex: "",
QuotationUrl: "", //单团附件 QuotationUrl: "", //单团附件
LuggageNum:"", LuggageNum: "",
IsOneDay:0, IsOneDay: 0,
}, },
uploadLloading: false, uploadLloading: false,
fileFujianList: [], fileFujianList: [],
...@@ -4130,7 +4132,7 @@ ...@@ -4130,7 +4132,7 @@
message: "请输入联系人姓名", message: "请输入联系人姓名",
trigger: "blur", trigger: "blur",
}, ], }, ],
LuggageNum: [{ LuggageNum: [{
required: true, required: true,
message: '请输入行李数量', message: '请输入行李数量',
trigger: 'blur' trigger: 'blur'
...@@ -4173,7 +4175,7 @@ ...@@ -4173,7 +4175,7 @@
trigger: "blur", trigger: "blur",
}, ], }, ],
}, },
RemarksRules: { RemarksRules: {
Remarks: [{ Remarks: [{
required: true, required: true,
...@@ -4371,41 +4373,35 @@ ...@@ -4371,41 +4373,35 @@
if (value == null) { if (value == null) {
return 0.0; return 0.0;
} }
console.log("value",value);
let nStr = value.toFixed(2); let nStr = value.toFixed(2);
let x = nStr.split("."); let x = nStr.split(".");
let x1 = x[0]; let x1 = x[0];
console.log("X1",x1);
let x2 = x.length > 1 ? "." + x[1] : ""; let x2 = x.length > 1 ? "." + x[1] : "";
console.log("X2",x2);
var rgx = /(\d+)(\d{3})/; var rgx = /(\d+)(\d{3})/;
while (rgx.test(x1)) { while (rgx.test(x1)) {
x1 = x1.replace(rgx, "$1" + "," + "$2"); x1 = x1.replace(rgx, "$1" + "," + "$2");
} }
return x1 + x2; return x1 + x2;
}, },
priceFormat2(value) { priceFormat2(value) {
if (value == null) { if (value == null) {
return "已包含"; return "已包含";
} }
let nStr = value.toFixed(2); let nStr = value.toFixed(2);
nStr += ""; nStr += "";
let x = nStr.split("."); let x = nStr.split(".");
let x1 = x[0]; let x1 = x[0];
let x2 = x.length > 1 ? "." + x[1] : ""; let x2 = x.length > 1 ? "." + x[1] : "";
var rgx = /(\d+)(\d{3})/; var rgx = /(\d+)(\d{3})/;
while (rgx.test(x1)) { while (rgx.test(x1)) {
x1 = x1.replace(rgx, "$1" + "," + "$2"); x1 = x1.replace(rgx, "$1" + "," + "$2");
} }
let result = x1 + x2; let result = x1 + x2;
if (result === "0.00") { if (result === "0.00") {
result = "已包含"; result = "已包含";
} }
return result; return result;
}, },
}, },
methods: { methods: {
......
...@@ -159,7 +159,8 @@ ...@@ -159,7 +159,8 @@
</el-col> </el-col>
<el-col :span="4" :gutter="35"> <el-col :span="4" :gutter="35">
<el-form-item :label="nameC" prop="CardNum"> <el-form-item :label="nameC" prop="CardNum">
<el-input type="text" v-model="addMsg.CardNum" onkeyup="value=value.replace(/[^0-9]/g, '')" placeholder="卡号只能输入数字,不能以0开头"> <el-input type="text" v-model="addMsg.CardNum" onkeyup="value=value.replace(/[^0-9]/g, '')"
placeholder="卡号只能输入数字,不能以0开头">
</el-input> </el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
...@@ -192,8 +193,8 @@ ...@@ -192,8 +193,8 @@
</el-col> </el-col>
<el-col :span="4" :gutter="35"> <el-col :span="4" :gutter="35">
<el-form-item label="供应商:" prop="SupplierName"> <el-form-item label="供应商:" prop="SupplierName">
<el-input type="text" v-model="addMsg.SupplierName" <el-input type="text" v-model="addMsg.SupplierName" :disabled="$route.query.FeatureType?true:false">
:disabled="$route.query.FeatureType?true:false"></el-input> </el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
...@@ -430,8 +431,8 @@ ...@@ -430,8 +431,8 @@
}, },
methods: { methods: {
// 车系统 添加账户 // 车系统 添加账户
getCarDatas(){ getCarDatas() {
if(this.$route.query.FeatureType){ if (this.$route.query.FeatureType) {
this.addMsg.ObjID = this.$route.query.ObjID this.addMsg.ObjID = this.$route.query.ObjID
this.addMsg.ObjIdStr = this.$route.query.SupplierName this.addMsg.ObjIdStr = this.$route.query.SupplierName
this.addMsg.SupplierName = this.$route.query.SupplierName this.addMsg.SupplierName = this.$route.query.SupplierName
...@@ -696,7 +697,6 @@ ...@@ -696,7 +697,6 @@
this.$message.error('请选择客户名称') this.$message.error('请选择客户名称')
return return
} }
console.log("this.addMsg.Type", this.addMsg.Type);
if (this.addMsg.Type != 7 && this.addMsg.Type != 9 && this.addMsg.Type != 10 && this.addMsg.Type != 12) { if (this.addMsg.Type != 7 && this.addMsg.Type != 9 && this.addMsg.Type != 10 && this.addMsg.Type != 12) {
if (this.addMsg.DutyNo == '' || this.addMsg.DutyNo == undefined) { if (this.addMsg.DutyNo == '' || this.addMsg.DutyNo == undefined) {
this.$message.error('请填写税号') this.$message.error('请填写税号')
...@@ -842,7 +842,6 @@ ...@@ -842,7 +842,6 @@
this.currentPage = 1 this.currentPage = 1
}, },
submitForm(addMsg) { //提交创建、修改表单 submitForm(addMsg) { //提交创建、修改表单
console.log('卡号:'+this.addMsg.CardNum)
this.$refs[addMsg].validate((valid) => { this.$refs[addMsg].validate((valid) => {
if (valid) { if (valid) {
this.addData(); this.addData();
......
<style> <style>
@import "../assets/css/login2019.css"; @import "../assets/css/login2019.css";
.Autologin { .Autologin {
position: fixed; position: fixed;
left: 0; left: 0;
...@@ -9,6 +10,7 @@ ...@@ -9,6 +10,7 @@
background: url('../assets/img/login/load.gif')no-repeat center; background: url('../assets/img/login/load.gif')no-repeat center;
background-size: 350px auto; background-size: 350px auto;
} }
</style> </style>
<template> <template>
<div> <div>
...@@ -42,13 +44,12 @@ ...@@ -42,13 +44,12 @@
} else { } else {
var data = JSON.parse(localStorage.crmuserInfo) var data = JSON.parse(localStorage.crmuserInfo)
let query let query
console.log(data.parameter,'---parameter') console.log(data.parameter, '---parameter')
if(data.parameter.FeatureType){ if (data.parameter.FeatureType) {
query = { query = {
...data.parameter, ...data.parameter,
// Type: data.parameter.Type
} }
}else{ } else {
query = { query = {
crmOrderObj: JSON.stringify(data.parameter), crmOrderObj: JSON.stringify(data.parameter),
Type: data.parameter.type Type: data.parameter.type
...@@ -68,8 +69,8 @@ ...@@ -68,8 +69,8 @@
if (param) { if (param) {
this.obj.parameter = param[0] this.obj.parameter = param[0]
localStorage.crmuserInfo = JSON.stringify(this.obj); localStorage.crmuserInfo = JSON.stringify(this.obj);
if(param[0].language){ if (param[0].language) {
localStorage.setItem('language',param[0].language) localStorage.setItem('language', param[0].language)
} }
} }
} }
...@@ -77,14 +78,15 @@ ...@@ -77,14 +78,15 @@
}, },
methods: { methods: {
getLogin(data){ getLogin(data) {
if(localStorage.typeSystem&&localStorage.typeSystem==1) { if (localStorage.typeSystem && localStorage.typeSystem == 1) {
let href = this.domainManager().CarUrl let href = this.domainManager().CarUrl
window.parent.postMessage({ window.parent.postMessage({
event_id: 'login', event_id: 'login',
data: { data: {
loginState: data?data:'', loginState: data ? data : '',
}}, `${href}`) }
}, `${href}`)
} }
}, },
autoLogin() { autoLogin() {
...@@ -116,12 +118,11 @@ ...@@ -116,12 +118,11 @@
var data = JSON.parse(localStorage.crmuserInfo) var data = JSON.parse(localStorage.crmuserInfo)
let crmOrderObj = JSON.parse(JSON.stringify(data.parameter)) let crmOrderObj = JSON.parse(JSON.stringify(data.parameter))
let query = {} let query = {}
console.log(data,'---data.parameter.tradeObj') if (data.parameter.FeatureType) {
if(data.parameter.FeatureType){
query = { query = {
...data.parameter ...data.parameter
} }
}else{ } else {
query = { query = {
crmOrderObj: JSON.stringify(crmOrderObj), crmOrderObj: JSON.stringify(crmOrderObj),
Type: data.parameter.type Type: data.parameter.type
...@@ -148,4 +149,5 @@ ...@@ -148,4 +149,5 @@
} }
}, },
} }
</script> </script>
This diff is collapsed.
...@@ -310,7 +310,6 @@ ...@@ -310,7 +310,6 @@
if (event && event.data) { if (event && event.data) {
try { try {
if (event.data == '行程数据保存成功' || event.data.indexOf('行程特色高') != -1) { if (event.data == '行程数据保存成功' || event.data.indexOf('行程特色高') != -1) {
// this.$emit('ConfigInfo',this.myIframeUrl)
this.PostMessageText = '' this.PostMessageText = ''
//行程特色高 //行程特色高
if (event.data && typeof (event.data) == 'string' && event.data.indexOf('行程特色高') != -1) { if (event.data && typeof (event.data) == 'string' && event.data.indexOf('行程特色高') != -1) {
......
This diff is collapsed.
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