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
867fa2df
Commit
867fa2df
authored
Dec 12, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
a75d26a6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
165 additions
and
40 deletions
+165
-40
DomesticTravelcontract.vue
src/components/DomesticTravelcontract.vue
+132
-25
onedayTripContract.vue
src/components/onedayTripContract.vue
+33
-15
No files found.
src/components/DomesticTravelcontract.vue
View file @
867fa2df
...
@@ -259,6 +259,22 @@
...
@@ -259,6 +259,22 @@
.feeJisuan
.el-form-item__label
{
.feeJisuan
.el-form-item__label
{
margin-top
:
5px
;
margin-top
:
5px
;
}
}
.Tc_ExchangeBtn
{
padding
:
3px
10px
;
background-color
:
#006dcc
;
color
:
#fff
;
float
:
right
;
margin-top
:
10px
;
border
:
none
;
outline
:
none
;
cursor
:
pointer
;
}
.Tc_ExchangeBtn
:hover
{
color
:
#ffffff
;
background-color
:
#0044cc
;
*
background-color
:
#003bb3
;
}
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"TC-MainContent"
>
<div
class=
"TC-MainContent"
>
...
@@ -306,7 +322,7 @@
...
@@ -306,7 +322,7 @@
<tbody>
<tbody>
<tr>
<tr>
<td>
<td>
<el-form-item
label=
"姓名"
>
<el-form-item
label=
"姓名"
prop=
"Tourists_Name"
>
<el-input
<el-input
type=
"text"
type=
"text"
v-model=
"CtObj.Tourists_Name"
v-model=
"CtObj.Tourists_Name"
...
@@ -341,7 +357,7 @@
...
@@ -341,7 +357,7 @@
</tr>
</tr>
<tr>
<tr>
<td>
<td>
<el-form-item
label=
"联系电话"
prop=
"
clientCal
l"
>
<el-form-item
label=
"联系电话"
prop=
"
Tourists_Te
l"
>
<el-input
<el-input
type=
"text"
type=
"text"
v-model=
"CtObj.Tourists_Tel"
v-model=
"CtObj.Tourists_Tel"
...
@@ -532,7 +548,7 @@
...
@@ -532,7 +548,7 @@
</tr>
</tr>
<tr>
<tr>
<td>
<td>
<el-form-item
label=
"出发日期"
prop=
"
s
tartDate"
>
<el-form-item
label=
"出发日期"
prop=
"
C_S
tartDate"
>
<el-date-picker
<el-date-picker
class=
"w300"
class=
"w300"
v-model=
"CtObj.C_StartDate"
v-model=
"CtObj.C_StartDate"
...
@@ -545,7 +561,7 @@
...
@@ -545,7 +561,7 @@
</tr>
</tr>
<tr>
<tr>
<td>
<td>
<el-form-item
label=
"
返回日期"
prop=
"return
Date"
>
<el-form-item
label=
"
结束时间"
prop=
"C_End
Date"
>
<el-date-picker
<el-date-picker
class=
"w300"
class=
"w300"
v-model=
"CtObj.C_EndDate"
v-model=
"CtObj.C_EndDate"
...
@@ -562,6 +578,7 @@
...
@@ -562,6 +578,7 @@
<el-input
<el-input
type=
"text"
type=
"text"
class=
"w300"
class=
"w300"
@
keyup
.
native=
"checkInteger(CtObj,'C_DayNum')"
v-model=
"CtObj.C_DayNum"
v-model=
"CtObj.C_DayNum"
></el-input
></el-input
>
天
>
天
...
@@ -574,6 +591,7 @@
...
@@ -574,6 +591,7 @@
<el-input
<el-input
type=
"text"
type=
"text"
class=
"w300"
class=
"w300"
@
keyup
.
native=
"checkInteger(CtObj,'C_NightNum')"
v-model=
"CtObj.C_NightNum"
v-model=
"CtObj.C_NightNum"
></el-input
></el-input
>
晚
>
晚
...
@@ -587,10 +605,11 @@
...
@@ -587,10 +605,11 @@
<tbody>
<tbody>
<tr>
<tr>
<td>
<td>
<el-form-item
label=
"成人"
prop=
"
a
dultPrice"
>
<el-form-item
label=
"成人"
prop=
"
C_A
dultPrice"
>
<el-input
<el-input
type=
"text"
type=
"text"
class=
"w300"
class=
"w300"
@
keyup
.
native=
"checkPrice(CtObj,'C_AdultPrice')"
v-model=
"CtObj.C_AdultPrice"
v-model=
"CtObj.C_AdultPrice"
></el-input>
></el-input>
元/人
元/人
...
@@ -603,6 +622,7 @@
...
@@ -603,6 +622,7 @@
<el-input
<el-input
type=
"text"
type=
"text"
class=
"w300"
class=
"w300"
@
keyup
.
native=
"checkPrice(CtObj,'C_ChildrenPrice')"
v-model=
"CtObj.C_ChildrenPrice"
v-model=
"CtObj.C_ChildrenPrice"
></el-input>
></el-input>
元/人
元/人
...
@@ -615,6 +635,7 @@
...
@@ -615,6 +635,7 @@
<el-input
<el-input
type=
"text"
type=
"text"
class=
"w300"
class=
"w300"
@
keyup
.
native=
"checkPrice(CtObj,'C_GuideServicePrice')"
v-model=
"CtObj.C_GuideServicePrice"
v-model=
"CtObj.C_GuideServicePrice"
></el-input>
></el-input>
元/人
元/人
...
@@ -627,6 +648,7 @@
...
@@ -627,6 +648,7 @@
<el-input
<el-input
type=
"text"
type=
"text"
class=
"w300"
class=
"w300"
@
keyup
.
native=
"checkPrice(CtObj,'C_TotalPrice')"
v-model=
"CtObj.C_TotalPrice"
v-model=
"CtObj.C_TotalPrice"
></el-input>
></el-input>
元
元
...
@@ -717,6 +739,7 @@
...
@@ -717,6 +739,7 @@
<el-input
<el-input
type=
"text"
type=
"text"
class=
"w150"
class=
"w150"
@
keyup
.
native=
"checkInteger(CtObj,'C_LowNum')"
v-model=
"CtObj.C_LowNum"
v-model=
"CtObj.C_LowNum"
></el-input>
></el-input>
人
人
...
@@ -1014,6 +1037,7 @@
...
@@ -1014,6 +1037,7 @@
</span>
</span>
<h2>
<h2>
<em>
行程信息
</em>
<em>
行程信息
</em>
<input
type=
"button"
class=
"Tc_ExchangeBtn"
@
click=
"exchangeTrip()"
:value=
"tripStr"
/>
</h2>
</h2>
</div>
</div>
<div
style=
"padding:10px;background:#f9f9f9;color:red;"
>
<div
style=
"padding:10px;background:#f9f9f9;color:red;"
>
...
@@ -1028,8 +1052,11 @@
...
@@ -1028,8 +1052,11 @@
(8)行程安排的娱乐活动(明确娱乐活动的时间、地点和项目内容);
(8)行程安排的娱乐活动(明确娱乐活动的时间、地点和项目内容);
《行程单》用语须准确清晰,在表明服务标准用语中不应当出现“准×星级”、“豪华”、“仅供参考”、“以××为准”、“与××同级”等不确定用语。
《行程单》用语须准确清晰,在表明服务标准用语中不应当出现“准×星级”、“豪华”、“仅供参考”、“以××为准”、“与××同级”等不确定用语。
</div>
</div>
<div>
<div
v-if=
"CtObj.TripType==0"
>
123
<quill-editor
v-model=
"TripInfo"
style=
"height:400px;"
></quill-editor>
</div>
<div
v-if=
"CtObj.TripType==1"
>
<commonTripList
@
tripData=
"tripData"
:ContractTripList=
"CtObj.ContractTripList"
>
</commonTripList>
</div>
</div>
<!--
<el-input
type=
"textarea"
rows=
"26"
resize=
"none"
v-model=
"CtObj.travelContent"
></el-input>
-->
<!--
<el-input
type=
"textarea"
rows=
"26"
resize=
"none"
v-model=
"CtObj.travelContent"
></el-input>
-->
</div>
</div>
...
@@ -1056,7 +1083,7 @@
...
@@ -1056,7 +1083,7 @@
<th>
护照号码
</th>
<th>
护照号码
</th>
<th>
联系电话(手机)
</th>
<th>
联系电话(手机)
</th>
<th>
身体状况
</th>
<th>
身体状况
</th>
<th>
操作
</th>
<th
width=
"100"
>
操作
</th>
</tr>
</tr>
<tr
v-for=
"(item, index) in CtObj.ContractGuestList"
:key=
"index"
>
<tr
v-for=
"(item, index) in CtObj.ContractGuestList"
:key=
"index"
>
<td>
{{
index
+
1
}}
</td>
<td>
{{
index
+
1
}}
</td>
...
@@ -1102,6 +1129,7 @@
...
@@ -1102,6 +1129,7 @@
<span
v-if=
"item.IsShow == 0"
>
{{
item
.
CGuestTel
}}
</span>
<span
v-if=
"item.IsShow == 0"
>
{{
item
.
CGuestTel
}}
</span>
<el-input
<el-input
type=
"text"
type=
"text"
@
keyup
.
native=
"checkInteger(item,'CGuestTel')"
v-model=
"item.CGuestTel"
v-model=
"item.CGuestTel"
v-else
v-else
></el-input>
></el-input>
...
@@ -1127,7 +1155,7 @@
...
@@ -1127,7 +1155,7 @@
type=
"primary"
type=
"primary"
icon=
"el-icon-edit"
icon=
"el-icon-edit"
circle
circle
@
click=
"
getItem
(item)"
@
click=
"
commonUpdate
(item)"
></el-button>
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
<el-tooltip
...
@@ -1140,7 +1168,7 @@
...
@@ -1140,7 +1168,7 @@
<el-button
<el-button
type=
"primary"
type=
"primary"
icon=
"iconfont icon-baocun"
icon=
"iconfont icon-baocun"
@
click=
"
item.IsShow = 0
"
@
click=
"
commonSave(item)
"
circle
circle
></el-button>
></el-button>
</el-tooltip>
</el-tooltip>
...
@@ -1241,6 +1269,7 @@
...
@@ -1241,6 +1269,7 @@
<span
v-if=
"item.IsShow == 0"
>
{{
item
.
StopTime
}}
</span>
<span
v-if=
"item.IsShow == 0"
>
{{
item
.
StopTime
}}
</span>
<el-input
<el-input
type=
"text"
type=
"text"
@
keyup
.
native=
"checkInteger(item,'StopTime')"
v-model=
"item.StopTime"
v-model=
"item.StopTime"
v-else
v-else
></el-input>
></el-input>
...
@@ -1277,7 +1306,7 @@
...
@@ -1277,7 +1306,7 @@
type=
"primary"
type=
"primary"
icon=
"el-icon-edit"
icon=
"el-icon-edit"
circle
circle
@
click=
"
getItem
(item)"
@
click=
"
commonUpdate
(item)"
></el-button>
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
<el-tooltip
...
@@ -1291,7 +1320,7 @@
...
@@ -1291,7 +1320,7 @@
type=
"primary"
type=
"primary"
icon=
"iconfont icon-baocun"
icon=
"iconfont icon-baocun"
circle
circle
@
click=
"
item.IsShow = 0
"
@
click=
"
commonSave(item)
"
></el-button>
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
<el-tooltip
...
@@ -1299,7 +1328,6 @@
...
@@ -1299,7 +1328,6 @@
effect=
"dark"
effect=
"dark"
content=
"删除"
content=
"删除"
placement=
"top-start"
placement=
"top-start"
v-if=
"item.IsShow == 0"
>
>
<el-button
<el-button
type=
"danger"
type=
"danger"
...
@@ -1383,12 +1411,13 @@
...
@@ -1383,12 +1411,13 @@
</td>
</td>
<td
style=
"text-align:left;"
>
<td
style=
"text-align:left;"
>
<span
v-if=
"item.IsShow == 0"
>
{{
item
.
SelfFeePrice
}}
</span>
<span
v-if=
"item.IsShow == 0"
>
{{
item
.
SelfFeePrice
}}
</span>
<el-input
type=
"text"
v-model=
"item.SelfFeePrice"
v-else
></el-input>
<el-input
type=
"text"
v-model=
"item.SelfFeePrice"
@
keyup
.
native=
"checkPrice(item,'SelfFeePrice')"
v-else
></el-input>
</td>
</td>
<td>
<td>
<span
v-if=
"item.IsShow == 0"
>
{{
item
.
StopTime
}}
</span>
<span
v-if=
"item.IsShow == 0"
>
{{
item
.
StopTime
}}
</span>
<el-input
<el-input
type=
"text"
type=
"text"
@
keyup
.
native=
"checkInteger(item,'StopTime')"
v-model=
"item.StopTime"
v-model=
"item.StopTime"
v-else
v-else
></el-input>
></el-input>
...
@@ -1417,7 +1446,7 @@
...
@@ -1417,7 +1446,7 @@
type=
"primary"
type=
"primary"
icon=
"el-icon-edit"
icon=
"el-icon-edit"
circle
circle
@
click=
"
getItem
(item)"
@
click=
"
commonUpdate
(item)"
></el-button>
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
<el-tooltip
...
@@ -1431,7 +1460,7 @@
...
@@ -1431,7 +1460,7 @@
type=
"primary"
type=
"primary"
icon=
"iconfont icon-baocun"
icon=
"iconfont icon-baocun"
circle
circle
@
click=
"
item.IsShow = 0
"
@
click=
"
commonSave(item)
"
></el-button>
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
<el-tooltip
...
@@ -1439,7 +1468,6 @@
...
@@ -1439,7 +1468,6 @@
effect=
"dark"
effect=
"dark"
content=
"删除"
content=
"删除"
placement=
"top-start"
placement=
"top-start"
v-if=
"item.IsShow == 0"
>
>
<el-button
<el-button
type=
"danger"
type=
"danger"
...
@@ -1468,7 +1496,7 @@
...
@@ -1468,7 +1496,7 @@
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
moment
from
"moment
"
;
import
commonTripList
from
"./commonPage/commonTripList.vue
"
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
...
@@ -1593,14 +1621,55 @@ export default {
...
@@ -1593,14 +1621,55 @@ export default {
ContractShopList
:
[],
//自愿购物活动补充协议
ContractShopList
:
[],
//自愿购物活动补充协议
ContractGuestList
:
[],
//旅客名单
ContractGuestList
:
[],
//旅客名单
ContractTripList
:
[],
//行程列表
ContractTripList
:
[],
//行程列表
ContractSelfFeeList
:
[]
//自愿付费项目补充协议
ContractSelfFeeList
:
[],
//自愿付费项目补充协议
TripType
:
0
,
//行程类型(0-简易行程,1-标准行程)
},
},
//旅客名单
//旅客名单
guestList
:
[],
guestList
:
[],
tripList
:
[],
tripList
:
[],
rules
:
{
rules
:
{
client
Name
:
[
Tourists_
Name
:
[
{
required
:
true
,
message
:
"请输入客户名称"
,
trigger
:
"blur"
}
{
required
:
true
,
message
:
"请输入客户名称"
,
trigger
:
"blur"
}
],
Tourists_Tel
:
[
{
required
:
true
,
message
:
"请输入联系电话"
,
trigger
:
"blur"
}
],
TravelAgency_DealMan
:
[
{
required
:
true
,
message
:
"请输入经办人"
,
trigger
:
"blur"
}
],
C_ProductName
:
[
{
required
:
true
,
message
:
"请输入旅游产品名称"
,
trigger
:
"blur"
}
],
C_StartDate
:
[
{
required
:
true
,
message
:
"请选择出发日期"
,
trigger
:
"change"
}
],
C_EndDate
:
[
{
required
:
true
,
message
:
"请选择结束时间"
,
trigger
:
"change"
}
],
C_DayNum
:
[
{
required
:
true
,
message
:
"请输入天数"
,
trigger
:
"blur"
}
],
C_AdultPrice
:
[
{
required
:
true
,
message
:
"请输入成人价"
,
trigger
:
"blur"
}
],
C_GuideServicePrice
:
[
{
required
:
true
,
message
:
"请输入导游服务费"
,
trigger
:
"blur"
}
],
C_TotalPrice
:
[
{
required
:
true
,
message
:
"请输入合计"
,
trigger
:
"blur"
}
],
C_PayDate
:
[
{
required
:
true
,
message
:
"请选择支付日期"
,
trigger
:
"blur"
}
],
C_InsuranceName
:
[
{
required
:
true
,
message
:
"请输入保险名称"
,
trigger
:
"blur"
}
],
C_LowNum
:
[
{
required
:
true
,
message
:
"请输入最低成团人数"
,
trigger
:
"blur"
}
],
C_ContractTotal
:
[
{
required
:
true
,
message
:
"请输入合同份数"
,
trigger
:
"blur"
}
]
]
},
},
//自愿购物活动补充协议
//自愿购物活动补充协议
...
@@ -1618,13 +1687,24 @@ export default {
...
@@ -1618,13 +1687,24 @@ export default {
"自愿购物活动补充协议"
,
"自愿购物活动补充协议"
,
"自愿付费项目补充协议"
"自愿付费项目补充协议"
],
],
ckedIndex
:
0
ckedIndex
:
0
,
TripInfo
:
''
,
tripStr
:
'切换到标准行程录入'
,
};
};
},
},
components
:
{
commonTripList
:
commonTripList
},
methods
:
{
methods
:
{
getItem
(
item
){
//点击切换行程
item
.
IsShow
=
1
;
exchangeTrip
(){
this
.
$forceUpdate
();
if
(
this
.
CtObj
.
TripType
==
0
){
this
.
CtObj
.
TripType
=
1
;
this
.
tripStr
=
'切换到简易行程录入'
;
}
else
{
this
.
CtObj
.
TripType
=
0
;
this
.
tripStr
=
'切换到标准行程录入'
;
}
},
},
//跳转锚点
//跳转锚点
goAnchor
(
selector
)
{
goAnchor
(
selector
)
{
...
@@ -1633,6 +1713,19 @@ export default {
...
@@ -1633,6 +1713,19 @@ export default {
},
},
//提交数据
//提交数据
SaveMsg
()
{
SaveMsg
()
{
if
(
this
.
CtObj
.
TripType
==
0
){
this
.
CtObj
.
ContractTripList
=
[];
let
obj
=
{
DayNum
:
1
,
Go
:
''
,
GoProvice
:
''
,
IsOut
:
1
,
TravelContent
:
''
,
TripType
:
0
}
obj
.
TravelContent
=
this
.
TripInfo
;
this
.
CtObj
.
ContractTripList
.
push
(
obj
);
}
this
.
apipost
(
this
.
apipost
(
"travelcontract_post_SetTravelContractService"
,
"travelcontract_post_SetTravelContractService"
,
this
.
CtObj
,
this
.
CtObj
,
...
@@ -1919,13 +2012,27 @@ export default {
...
@@ -1919,13 +2012,27 @@ export default {
}
else
{
}
else
{
this
.
CtObj
.
ContractTripList
=
[];
this
.
CtObj
.
ContractTripList
=
[];
}
}
if
(
this
.
CtObj
.
TripType
==
0
){
this
.
TripInfo
=
this
.
CtObj
.
ContractTripList
[
0
].
TravelContent
;
}
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
}
},
},
err
=>
{}
err
=>
{}
);
);
}
},
//公用休改
commonUpdate
(
item
){
item
.
IsShow
=
1
;
this
.
$forceUpdate
();
},
//公用保存
commonSave
(
item
){
item
.
IsShow
=
0
;
this
.
$forceUpdate
();
},
},
},
mounted
()
{
mounted
()
{
if
(
this
.
$route
.
query
.
id
&&
this
.
$route
.
query
.
id
>
0
)
{
if
(
this
.
$route
.
query
.
id
&&
this
.
$route
.
query
.
id
>
0
)
{
...
...
src/components/onedayTripContract.vue
View file @
867fa2df
...
@@ -308,7 +308,7 @@
...
@@ -308,7 +308,7 @@
<div
class=
"contractTit"
>
<div
class=
"contractTit"
>
<span>
<span>
全国版国内旅游一日游合同示范文本
全国版国内旅游一日游合同示范文本
<span
class=
"ContractNum"
>
合同编号:
{{
CtObj
.
T_ContractNum
}}
</span>
<span
class=
"ContractNum"
v-if=
"CtObj.T_ContractNum"
>
合同编号:
{{
CtObj
.
T_ContractNum
}}
</span>
<span
style=
"color:blue;font-size:14px;"
></span>
<span
style=
"color:blue;font-size:14px;"
></span>
</span>
</span>
<div
class=
"pull-right"
>
<div
class=
"pull-right"
>
...
@@ -561,6 +561,7 @@
...
@@ -561,6 +561,7 @@
<el-input
<el-input
type=
"text"
type=
"text"
class=
"w300"
class=
"w300"
@
keyup
.
native=
"checkInteger(CtObj,'Guide_Tel')"
v-model=
"CtObj.Guide_Tel"
v-model=
"CtObj.Guide_Tel"
></el-input>
></el-input>
</el-form-item>
</el-form-item>
...
@@ -790,10 +791,11 @@
...
@@ -790,10 +791,11 @@
<tbody>
<tbody>
<tr>
<tr>
<td>
<td>
<el-form-item
label=
"成人"
style=
"display:inline-block;"
>
<el-form-item
label=
"成人"
style=
"display:inline-block;"
prop=
"C_AdultNum"
>
<el-input
<el-input
type=
"text"
type=
"text"
class=
"w150"
class=
"w150"
@
keyup
.
native=
"checkInteger(CtObj,'C_AdultNum')"
v-model=
"CtObj.C_AdultNum"
v-model=
"CtObj.C_AdultNum"
></el-input
></el-input
>
人×
>
人×
...
@@ -802,6 +804,7 @@
...
@@ -802,6 +804,7 @@
<el-input
<el-input
type=
"text"
type=
"text"
class=
"w150"
class=
"w150"
@
keyup
.
native=
"checkPrice(CtObj,'C_AdultPrice')"
v-model=
"CtObj.C_AdultPrice"
v-model=
"CtObj.C_AdultPrice"
></el-input
></el-input
>
元/人
+
儿童
>
元/人
+
儿童
...
@@ -810,6 +813,7 @@
...
@@ -810,6 +813,7 @@
<el-input
<el-input
type=
"text"
type=
"text"
class=
"w150"
class=
"w150"
@
keyup
.
native=
"checkInteger(CtObj,'C_ChildrenNum')"
v-model=
"CtObj.C_ChildrenNum"
v-model=
"CtObj.C_ChildrenNum"
></el-input
></el-input
>
人×
>
人×
...
@@ -818,6 +822,7 @@
...
@@ -818,6 +822,7 @@
<el-input
<el-input
type=
"text"
type=
"text"
class=
"w150"
class=
"w150"
@
keyup
.
native=
"checkPrice(CtObj,'C_ChildrenPrice')"
v-model=
"CtObj.C_ChildrenPrice"
v-model=
"CtObj.C_ChildrenPrice"
></el-input
></el-input
>
元/人 =
>
元/人 =
...
@@ -826,6 +831,7 @@
...
@@ -826,6 +831,7 @@
<el-input
<el-input
type=
"text"
type=
"text"
class=
"w150"
class=
"w150"
@
keyup
.
native=
"checkPrice(CtObj,'C_TotalPrice')"
v-model=
"CtObj.C_TotalPrice"
v-model=
"CtObj.C_TotalPrice"
></el-input
></el-input
>
元
>
元
...
@@ -852,6 +858,7 @@
...
@@ -852,6 +858,7 @@
<el-input
<el-input
type=
"text"
type=
"text"
class=
"w150"
class=
"w150"
@
keyup
.
native=
"checkPrice(CtObj,'C_IncludeFee')"
v-model=
"CtObj.C_IncludeFee"
v-model=
"CtObj.C_IncludeFee"
></el-input>
></el-input>
</el-form-item>
</el-form-item>
...
@@ -870,7 +877,7 @@
...
@@ -870,7 +877,7 @@
</tr>
</tr>
<tr>
<tr>
<td>
<td>
<el-form-item
label=
"支付时间"
>
<el-form-item
label=
"支付时间"
prop=
"C_PayDate"
>
<el-date-picker
<el-date-picker
class=
"w150"
class=
"w150"
type=
"date"
type=
"date"
...
@@ -1115,6 +1122,7 @@
...
@@ -1115,6 +1122,7 @@
<span
v-if=
"item.IsShow == 0"
>
{{
item
.
CGuestTel
}}
</span>
<span
v-if=
"item.IsShow == 0"
>
{{
item
.
CGuestTel
}}
</span>
<el-input
<el-input
type=
"text"
type=
"text"
@
keyup
.
native=
"checkInteger(item,'CGuestTel')"
v-model=
"item.CGuestTel"
v-model=
"item.CGuestTel"
v-else
v-else
></el-input>
></el-input>
...
@@ -1140,7 +1148,7 @@
...
@@ -1140,7 +1148,7 @@
type=
"primary"
type=
"primary"
icon=
"el-icon-edit"
icon=
"el-icon-edit"
circle
circle
@
click=
"
getItem
(item)"
@
click=
"
commonUpdate
(item)"
></el-button>
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
<el-tooltip
...
@@ -1153,7 +1161,7 @@
...
@@ -1153,7 +1161,7 @@
<el-button
<el-button
type=
"primary"
type=
"primary"
icon=
"iconfont icon-baocun"
icon=
"iconfont icon-baocun"
@
click=
"
item.IsShow = 0
"
@
click=
"
commonSave(item)
"
circle
circle
></el-button>
></el-button>
</el-tooltip>
</el-tooltip>
...
@@ -1254,6 +1262,7 @@
...
@@ -1254,6 +1262,7 @@
<span
v-if=
"item.IsShow == 0"
>
{{
item
.
StopTime
}}
</span>
<span
v-if=
"item.IsShow == 0"
>
{{
item
.
StopTime
}}
</span>
<el-input
<el-input
type=
"text"
type=
"text"
@
keyup
.
native=
"checkInteger(item,'StopTime')"
v-model=
"item.StopTime"
v-model=
"item.StopTime"
v-else
v-else
></el-input>
></el-input>
...
@@ -1290,7 +1299,7 @@
...
@@ -1290,7 +1299,7 @@
type=
"primary"
type=
"primary"
icon=
"el-icon-edit"
icon=
"el-icon-edit"
circle
circle
@
click=
"
item.IsShow = 1
"
@
click=
"
commonUpdate(item)
"
></el-button>
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
<el-tooltip
...
@@ -1304,7 +1313,7 @@
...
@@ -1304,7 +1313,7 @@
type=
"primary"
type=
"primary"
icon=
"iconfont icon-baocun"
icon=
"iconfont icon-baocun"
circle
circle
@
click=
"
item.IsShow = 0
"
@
click=
"
commonSave(item)
"
></el-button>
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
<el-tooltip
...
@@ -1312,7 +1321,6 @@
...
@@ -1312,7 +1321,6 @@
effect=
"dark"
effect=
"dark"
content=
"删除"
content=
"删除"
placement=
"top-start"
placement=
"top-start"
v-if=
"item.IsShow == 0"
>
>
<el-button
<el-button
type=
"danger"
type=
"danger"
...
@@ -1479,6 +1487,12 @@ export default {
...
@@ -1479,6 +1487,12 @@ export default {
],
],
C_ReturnAddress
:
[
C_ReturnAddress
:
[
{
required
:
true
,
message
:
"请输入返回地点"
,
trigger
:
"change"
}
{
required
:
true
,
message
:
"请输入返回地点"
,
trigger
:
"change"
}
],
C_AdultNum
:
[
{
required
:
true
,
message
:
"请输入成人数"
,
trigger
:
"change"
}
],
C_PayDate
:
[
{
required
:
true
,
message
:
"请选择支付日期"
,
trigger
:
"change"
}
]
]
},
},
tripStr
:
'切换到标准行程录入'
,
tripStr
:
'切换到标准行程录入'
,
...
@@ -1612,12 +1626,6 @@ export default {
...
@@ -1612,12 +1626,6 @@ export default {
this
.
ckedIndex
=
5
;
this
.
ckedIndex
=
5
;
}
}
},
},
getItem
(
item
){
item
.
IsShow
=
1
;
this
.
$forceUpdate
();
},
GetData
()
{
GetData
()
{
this
.
apipost
(
this
.
apipost
(
"travelcontract_get_GetTravelContractService"
,
"travelcontract_get_GetTravelContractService"
,
...
@@ -1796,7 +1804,17 @@ export default {
...
@@ -1796,7 +1804,17 @@ export default {
//获取子组件数据
//获取子组件数据
tripData
(
msg
){
tripData
(
msg
){
this
.
CtObj
.
ContractTripList
=
msg
;
this
.
CtObj
.
ContractTripList
=
msg
;
}
},
//公用休改
commonUpdate
(
item
){
item
.
IsShow
=
1
;
this
.
$forceUpdate
();
},
//公用保存
commonSave
(
item
){
item
.
IsShow
=
0
;
this
.
$forceUpdate
();
},
},
},
mounted
()
{
mounted
()
{
if
(
this
.
$route
.
query
.
id
&&
this
.
$route
.
query
.
id
>
0
)
{
if
(
this
.
$route
.
query
.
id
&&
this
.
$route
.
query
.
id
>
0
)
{
...
...
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