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
Expand all
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
This diff is collapsed.
Click to expand it.
src/components/onedayTripContract.vue
View file @
867fa2df
...
...
@@ -308,7 +308,7 @@
<div
class=
"contractTit"
>
<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>
<div
class=
"pull-right"
>
...
...
@@ -561,6 +561,7 @@
<el-input
type=
"text"
class=
"w300"
@
keyup
.
native=
"checkInteger(CtObj,'Guide_Tel')"
v-model=
"CtObj.Guide_Tel"
></el-input>
</el-form-item>
...
...
@@ -790,10 +791,11 @@
<tbody>
<tr>
<td>
<el-form-item
label=
"成人"
style=
"display:inline-block;"
>
<el-form-item
label=
"成人"
style=
"display:inline-block;"
prop=
"C_AdultNum"
>
<el-input
type=
"text"
class=
"w150"
@
keyup
.
native=
"checkInteger(CtObj,'C_AdultNum')"
v-model=
"CtObj.C_AdultNum"
></el-input
>
人×
...
...
@@ -802,6 +804,7 @@
<el-input
type=
"text"
class=
"w150"
@
keyup
.
native=
"checkPrice(CtObj,'C_AdultPrice')"
v-model=
"CtObj.C_AdultPrice"
></el-input
>
元/人
+
儿童
...
...
@@ -810,6 +813,7 @@
<el-input
type=
"text"
class=
"w150"
@
keyup
.
native=
"checkInteger(CtObj,'C_ChildrenNum')"
v-model=
"CtObj.C_ChildrenNum"
></el-input
>
人×
...
...
@@ -818,6 +822,7 @@
<el-input
type=
"text"
class=
"w150"
@
keyup
.
native=
"checkPrice(CtObj,'C_ChildrenPrice')"
v-model=
"CtObj.C_ChildrenPrice"
></el-input
>
元/人 =
...
...
@@ -826,6 +831,7 @@
<el-input
type=
"text"
class=
"w150"
@
keyup
.
native=
"checkPrice(CtObj,'C_TotalPrice')"
v-model=
"CtObj.C_TotalPrice"
></el-input
>
元
...
...
@@ -852,6 +858,7 @@
<el-input
type=
"text"
class=
"w150"
@
keyup
.
native=
"checkPrice(CtObj,'C_IncludeFee')"
v-model=
"CtObj.C_IncludeFee"
></el-input>
</el-form-item>
...
...
@@ -870,7 +877,7 @@
</tr>
<tr>
<td>
<el-form-item
label=
"支付时间"
>
<el-form-item
label=
"支付时间"
prop=
"C_PayDate"
>
<el-date-picker
class=
"w150"
type=
"date"
...
...
@@ -1115,6 +1122,7 @@
<span
v-if=
"item.IsShow == 0"
>
{{
item
.
CGuestTel
}}
</span>
<el-input
type=
"text"
@
keyup
.
native=
"checkInteger(item,'CGuestTel')"
v-model=
"item.CGuestTel"
v-else
></el-input>
...
...
@@ -1140,7 +1148,7 @@
type=
"primary"
icon=
"el-icon-edit"
circle
@
click=
"
getItem
(item)"
@
click=
"
commonUpdate
(item)"
></el-button>
</el-tooltip>
<el-tooltip
...
...
@@ -1153,7 +1161,7 @@
<el-button
type=
"primary"
icon=
"iconfont icon-baocun"
@
click=
"
item.IsShow = 0
"
@
click=
"
commonSave(item)
"
circle
></el-button>
</el-tooltip>
...
...
@@ -1254,6 +1262,7 @@
<span
v-if=
"item.IsShow == 0"
>
{{
item
.
StopTime
}}
</span>
<el-input
type=
"text"
@
keyup
.
native=
"checkInteger(item,'StopTime')"
v-model=
"item.StopTime"
v-else
></el-input>
...
...
@@ -1290,7 +1299,7 @@
type=
"primary"
icon=
"el-icon-edit"
circle
@
click=
"
item.IsShow = 1
"
@
click=
"
commonUpdate(item)
"
></el-button>
</el-tooltip>
<el-tooltip
...
...
@@ -1304,7 +1313,7 @@
type=
"primary"
icon=
"iconfont icon-baocun"
circle
@
click=
"
item.IsShow = 0
"
@
click=
"
commonSave(item)
"
></el-button>
</el-tooltip>
<el-tooltip
...
...
@@ -1312,7 +1321,6 @@
effect=
"dark"
content=
"删除"
placement=
"top-start"
v-if=
"item.IsShow == 0"
>
<el-button
type=
"danger"
...
...
@@ -1479,6 +1487,12 @@ export default {
],
C_ReturnAddress
:
[
{
required
:
true
,
message
:
"请输入返回地点"
,
trigger
:
"change"
}
],
C_AdultNum
:
[
{
required
:
true
,
message
:
"请输入成人数"
,
trigger
:
"change"
}
],
C_PayDate
:
[
{
required
:
true
,
message
:
"请选择支付日期"
,
trigger
:
"change"
}
]
},
tripStr
:
'切换到标准行程录入'
,
...
...
@@ -1612,12 +1626,6 @@ export default {
this
.
ckedIndex
=
5
;
}
},
getItem
(
item
){
item
.
IsShow
=
1
;
this
.
$forceUpdate
();
},
GetData
()
{
this
.
apipost
(
"travelcontract_get_GetTravelContractService"
,
...
...
@@ -1796,7 +1804,17 @@ export default {
//获取子组件数据
tripData
(
msg
){
this
.
CtObj
.
ContractTripList
=
msg
;
}
},
//公用休改
commonUpdate
(
item
){
item
.
IsShow
=
1
;
this
.
$forceUpdate
();
},
//公用保存
commonSave
(
item
){
item
.
IsShow
=
0
;
this
.
$forceUpdate
();
},
},
mounted
()
{
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