Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bigwood
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
罗超
bigwood
Commits
f32528ec
Commit
f32528ec
authored
Mar 08, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
2bb99ef9
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
7 deletions
+25
-7
TicketOrderList.vue
src/components/ticket/order/TicketOrderList.vue
+11
-6
index.ts
src/i18n/ja-RB/index.ts
+1
-0
index.ts
src/i18n/ko-HG/index.ts
+1
-0
index.ts
src/i18n/zh-TW/index.ts
+1
-0
TicketOrderPreview.vue
src/pages/ticket/TicketOrderPreview.vue
+11
-1
No files found.
src/components/ticket/order/TicketOrderList.vue
View file @
f32528ec
...
@@ -61,11 +61,11 @@
...
@@ -61,11 +61,11 @@
<q-tooltip>
{{
props
.
value
}}
</q-tooltip>
<q-tooltip>
{{
props
.
value
}}
</q-tooltip>
</q-td>
</q-td>
</
template
>
</
template
>
<
template
v-slot:body-cell-MailingMoney=
"props"
>
<
!-- <
template v-slot:body-cell-MailingMoney="props">
<q-td :props="props">
<q-td :props="props">
<span>{{moneyFormat(x.MailingMoney)}}</span>
<span>{{moneyFormat(x.MailingMoney)}}</span>
</q-td>
</q-td>
</
template
>
</template>
-->
<
template
v-slot:body-cell-Money=
"props"
>
<
template
v-slot:body-cell-Money=
"props"
>
<q-td
:props=
"props"
>
<q-td
:props=
"props"
>
{{
props
.
row
.
Money
}}
{{
props
.
row
.
Money
}}
...
@@ -100,9 +100,16 @@
...
@@ -100,9 +100,16 @@
<div
class=
"row items-center justify-between q-mb-sm q-pb-sm"
style=
"border-bottom: 1px dashed #ddd"
>
<div
class=
"row items-center justify-between q-mb-sm q-pb-sm"
style=
"border-bottom: 1px dashed #ddd"
>
<div
class=
"f12 text-grey"
>
{{ $t('hotelorder.orderMoney') }}
</div>
<div
class=
"f12 text-grey"
>
{{ $t('hotelorder.orderMoney') }}
</div>
<div
class=
"dark q-ml-xl"
>
<div
class=
"dark q-ml-xl"
>
<!-- <span class="f12">{{ $t('unit.jpc') }}</span> -->
<span
class=
"din text-subtitle1"
>
{{ moneyFormat(x.Money) }}
</span>
<span
class=
"din text-subtitle1"
>
{{ moneyFormat(x.Money) }}
</span>
<span
class=
"f12"
>
{{ $t('unit.jp') }}
</span>
<span
class=
"f12"
>
{{ x.CurrencyCode }}
</span>
</div>
</div>
<div
class=
"row items-center justify-between q-mb-sm q-pb-sm"
style=
"border-bottom: 1px dashed #ddd"
v-if=
"x.MailingMoney>0"
>
<div
class=
"f12 text-grey"
>
{{ $t('v102.ticket.sjc.c6') }}
</div>
<div
class=
"dark"
>
<span
class=
"f12"
>
{{ moneyFormat(x.MailingMoney) }}
</span>
<span
class=
"f12"
>
{{ x.CurrencyCode }}
</span>
</div>
</div>
</div>
</div>
<div
class=
"text-right"
>
<div
class=
"text-right"
>
...
@@ -212,7 +219,6 @@ export default defineComponent({
...
@@ -212,7 +219,6 @@ export default defineComponent({
{
name
:
'Date'
,
label
:
t
(
'v102.ticket.jq'
)
+
'('
+
t
(
'v102.ticket.d'
)
+
')'
,
field
:
(
row
:
any
)
=>
row
.
Date
,
align
:
'left'
},
{
name
:
'Date'
,
label
:
t
(
'v102.ticket.jq'
)
+
'('
+
t
(
'v102.ticket.d'
)
+
')'
,
field
:
(
row
:
any
)
=>
row
.
Date
,
align
:
'left'
},
{
name
:
'TicketName'
,
label
:
t
(
'v102.ticket.hn'
),
field
:
(
row
:
any
)
=>
row
.
TicketName
,
align
:
'left'
},
{
name
:
'TicketName'
,
label
:
t
(
'v102.ticket.hn'
),
field
:
(
row
:
any
)
=>
row
.
TicketName
,
align
:
'left'
},
{
name
:
'Num'
,
label
:
t
(
'v102.ticket.sl'
),
field
:
(
row
:
any
)
=>
row
.
Num
,
align
:
'left'
},
{
name
:
'Num'
,
label
:
t
(
'v102.ticket.sl'
),
field
:
(
row
:
any
)
=>
row
.
Num
,
align
:
'left'
},
{
name
:
'MailingMoney'
,
label
:
t
(
'v102.ticket.sjc.c6'
),
field
:
(
row
:
any
)
=>
row
,
align
:
'left'
},
{
name
:
'Money'
,
label
:
t
(
'hotelorder.col.m'
),
field
:
(
row
:
any
)
=>
row
.
Money
,
align
:
'left'
}
{
name
:
'Money'
,
label
:
t
(
'hotelorder.col.m'
),
field
:
(
row
:
any
)
=>
row
.
Money
,
align
:
'left'
}
]
as
any
[],
]
as
any
[],
modifyOrder
:{}
as
any
,
modifyOrder
:{}
as
any
,
...
@@ -237,7 +243,6 @@ export default defineComponent({
...
@@ -237,7 +243,6 @@ export default defineComponent({
let
Money
=
0
let
Money
=
0
x
.
DetailList
.
forEach
((
y
:
any
)
=>
{
x
.
DetailList
.
forEach
((
y
:
any
)
=>
{
Money
+=
y
.
Money
Money
+=
y
.
Money
y
.
Money
=
Number
(
y
.
Money
+
x
.
MailingMoney
)
})
})
x
.
Money
=
Number
(
Money
+
x
.
MailingMoney
)
x
.
Money
=
Number
(
Money
+
x
.
MailingMoney
)
})
})
...
...
src/i18n/ja-RB/index.ts
View file @
f32528ec
...
@@ -846,6 +846,7 @@ export default {
...
@@ -846,6 +846,7 @@ export default {
yj
:
'チケットを送ります'
,
yj
:
'チケットを送ります'
,
zqs
:
'自己取票説明します'
,
zqs
:
'自己取票説明します'
,
zqd
:
'自分で指定の位置に行ってチケットを取ります、あなたが支払いを完了した後に私達はメールを通じてチケットの情報を取ることをお知らせします'
,
zqd
:
'自分で指定の位置に行ってチケットを取ります、あなたが支払いを完了した後に私達はメールを通じてチケットの情報を取ることをお知らせします'
,
zqd1
:
'住所を持参します'
,
sj
:
'ゲストメッセージです'
,
sj
:
'ゲストメッセージです'
,
youji
:
'メッセージを送ります'
,
youji
:
'メッセージを送ります'
,
unit
:
'枚'
,
unit
:
'枚'
,
...
...
src/i18n/ko-HG/index.ts
View file @
f32528ec
...
@@ -846,6 +846,7 @@ export default {
...
@@ -846,6 +846,7 @@ export default {
yj
:
"우편 티켓"
,
yj
:
"우편 티켓"
,
zqs
:
"주문서"
,
zqs
:
"주문서"
,
zqd
:
"직접 지정된 장소로 가서 표를 받으시면 돈을 지불하신 후에 우편으로 표를 받으라는 정보를 알려 드리겠습니다"
,
zqd
:
"직접 지정된 장소로 가서 표를 받으시면 돈을 지불하신 후에 우편으로 표를 받으라는 정보를 알려 드리겠습니다"
,
zqd1
:
'사용자 주소'
,
sj
:
'고객 메시지'
,
sj
:
'고객 메시지'
,
youji
:
'메시지 보내기'
,
youji
:
'메시지 보내기'
,
unit
:
'장'
,
unit
:
'장'
,
...
...
src/i18n/zh-TW/index.ts
View file @
f32528ec
...
@@ -846,6 +846,7 @@ export default {
...
@@ -846,6 +846,7 @@ export default {
yj
:
'郵寄票券'
,
yj
:
'郵寄票券'
,
zqs
:
'自行取票說明'
,
zqs
:
'自行取票說明'
,
zqd
:
'自行前往指定位置取票,當您完成付款後我們將通過郵件通知您取票的門票訊息'
,
zqd
:
'自行前往指定位置取票,當您完成付款後我們將通過郵件通知您取票的門票訊息'
,
zqd1
:
'自取地址'
,
sj
:
'客人訊息'
,
sj
:
'客人訊息'
,
youji
:
'郵寄訊息'
,
youji
:
'郵寄訊息'
,
unit
:
'張'
,
unit
:
'張'
,
...
...
src/pages/ticket/TicketOrderPreview.vue
View file @
f32528ec
...
@@ -83,7 +83,8 @@
...
@@ -83,7 +83,8 @@
</div>
</div>
<div
v-if=
"msg.MailingState == '1'"
class=
"bg-light-blue-1 q-pa-md fz14 rounded-borders q-mt-md"
>
<div
v-if=
"msg.MailingState == '1'"
class=
"bg-light-blue-1 q-pa-md fz14 rounded-borders q-mt-md"
>
<div
class=
"text-weight-bold"
>
{{ $t('v102.ticket.zqs') }}
</div>
<div
class=
"text-weight-bold"
>
{{ $t('v102.ticket.zqs') }}
</div>
<div
class=
"text-grey-900 q-mt-sm f12"
>
{{ $t('v102.ticket.zqd') }}
</div>
<!-- <div class="text-grey-900 q-mt-sm f12">{{ $t('v102.ticket.zqd') }}</div> -->
<div
class=
"text-grey-900 q-mt-sm f12"
>
{{ $t('v102.ticket.zqd1') }}:{{SelffetchAddress}}
</div>
</div>
</div>
<div>
<div>
<div
class=
"q-mt-md"
>
<div
class=
"q-mt-md"
>
...
@@ -158,6 +159,10 @@
...
@@ -158,6 +159,10 @@
<q-badge
color=
"grey-3"
style=
"padding: 5px 8px"
text-color=
"negative"
:label=
"$t('v102.ticket.sjc.c6')"
/>
<q-badge
color=
"grey-3"
style=
"padding: 5px 8px"
text-color=
"negative"
:label=
"$t('v102.ticket.sjc.c6')"
/>
<div
class=
"col f12 text-right"
>
{{msg.MailingMoney}}
</div>
<div
class=
"col f12 text-right"
>
{{msg.MailingMoney}}
</div>
</div>
</div>
<div
class=
"row items-center q-mt-md"
v-if=
"msg.SelffetchAddress&&msg.MailingMoney==0&&msg.Money>msg.MailingMoney"
>
<q-badge
color=
"grey-3"
style=
"padding: 5px 8px"
text-color=
"negative"
label=
"自取地址"
/>
<div
class=
"col f12 text-right"
>
{{msg.SelffetchAddress}}
</div>
</div>
</div>
</div>
<div
class=
"q-pt-md q-mb-lg text-right"
style=
"border-top: 1px dashed #eee"
>
<div
class=
"q-pt-md q-mb-lg text-right"
style=
"border-top: 1px dashed #eee"
>
<span
class=
"f12 text-dark q-mr-md"
>
<span
class=
"f12 text-dark q-mr-md"
>
...
@@ -215,6 +220,7 @@ export default defineComponent({
...
@@ -215,6 +220,7 @@ export default defineComponent({
const
data
=
reactive
({
const
data
=
reactive
({
showDetails
:
false
,
showDetails
:
false
,
loading
:
false
,
loading
:
false
,
SelffetchAddress
:
''
,
msg
:
{
msg
:
{
OrderId
:
0
,
OrderId
:
0
,
Money
:
0.0
,
Money
:
0.0
,
...
@@ -222,6 +228,7 @@ export default defineComponent({
...
@@ -222,6 +228,7 @@ export default defineComponent({
MailingState
:
'1'
,
//邮寄状态 1自取 2邮寄
MailingState
:
'1'
,
//邮寄状态 1自取 2邮寄
MailingAddress
:
''
,
//MailingState =2 填写邮寄
MailingAddress
:
''
,
//MailingState =2 填写邮寄
MailingMoney
:
null
as
Number
,
MailingMoney
:
null
as
Number
,
SelffetchAddress
:
''
,
//自取地址
UseDate
:
''
,
//门票日期
UseDate
:
''
,
//门票日期
Name
:
''
,
Name
:
''
,
EName
:
''
,
EName
:
''
,
...
@@ -260,6 +267,8 @@ export default defineComponent({
...
@@ -260,6 +267,8 @@ export default defineComponent({
.
then
(
r
=>
{
.
then
(
r
=>
{
if
(
r
.
data
.
resultCode
==
ApiResult
.
SUCCESS
)
{
if
(
r
.
data
.
resultCode
==
ApiResult
.
SUCCESS
)
{
data
.
detailsObj
=
r
.
data
.
data
data
.
detailsObj
=
r
.
data
.
data
data
.
msg
.
SelffetchAddress
=
data
.
detailsObj
.
SelffetchAddress
data
.
SelffetchAddress
=
data
.
detailsObj
.
SelffetchAddress
let
addList
=
function
(
arr
)
{
let
addList
=
function
(
arr
)
{
arr
.
forEach
(
item
=>
{
arr
.
forEach
(
item
=>
{
item
.
checked
=
false
item
.
checked
=
false
...
@@ -289,6 +298,7 @@ export default defineComponent({
...
@@ -289,6 +298,7 @@ export default defineComponent({
guestEName
.
value
.
validate
()
guestEName
.
value
.
validate
()
guestMobile
.
value
.
validate
()
guestMobile
.
value
.
validate
()
if
(
data
.
msg
.
MailingState
==
'2'
){
if
(
data
.
msg
.
MailingState
==
'2'
){
data
.
msg
.
SelffetchAddress
=
''
guestAddress
.
value
.
validate
()
guestAddress
.
value
.
validate
()
flag
=
!
guestName
.
value
.
hasError
&&
!
guestEName
.
value
.
hasError
&&
!
guestMobile
.
value
.
hasError
&&
!
guestAddress
.
value
.
hasError
flag
=
!
guestName
.
value
.
hasError
&&
!
guestEName
.
value
.
hasError
&&
!
guestMobile
.
value
.
hasError
&&
!
guestAddress
.
value
.
hasError
}
else
{
}
else
{
...
...
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