Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
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
mallapp
Commits
8e16d898
Commit
8e16d898
authored
Feb 26, 2024
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
8b279fda
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
3 deletions
+16
-3
order-submit.vue
pages/order-submit/order-submit.vue
+4
-2
payment-order.vue
pages/order/payment-order.vue
+12
-1
No files found.
pages/order-submit/order-submit.vue
View file @
8e16d898
...
...
@@ -257,13 +257,15 @@
@
click=
"exitPay"
>
<u-icon
name=
"close"
size=
"40"
></u-icon>
</view>
<view
style=
"padding:10px 0 0 10px;text-align:center;"
>
代付金额
</view>
<view
style=
"padding:10px 0 0 10px;text-align:center;"
>
代付金额
</view>
<view
style=
"text-align:center;padding-bottom:40rpx;"
>
<view
class=
"daif"
:style=
"{'color': mc}"
>
<text
style=
"margin-bottom: 2px;"
>
¥
</text>
<span
:style=
"{'font-size': '30px','color': mc}"
>
{{ds.total_price}}
</span>
<span
:style=
"{'font-size': '30px','color': mc}"
v-if=
"mallUserInfo.TenantId == 29&&depositPrice>0&&goodPrice!=depositPrice"
>
{{depositPrice}}
</span>
<span
:style=
"{'font-size': '30px','color': mc}"
v-else
>
{{ds.total_price}}
</span>
</view>
<u-button
:disabled=
"!address_enable"
size=
"30"
:ripple=
"true"
shape=
"circle"
open-type=
"share"
:custom-style=
"{
backgroundColor: mc,
...
...
pages/order/payment-order.vue
View file @
8e16d898
...
...
@@ -112,6 +112,14 @@
<view
class=
"label"
>
商品总额
</view>
<view
class=
"content right"
>
¥{{ orders.PreferPrice }}
</view>
</view>
<view
class=
"field"
v-if=
"u.TenantId==29&&orders.GoodsDepositMoney>0"
>
<view
class=
"label"
>
订金金额
</view>
<view
class=
"content right"
>
¥{{ orders.GoodsDepositMoney }}
</view>
</view>
<view
class=
"field"
v-if=
"u.TenantId==29&&orders.PayIncome>0"
>
<view
class=
"label"
>
已付金额
</view>
<view
class=
"content right"
>
¥{{ orders.PayIncome }}
</view>
</view>
<view
class=
"field"
>
<view
class=
"label"
>
运费
</view>
<view
class=
"content right"
>
+¥{{ orders.FreightMoney }}
</view>
...
...
@@ -208,6 +216,8 @@
this
.
delivery_time
=
uni
.
getStorageSync
(
'basedata'
)
?
uni
.
getStorageSync
(
'basedata'
).
mall
.
setting
.
delivery_time
:
14
;
let
p
=
getCurrentPages
();
let
u
=
uni
.
getStorageSync
(
"mall_UserInfo"
);
this
.
u
=
u
;
this
.
uid
=
u
.
UserId
?
u
.
UserId
:
0
;
if
(
p
.
length
>
1
)
{
this
.
prevPage
=
p
[
p
.
length
-
2
].
route
;
...
...
@@ -279,7 +289,8 @@
this
.
payInfo
.
OrderId
=
e
.
OrderId
;
this
.
payInfo
.
GoodsName
=
e
.
DetailList
[
0
].
GoodsName
.
slice
(
0
,
10
);
this
.
payInfo
.
PaymentWay
=
e
.
PaymentWay
;
this
.
payInfo
.
total_price
=
e
.
Income
;
this
.
payInfo
.
total_price
=
this
.
u
.
TenantId
==
29
?
e
.
ResultPayMoney
:
e
.
Income
;
//this.payInfo.total_price = e.Income;
this
.
payBtn
=
true
},
exitPay
()
{
...
...
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