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
df0c6701
Commit
df0c6701
authored
Nov 25, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
4b74660f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
2 deletions
+39
-2
roomReservationsDetails.1.vue
src/components/Hotel/roomReservationsDetails.1.vue
+1
-1
roomReservationsDetails.vue
src/components/Hotel/roomReservationsDetails.vue
+38
-1
No files found.
src/components/Hotel/roomReservationsDetails.1.vue
View file @
df0c6701
...
...
@@ -508,7 +508,7 @@
let
that
=
this
let
newArr
=
[]
newArr
.
push
(
file
.
file
)
let
path
=
'/Upload/
Temporary/
'
let
path
=
'/Upload/
DMC/Hotel
'
this
.
$message
.
info
(
'上传中...'
)
this
.
UploadSelfFileT
(
path
,
newArr
,
x
=>
{
this
.
list
[
this
.
checkedIndex
].
HotelOrderList
[
this
.
checkedsubIndex
].
ContractUrl
=
this
.
domainManager
()
...
...
src/components/Hotel/roomReservationsDetails.vue
View file @
df0c6701
...
...
@@ -161,6 +161,17 @@
<span
v-if=
"subItem.IsHaveShouPeiFee==1"
style=
"color:red;"
>
{{
$t
(
'ground.shoupeifei'
)
}}
:
{{
subItem
.
ShouPeiMoney
}}
</span>
</td>
</tr>
<tr>
<td
colspan=
"2"
>
<p
style=
"padding-top: 5px;"
>
<a
v-if=
"subItem.ContractUrl"
target=
"_blank"
:href=
"subItem.ContractUrl"
>
手配书
</a>
</p>
<el-upload
:http-request=
"uploadFileBtnS"
:multiple=
"false"
:show-file-list=
"false"
action=
''
>
<el-button
size=
"small"
type=
"danger"
@
click=
'getItem(index, subIndex)'
>
{{
!
subItem
.
ContractUrl
?
'上传手配书'
:
'重新上传手配书'
}}
</el-button>
</el-upload>
</td>
</tr>
</table>
</td>
<!-- 房间类型 -->
...
...
@@ -423,8 +434,13 @@
</el-select>
</td>
</tr>
<tr>
<td
colspan=
"2"
style=
"height:5px;"
></td>
<td
colspan=
"2"
style=
"height:5px;"
>
</td>
</tr>
<tr>
<td
width=
"70"
style=
"text-align:right;"
>
{{$t('ground.duigysbz')}}:
</td>
...
...
@@ -534,6 +550,8 @@
IsEditHotelPeople
:
1
,
//是否有修改人数权限[0-不能修改,1-可以修改]
IsCombine
:
false
,
//是否是合团,true-是合团,false-不是合团
allCurrencyList
:
[],
//币种列表
checkedIndex
:
''
,
checkedsubIndex
:
''
,
}
},
components
:
{
...
...
@@ -677,6 +695,25 @@
}
});
},
getItem
(
index
,
subIndex
)
{
this
.
checkedIndex
=
index
this
.
checkedsubIndex
=
subIndex
},
uploadFileBtnS
(
file
)
{
//手配书上传
let
that
=
this
let
newArr
=
[]
newArr
.
push
(
file
.
file
)
let
path
=
'/Upload/DMC/Hotel'
this
.
$message
.
info
(
'上传中...'
)
this
.
UploadSelfFileT
(
path
,
newArr
,
x
=>
{
this
.
list
[
this
.
checkedIndex
].
HotelOrderList
[
this
.
checkedsubIndex
].
ContractUrl
=
this
.
domainManager
()
.
ViittoFileUrl
+
x
.
data
.
FilePath
this
.
$message
.
success
(
x
.
data
.
Message
)
let
newlist
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
list
))
this
.
list
=
newlist
this
.
$forceUpdate
()
})
},
goUrl
(
path
,
obj
,
name
)
{
this
.
$router
.
push
({
path
:
path
,
...
...
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