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
b6247b0f
Commit
b6247b0f
authored
May 13, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
1940a37e
b1fa7e78
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
55 additions
and
28 deletions
+55
-28
addReceivablesDocuments.vue
src/components/FinancialModule/addReceivablesDocuments.vue
+2
-2
roomReservationsDetails.vue
src/components/Hotel/roomReservationsDetails.vue
+17
-5
busHandBook.vue
src/components/busManagement/busHandBook.vue
+36
-21
No files found.
src/components/FinancialModule/addReceivablesDocuments.vue
View file @
b6247b0f
...
...
@@ -803,9 +803,9 @@ export default {
if
(
wechat
==
null
&&
zhifu
==
null
&&
barcode
==
""
){
return
;
}
if
(
zhifu
==
null
&&
wechat
!=
null
&&
wechat
.
length
>
20
){
if
(
zhifu
==
null
&&
wechat
!=
null
&&
wechat
.
length
>
0
&&
wechat
[
wechat
.
length
-
1
].
length
>
20
){
this
.
setCode
=
wechat
[
wechat
.
length
-
1
].
replace
(
'商户单号'
,
''
);
}
else
if
(
wechat
==
null
&&
zhifu
!=
null
&&
zhifu
.
length
>
20
){
}
else
if
(
wechat
==
null
&&
zhifu
!=
null
&&
zhifu
.
length
>
0
&&
zhifu
[
zhifu
.
length
-
1
].
length
>
20
){
this
.
setCode
=
zhifu
[
zhifu
.
length
-
1
].
replace
(
'商家可扫码退款或查询交易'
,
''
);
}
else
if
(
barcode
!=
""
){
this
.
setCode
=
barcode
;
...
...
src/components/Hotel/roomReservationsDetails.vue
View file @
b6247b0f
...
...
@@ -471,7 +471,14 @@
{
y
.
UnitPrice
=
0
;
}
y
.
HotelDiscount
=
parseInt
(
y
.
HotelDiscount
);
if
(
y
.
HotelDiscount
)
{
y
.
HotelDiscount
=
parseInt
(
y
.
HotelDiscount
);
}
else
{
y
.
HotelDiscount
=
0
;
}
if
(
y
.
BookNum
==
""
)
{
y
.
BookNum
=
0
;
}
...
...
@@ -497,7 +504,13 @@
subItem
.
OrderDetailsList
.
forEach
(
y
=>
{
y
.
HouseTypeCount
=
parseFloat
(
y
.
HouseTypeCount
);
y
.
UnitPrice
=
parseInt
(
y
.
UnitPrice
);
y
.
HotelDiscount
=
parseInt
(
y
.
HotelDiscount
);
if
(
y
.
HotelDiscount
)
{
y
.
HotelDiscount
=
parseInt
(
y
.
HotelDiscount
);
}
else
{
y
.
HotelDiscount
=
0
;
}
if
(
y
.
BookNum
==
""
)
{
y
.
BookNum
=
0
;
}
...
...
@@ -540,9 +553,8 @@
this
.
TCNUM
=
this
.
$route
.
query
.
TCNUM
;
this
.
flightTotal
=
this
.
$route
.
query
.
flightTotal
;
this
.
GuestNum
=
this
.
$route
.
query
.
GuestNum
;
let
width
=
window
.
innerWidth
-
50
let
height
=
window
.
innerHeight
-
65
-
55
console
.
log
(
height
)
let
width
=
window
.
innerWidth
-
50
;
let
height
=
window
.
innerHeight
-
65
-
55
;
this
.
boxHeight
=
height
;
this
.
offsetwidth
=
width
this
.
getList
();
...
...
src/components/busManagement/busHandBook.vue
View file @
b6247b0f
...
...
@@ -20,6 +20,12 @@
padding-left
:
20px
;
}
.comTextdisClick
{
background-color
:
#d1d1d1
;
color
:
#fff
;
border
:
1px
solid
#d1d1d1
;
}
</
style
>
<
template
>
<div>
...
...
@@ -102,8 +108,9 @@
<tfoot>
<tr>
<td
colspan=
"6"
>
<input
type=
"button"
class=
"normalBtn"
@
click=
"SaveData()"
value=
"保存"
/>
<input
type=
"button"
class=
"normalBtn"
@
click=
"DownLoadFile()"
value=
"下载"
/>
<input
type=
"button"
class=
"normalBtn"
:class=
"
{'comTextdisClick':isSave}" @click="SaveData()" value="保存" />
<input
type=
"button"
class=
"normalBtn"
:class=
"
{'comTextdisClick':isSave}" @click="DownLoadFile()"
value="下载" />
</td>
</tr>
</tfoot>
...
...
@@ -128,20 +135,25 @@
Remarks
:
""
,
Details_Extends
:
[]
},
isSave
:
false
,
TCIDS
:
""
}
},
methods
:
{
DownLoadFile
(
item
)
{
let
msg
=
{
TCIDS
:
this
.
TCIDS
};
this
.
loading
=
true
;
var
fileName
=
"バス手配依頼書"
+
this
.
DataObj
.
TeamNum
+
".xls"
;
this
.
GetLocalFile
(
"bus_get_DownLoadBusConfig"
,
msg
,
fileName
,
res
=>
{
this
.
loading
=
false
;
});
if
(
!
this
.
isSave
)
{
this
.
isSave
=
true
;
let
msg
=
{
TCIDS
:
this
.
TCIDS
};
this
.
loading
=
true
;
var
fileName
=
"バス手配依頼書"
+
this
.
DataObj
.
TeamNum
+
".xls"
;
this
.
GetLocalFile
(
"bus_get_DownLoadBusConfig"
,
msg
,
fileName
,
res
=>
{
this
.
loading
=
false
;
this
.
isSave
=
false
;
});
}
},
GetData
()
{
this
.
loading
=
true
;
...
...
@@ -151,22 +163,25 @@
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
DataObj
=
res
.
data
.
data
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{})
},
SaveData
()
{
this
.
DataObj
.
TCIDS
=
this
.
TCIDS
;
this
.
apipost
(
'bus_Post_SaveBusDownLoadData'
,
this
.
DataObj
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
"操作成功"
);
this
.
GetData
();
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{})
if
(
!
this
.
isSave
)
{
this
.
isSave
=
true
;
this
.
DataObj
.
TCIDS
=
this
.
TCIDS
;
this
.
apipost
(
'bus_Post_SaveBusDownLoadData'
,
this
.
DataObj
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
"操作成功"
);
this
.
GetData
();
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
this
.
isSave
=
false
;
},
err
=>
{})
}
}
},
mounted
()
{
...
...
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