Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jwhx
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sugar
jwhx
Commits
c0ba9dee
Commit
c0ba9dee
authored
Feb 04, 2025
by
xieyishang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
~~
parent
c231aa6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
10 deletions
+15
-10
resources/admin/src/pages/cashierhome/cashierhome.vue
resources/admin/src/pages/cashierhome/cashierhome.vue
+15
-10
No files found.
resources/admin/src/pages/cashierhome/cashierhome.vue
View file @
c0ba9dee
...
...
@@ -47,7 +47,7 @@
<div
class=
"pricebox"
>
<div
class=
"price"
>
<div
class=
"price_icon"
>
会员
¥
</div>
<div
class=
"price_icon"
>
¥
</div>
<div
class=
"price_main din"
>
{{
cc
.
formatBig
}}
<text
class=
"mini"
>
{{
cc
.
formatMini
}}
</text>
...
...
@@ -55,7 +55,7 @@
</div>
<div
class=
"price jfprice"
>
<div
class=
"price_icon"
>
+积分
:
</div>
<div
class=
"price_icon"
>
积分可抵扣
:
</div>
<div
class=
"price_main din"
>
{{
cc
.
goods
.
integral
}}
</div>
...
...
@@ -76,9 +76,9 @@
<div
class=
"pricebox"
>
<div
class=
"price"
>
<div
class=
"price_icon"
>
不用
使用积分 ¥
</div>
<div
class=
"price_icon"
>
使用积分 ¥
</div>
<div
class=
"price_main din"
>
{{
parseFloat
(
parseFloat
(
cc
.
goods
.
price
)
+
parseFloat
(
cc
.
goods
.
integral
)).
toFixed
(
2
)
}}
{{
parseFloat
(
parseFloat
(
cc
.
goods
.
price
)
-
parseFloat
(
cc
.
goods
.
integral
)).
toFixed
(
2
)
}}
</div>
</div>
...
...
@@ -94,12 +94,17 @@
<div
class=
"total"
>
<small>
数量:
</small>
{{
totalCount
}}
<small>
金额:
</small>
¥
{{
totalMoney
}}
<small>
所需积分:
</small>
{{
totaljifen
}}
<small>
数量:
</small>
{{
totalCount
}}
<!--
<small>
金额:
</small>
¥
{{
totalMoney
}}
-->
<small>
积分可抵扣:
</small>
{{
totaljifen
}}
</div>
<div
class=
"total"
>
<small>
不使用积分需付:
</small>
¥
{{
Userprice
}}
<small>
使用积分需付:
</small>
¥
{{
Userprice
}}
</div>
<div
class=
"total"
>
<small>
不使用积分需付:
</small>
¥
{{
totalMoney
}}
</div>
<div
class=
"pos_btn"
>
...
...
@@ -109,7 +114,7 @@
<el-button
size=
"large"
type=
"primary"
@
click=
"focusfun(1)"
>
监听扫码枪识别
</el-button>
<el-button
size=
"large"
type=
"danger"
@
click=
"delAllGoods()"
>
清空购物单
</el-button>
<el-button
size=
"large"
type=
"success"
@
click=
"focusfun(2)"
>
会员扣积分
</el-button>
<el-button
size=
"large"
type=
"success"
@
click=
"checkOut()"
>
会员
结算
</el-button>
<el-button
size=
"large"
type=
"success"
@
click=
"checkOut()"
>
用户
结算
</el-button>
<!-- addjf 会员扣积分 -->
</div>
...
...
@@ -287,7 +292,7 @@ export default {
mounted
(){
var
orderHeight
=
document
.
body
.
clientHeight
;
// document.getElementById("order_list").style.height = (orderHeight - 100) + "px";
this
.
scrollbarheight
=
orderHeight
-
3
2
0
;
this
.
scrollbarheight
=
orderHeight
-
3
3
0
;
},
created
:
function
()
{
...
...
@@ -317,7 +322,7 @@ export default {
this
.
totalCount
=
totalCount
;
this
.
totaljifen
=
totaljifen
;
//积分
this
.
Userprice
=
parseFloat
(
parseFloat
(
total
)
+
parseFloat
(
this
.
totaljifen
)).
toFixed
(
2
);
this
.
Userprice
=
parseFloat
(
parseFloat
(
total
)
-
parseFloat
(
this
.
totaljifen
)).
toFixed
(
2
);
},
deep
:
true
,
...
...
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