Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
1ea6358e
Commit
1ea6358e
authored
Jul 07, 2023
by
youjie
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
7f08cfc6
e79ec9e5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
72 additions
and
82 deletions
+72
-82
App.vue
src/App.vue
+26
-9
TravelContractDetailRB.vue
src/components/TravelContractDetailRB.vue
+10
-10
TravelContractNewRB.vue
src/components/TravelContractNewRB.vue
+20
-61
index.js
src/plug/index.js
+16
-2
No files found.
src/App.vue
View file @
1ea6358e
...
@@ -72,7 +72,6 @@
...
@@ -72,7 +72,6 @@
showCareer
:
false
,
showCareer
:
false
,
careerId
:
0
,
careerId
:
0
,
isRed
:
false
isRed
:
false
// sessionStorage.getItem("mazip") ? sessionStorage.getItem("mazip") : true
};
};
},
},
methods
:
{
methods
:
{
...
@@ -91,10 +90,14 @@
...
@@ -91,10 +90,14 @@
window
.
onblur
=
function
()
{
window
.
onblur
=
function
()
{
that
.
plaus
();
that
.
plaus
();
if
(
that
.
useTime
)
{
if
(
that
.
useTime
)
{
var
cObj
=
that
.
getLocalStorage
();
let
params
=
{
let
params
=
{
CreateBy
:
that
.
getLocalStorage
().
EmployeeId
,
CreateBy
:
0
,
UsedTime
:
that
.
useTime
UsedTime
:
that
.
useTime
};
};
if
(
cObj
&&
cObj
.
EmployeeId
)
{
params
.
CreateBy
=
cObj
.
EmployeeId
;
}
if
(
params
.
CreateBy
&&
params
.
CreateBy
>
0
)
{
if
(
params
.
CreateBy
&&
params
.
CreateBy
>
0
)
{
// that.apipost("user_set_user_usederplog", params, r => {
// that.apipost("user_set_user_usederplog", params, r => {
// if (r.data.resultCode == 1) {
// if (r.data.resultCode == 1) {
...
@@ -187,6 +190,7 @@
...
@@ -187,6 +190,7 @@
});
});
}
}
};
};
</
script
>
</
script
>
<
style
>
<
style
>
@import
"//at.alicdn.com/t/font_635492_wcd7pw1105.css"
;
@import
"//at.alicdn.com/t/font_635492_wcd7pw1105.css"
;
...
@@ -243,9 +247,11 @@
...
@@ -243,9 +247,11 @@
Noto
Color
Emoji
,
MicrosoftJhengHeiBoldFix
,
"\5FAE\8EDF\6B63\9ED1\9AD4"
,
Noto
Color
Emoji
,
MicrosoftJhengHeiBoldFix
,
"\5FAE\8EDF\6B63\9ED1\9AD4"
,
Microsoft
JhengHei
;
Microsoft
JhengHei
;
}
}
.groupTourOrderByTuan_ico
{
.groupTourOrderByTuan_ico
{
margin
:
0
10px
0
0
;
margin
:
0
10px
0
0
;
}
}
.groupTourOrderByTuan_ico
i
{
.groupTourOrderByTuan_ico
i
{
display
:
inline-block
;
display
:
inline-block
;
margin
:
0
2px
0
0
;
margin
:
0
2px
0
0
;
...
@@ -254,9 +260,11 @@
...
@@ -254,9 +260,11 @@
border-radius
:
2px
;
border-radius
:
2px
;
vertical-align
:
middle
;
vertical-align
:
middle
;
}
}
.groupTourOrderByTuan_ico
>
span
{
.groupTourOrderByTuan_ico
>
span
{
vertical-align
:
middle
;
vertical-align
:
middle
;
}
}
.groupTourOrder_count
{
.groupTourOrder_count
{
margin
:
0
0
20px
0
;
margin
:
0
0
20px
0
;
width
:
100%
;
width
:
100%
;
...
@@ -301,6 +309,7 @@
...
@@ -301,6 +309,7 @@
margin
:
0
5px
0
0
;
margin
:
0
5px
0
0
;
white-space
:
nowrap
;
white-space
:
nowrap
;
}
}
.groupTourOrder_count_green
{
.groupTourOrder_count_green
{
color
:
#1BC594
;
color
:
#1BC594
;
}
}
...
@@ -316,22 +325,30 @@
...
@@ -316,22 +325,30 @@
.groupTourOrder_count_gray
{
.groupTourOrder_count_gray
{
color
:
#999999
;
color
:
#999999
;
}
}
.cursor-p
{
.cursor-p
{
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.cursor-p.active
,
.cursor-p
:hover
{
.cursor-p.active
,
.cursor-p
:hover
{
color
:
#409EFF
;
color
:
#409EFF
;
}
}
.float-l
{
.float-l
{
float
:
left
;
float
:
left
;
}
}
.width100-float-l
{
.width100-float-l
{
float
:
left
;
float
:
left
;
}
}
.width100-float-l
+
.width100-float-l
{
.width100-float-l
+
.width100-float-l
{
margin-left
:
10px
;
margin-left
:
10px
;
}
}
.c059FF6
{
.c059FF6
{
color
:
#059ff6
;
color
:
#059ff6
;
}
}
</
style
>
</
style
>
src/components/TravelContractDetailRB.vue
View file @
1ea6358e
...
@@ -665,27 +665,28 @@
...
@@ -665,27 +665,28 @@
<
template
v-else-if=
"dataList.serviceNum=='5'"
>
<
template
v-else-if=
"dataList.serviceNum=='5'"
>
<span
style=
"font-weight:bold:color:red;"
>
伍
</span>
<span
style=
"font-weight:bold:color:red;"
>
伍
</span>
</
template
>
(大写)项服务。
</p>
</
template
>
(大写)项服务。
</p>
<p>
费用总额(小写)人民币 {{dataList.orderPrice}} 元, (大写)人民币 {{dataList.bigOrderPrice}}
</p>
<h3>
人数:{{dataList.clientNumber}} 人
</h3>
<p>
<h3>
费用总额(小写)人民币 {{dataList.orderPrice}} 元, (大写)人民币 {{dataList.bigOrderPrice}}
</h3>
<h3>
{{dataList.clientNumber?dataList.clientNumber:''}}人合计 {{dataList.totalMoneyInfo}}
{{dataList.clientNumber?dataList.clientNumber:''}}人合计 {{dataList.totalMoneyInfo}}
</
p
>
</
h3
>
</div>
</div>
<!-- 签章信息 -->
<!-- 签章信息 -->
<div
class=
"eseal"
:class=
"{'checkedNav':cked==3}"
>
<div
class=
"eseal"
:class=
"{'checkedNav':cked==3}"
>
<table
class=
"SignTable"
>
<table
class=
"SignTable"
>
<tbody>
<tbody>
<tr>
<tr>
<td>
旅游者代表签字(盖章)
:
</td>
<td>
委托方(旅游者)签字
:
</td>
<td>
<td>
<span>
{{dataList.clientName}}
</span>
<span>
{{dataList.clientName}}
</span>
<img
class=
"signDiv"
:src=
"dataList.companySignature"
v-if=
"dataList.companySignature"
alt=
""
>
<img
class=
"signDiv"
:src=
"dataList.companySignature"
v-if=
"dataList.companySignature"
alt=
""
>
</td>
</td>
<td>
<td>
出境社盖
章:
受托方(旅行社)签
章:
</td>
</td>
<td>
<td>
<span>
{{dataList.company}}
</span>
<span>
{{dataList.company}}
</span>
<img
class=
"esealDiv"
:src=
"dataList.zhangUrl"
alt=
""
/>
<img
v-if=
"isShowZhang==1"
class=
"esealDiv"
:src=
"dataList.zhangUrl"
alt=
""
/>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -771,7 +772,7 @@
...
@@ -771,7 +772,7 @@
TCID
:
0
,
TCID
:
0
,
orderID
:
0
,
orderID
:
0
,
guestId
:
0
,
guestId
:
0
,
Id
:
0
,
//合同主键编号
Id
:
0
,
//合同主键编号
},
},
//数据源
//数据源
dataList
:
[],
dataList
:
[],
...
@@ -795,7 +796,7 @@
...
@@ -795,7 +796,7 @@
orderID
:
this
.
$route
.
query
.
orderID
,
orderID
:
this
.
$route
.
query
.
orderID
,
guestId
:
guestId
,
guestId
:
guestId
,
Id
:
this
.
$route
.
query
.
ID
,
Id
:
this
.
$route
.
query
.
ID
,
pUrl
:
"clientConfirm"
,
pUrl
:
"clientConfirm
RB
"
,
};
};
this
.
$http
({
this
.
$http
({
headers
:
{
headers
:
{
...
@@ -867,7 +868,7 @@
...
@@ -867,7 +868,7 @@
getDayAddOne
(
day
,
num
)
{
getDayAddOne
(
day
,
num
)
{
return
moment
(
day
).
add
(
num
,
'days'
).
format
(
'YYYY-MM-DD'
)
return
moment
(
day
).
add
(
num
,
'days'
).
format
(
'YYYY-MM-DD'
)
},
},
//获取大写
//获取大写
getTotalNum
(
num
)
{
getTotalNum
(
num
)
{
switch
(
num
)
{
switch
(
num
)
{
...
@@ -911,7 +912,6 @@
...
@@ -911,7 +912,6 @@
type
:
'warning'
type
:
'warning'
}).
then
(()
=>
{
}).
then
(()
=>
{
this
.
dataList
.
status
=
0
;
this
.
dataList
.
status
=
0
;
// this.apiJavaPost("/api/contract/dosaveOrUpdate", this.dataList, res => {
this
.
apipost
(
"travelcontract_post_UpdateStatusContractService"
,
this
.
dataList
,
res
=>
{
this
.
apipost
(
"travelcontract_post_UpdateStatusContractService"
,
this
.
dataList
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
Success
(
res
.
data
.
message
);
...
...
src/components/TravelContractNewRB.vue
View file @
1ea6358e
...
@@ -741,11 +741,13 @@
...
@@ -741,11 +741,13 @@
(大写)项服务。
(大写)项服务。
</el-form-item>
</el-form-item>
<el-form-item
label=
"人数"
>
<el-form-item
label=
"人数"
>
<el-input
type=
"text"
v-model=
"CtObj.clientNumber"
maxlength=
"100"
class=
"w300"
></el-input>
<el-input
type=
"text"
v-model=
"CtObj.clientNumber"
maxlength=
"100"
class=
"w300"
@
keyup
.
native=
"checkInteger(CtObj,'clientNumber')"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"费用总额(小写)人民币"
>
<el-form-item
label=
"费用总额(小写)人民币"
>
<el-input
type=
"text"
v-model=
"CtObj.orderPrice"
maxlength=
"100"
class=
"w300"
></el-input>
<el-input
type=
"text"
v-model=
"CtObj.orderPrice"
maxlength=
"100"
class=
"w300"
元 (大写)人民币.
@
keyup
.
native=
"checkPrice(CtObj,'orderPrice')"
></el-input>
元.
</el-form-item>
</el-form-item>
<el-form-item
:label=
"(CtObj.clientNumber?CtObj.clientNumber:'')+'人合计'"
>
<el-form-item
:label=
"(CtObj.clientNumber?CtObj.clientNumber:'')+'人合计'"
>
<el-input
type=
"text"
v-model=
"CtObj.totalMoneyInfo"
maxlength=
"500"
class=
"w300"
></el-input>
<el-input
type=
"text"
v-model=
"CtObj.totalMoneyInfo"
maxlength=
"500"
class=
"w300"
></el-input>
...
@@ -1039,8 +1041,7 @@
...
@@ -1039,8 +1041,7 @@
VoluntaryArr
:
[],
VoluntaryArr
:
[],
//自愿付费项目补充协议
//自愿付费项目补充协议
WillingPayArr
:
[],
WillingPayArr
:
[],
//菜单列表 ['合同基本信息', '其他约定事项', '投诉联系', '行程信息', '游客信息', '自愿购物活动补充协议', '自愿付费项目补充协议'],
menuArr
:
[
'合同基本信息'
],
menuArr
:
[
'合同基本信息'
,
'合同协议条款'
,
'其他约定事项'
,
'投诉联系'
,
'行程信息'
,
'游客信息'
],
ckedIndex
:
0
,
ckedIndex
:
0
,
LineName
:
''
,
LineName
:
''
,
//交通
//交通
...
@@ -1101,11 +1102,13 @@
...
@@ -1101,11 +1102,13 @@
changeSignType
()
{
changeSignType
()
{
if
(
this
.
CtObj
.
SignType
==
0
)
{
if
(
this
.
CtObj
.
SignType
==
0
)
{
this
.
CtObj
.
company
=
'四川和平国际旅行社有限公司'
this
.
CtObj
.
company
=
'四川和平国际旅行社有限公司'
this
.
CtObj
.
companyAddress
=
"成都市锦江区一环路东五段87号2幢23层2310.2311.2312号"
this
.
CtObj
.
companyAddress
=
"成都市锦江区一环路东五段87号2幢23层2310.2311.2312号"
;
this
.
CtObj
.
TravelAgency_LicenseNum
=
"L-SC-CJ00015"
;
}
}
if
(
this
.
CtObj
.
SignType
==
1
)
{
if
(
this
.
CtObj
.
SignType
==
1
)
{
this
.
CtObj
.
company
=
'
日本和平国际旅行社有限公司
'
this
.
CtObj
.
company
=
'
(株)ピースインターナショナル
'
this
.
CtObj
.
companyAddress
=
"東京都北区滝野川5-41-3 TKビル9階"
;
this
.
CtObj
.
companyAddress
=
"東京都北区滝野川5-41-3 TKビル9階"
;
this
.
CtObj
.
TravelAgency_LicenseNum
=
""
;
}
}
},
},
goContract
()
{
goContract
()
{
...
@@ -1212,16 +1215,16 @@
...
@@ -1212,16 +1215,16 @@
}
}
this
.
CtObj
.
travelContent
=
this
.
$refs
.
TcTravel_Table
.
innerHTML
;
this
.
CtObj
.
travelContent
=
this
.
$refs
.
TcTravel_Table
.
innerHTML
;
this
.
CtObj
.
rbGroupId
=
this
.
CurrentUserInfo
.
RB_Group_id
,
this
.
CtObj
.
rbGroupId
=
this
.
CurrentUserInfo
.
RB_Group_id
,
this
.
CtObj
.
templateType
=
1
,
this
.
CtObj
.
templateType
=
1
,
this
.
apipost
(
"travelcontract_post_SetContractService"
,
this
.
CtObj
,
res
=>
{
this
.
apipost
(
"travelcontract_post_SetContractService"
,
this
.
CtObj
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
Success
(
res
.
data
.
message
);
this
.
dialogVisible
=
false
;
this
.
dialogVisible
=
false
;
this
.
getList
();
this
.
getList
();
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
}
},
null
);
},
null
);
},
},
//跳转至预览
//跳转至预览
goUrl
()
{
goUrl
()
{
...
@@ -1288,51 +1291,7 @@
...
@@ -1288,51 +1291,7 @@
},
},
//滚动条滚动选中tab
//滚动条滚动选中tab
menu
()
{
menu
()
{
var
_self
=
this
;
_self
.
scroll
=
(
document
.
documentElement
.
scrollTop
||
document
.
body
.
scrollTop
)
+
70
;
//滑动到指定位置相应菜单高亮
var
a_0
=
0
;
if
(
_self
.
$refs
.
anchor0
&&
_self
.
$refs
.
anchor0
.
offsetTop
)
{
a_0
=
_self
.
$refs
.
anchor0
.
offsetTop
;
}
var
a_1
=
0
;
if
(
_self
.
$refs
.
anchor1
&&
_self
.
$refs
.
anchor1
.
offsetTop
)
{
a_1
=
_self
.
$refs
.
anchor1
.
offsetTop
;
}
var
a_2
=
0
;
if
(
_self
.
$refs
.
anchor2
&&
_self
.
$refs
.
anchor2
.
offsetTop
)
{
a_2
=
_self
.
$refs
.
anchor2
.
offsetTop
;
}
var
a_3
=
0
;
if
(
_self
.
$refs
.
anchor3
&&
_self
.
$refs
.
anchor3
.
offsetTop
)
{
a_3
=
_self
.
$refs
.
anchor3
.
offsetTop
;
}
var
a_4
=
0
;
if
(
_self
.
$refs
.
anchor4
&&
_self
.
$refs
.
anchor4
.
offsetTop
)
{
a_4
=
_self
.
$refs
.
anchor4
.
offsetTop
;
}
var
a_5
=
0
;
if
(
_self
.
$refs
.
anchor5
&&
_self
.
$refs
.
anchor5
.
offsetTop
)
{
a_5
=
_self
.
$refs
.
anchor5
.
offsetTop
;
}
if
(
_self
.
scroll
<
a_0
)
{
this
.
ckedIndex
=
0
}
else
if
(
_self
.
scroll
>
a_0
&&
_self
.
scroll
<
a_1
)
{
this
.
ckedIndex
=
1
}
else
if
(
_self
.
scroll
>
a_2
&&
_self
.
scroll
<
a_3
)
{
this
.
ckedIndex
=
2
}
else
if
(
_self
.
scroll
>
a_3
&&
_self
.
scroll
<
a_4
)
{
this
.
ckedIndex
=
3
}
else
if
(
_self
.
scroll
>
a_4
&&
_self
.
scroll
<
a_5
)
{
this
.
ckedIndex
=
4
}
else
if
(
_self
.
scroll
>
a_5
&&
_self
.
scroll
)
{
this
.
ckedIndex
=
5
}
},
},
//点击合同获取旅客信息
//点击合同获取旅客信息
getGuestList
()
{
getGuestList
()
{
...
...
src/plug/index.js
View file @
1ea6358e
...
@@ -119,7 +119,7 @@ export default {
...
@@ -119,7 +119,7 @@ export default {
let
lxymallUrl
=
''
;
//国内游api
let
lxymallUrl
=
''
;
//国内游api
let
crmUrl
=
""
;
//crm API
let
crmUrl
=
""
;
//crm API
let
locationName
=
window
.
location
.
hostname
;
let
locationName
=
window
.
location
.
hostname
;
domainUrl
=
"http://192.168.10.
9:8083
"
;
// 刘东电脑
domainUrl
=
"http://192.168.10.
128
"
;
// 刘东电脑
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"
;
...
@@ -286,7 +286,21 @@ export default {
...
@@ -286,7 +286,21 @@ export default {
guestId
:
guestId
,
guestId
:
guestId
,
}
}
})
})
}
else
if
(
this
.
$route
.
path
==
"/TravelContractConfirm"
)
{
}
else
if
(
this
.
$route
.
path
==
"/clientConfirmRB"
)
{
let
TCID
=
this
.
$route
.
query
.
TCID
;
let
orderID
=
this
.
$route
.
query
.
orderID
;
let
guestId
=
this
.
$route
.
query
.
guestId
;
this
.
$router
.
push
({
name
:
"clientConfirmRB"
,
query
:
{
TCID
:
TCID
,
orderID
:
orderID
,
guestId
:
guestId
,
}
})
}
else
if
(
this
.
$route
.
path
==
"/TravelContractConfirm"
)
{
let
ContractId
=
this
.
$route
.
query
.
ContractId
;
let
ContractId
=
this
.
$route
.
query
.
ContractId
;
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
"TravelContractConfirm"
,
name
:
"TravelContractConfirm"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment