Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
million
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
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
viitto
million
Commits
f46f7e92
Commit
f46f7e92
authored
Mar 03, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
6ddbf1c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
25 deletions
+30
-25
orderForm.vue
src/pages/Pickuporder/orderForm.vue
+30
-25
No files found.
src/pages/Pickuporder/orderForm.vue
View file @
f46f7e92
...
...
@@ -350,26 +350,28 @@
</div>
</div>
<div
class=
"text-subtitle1 q-py-md text-weight-bold"
>
行李数量
</div>
<div
class=
"row q-col-gutter-md"
>
<div
:class=
"filedGuestWidth"
>
<q-input
type=
"Number"
standout
v-model=
"parameters.HandLuggageNum"
label=
"手提行李"
/>
</div>
<div
:class=
"filedGuestWidth"
>
<q-input
type=
"Number"
standout
v-model=
"parameters.RegisteredLuggageNum"
label=
"托运行李"
/>
</div>
</div>
<
template
v-if=
"details.CarType!=3"
>
<div
class=
"text-subtitle1 q-py-md text-weight-bold"
>
行李数量
</div>
<div
class=
"row q-col-gutter-md"
>
<div
:class=
"filedGuestWidth"
>
<q-input
type=
"Number"
standout
v-model=
"parameters.HandLuggageNum"
label=
"手提行李"
/>
</div>
<div
:class=
"filedGuestWidth"
>
<q-input
type=
"Number"
standout
v-model=
"parameters.RegisteredLuggageNum"
label=
"托运行李"
/>
</div>
</div>
</
template
>
</div>
<div
class=
"text-subtitle1 q-my-md text-weight-bold"
>
特殊需求備註:
</div>
<q-input
standout
v-model=
"parameters.Remark"
input-style=
"height:170px;"
type=
"textarea"
placeholder=
"此欄位僅限資料備註。不在商品規範內的個人需求,不保證提供"
maxlength=
"200"
counter
/>
...
...
@@ -463,8 +465,11 @@
<div
class=
"text-h6 text-weight-bolder text-primary product-price"
>
CNY {{ moneyFormat(sumPrice,2) }}
</div>
</div>
</div>
<div
class=
"text-right q-mt-md"
>
<q-btn
unelevated
color=
"primary"
:loading=
"loading"
label=
"立即支付"
@
click=
"submit()"
/>
<div
class=
"text-right q-mt-md"
v-if=
"step!=3"
>
<q-btn
v-if=
"step!=3"
unelevated
color=
"primary"
:loading=
"loading"
:label=
"step!=3?'立即支付':'已支付'"
@
click=
"submit()"
:disable=
"step!=3&&loading"
/>
<q-btn
v-else
unelevated
color=
"primary"
label=
""
/>
</div>
</div>
...
...
@@ -587,7 +592,8 @@
created
()
{},
mounted
()
{
if
(
this
.
$route
.
query
.
OrderDate
){
let
OrderDate
=
JSON
.
parse
(
this
.
$route
.
query
.
OrderDate
)
let
obj
=
decodeURIComponent
(
this
.
$route
.
query
.
OrderDate
)
let
OrderDate
=
JSON
.
parse
(
obj
)
this
.
CarObj
=
OrderDate
.
CarObj
,
//车型
this
.
AirportObj
=
OrderDate
.
AirportObj
,
//机场
this
.
calculationAmount
=
OrderDate
.
calculationAmount
,
//日期
...
...
@@ -614,7 +620,6 @@
},
methods
:
{
submit
(){
console
.
log
(
this
.
parameters
,
'======'
)
let
flag
=
false
this
.
$refs
.
mail
.
validate
()
...
...
@@ -662,7 +667,7 @@
// this.$refs.myform.resetValidation()
if
(
r
.
data
.
resultCode
==
1
)
{
this
.
step
=
2
let
ErpOrderId
=
r
.
data
.
data
.
Order
Id
let
ErpOrderId
=
r
.
data
.
data
.
Id
this
.
AddOrderInfo
(
ErpOrderId
)
}
else
{
this
.
$q
.
notify
({
...
...
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