Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
member
Overview
Overview
Details
Activity
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
member
member
Commits
8c9fa734
Commit
8c9fa734
authored
May 23, 2019
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整取值
parent
820d3b2d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
29 deletions
+30
-29
posmemberDetail.js
src/components/posmembers/posmemberDetail.js
+5
-1
posmemberDetail.vue
src/components/posmembers/posmemberDetail.vue
+4
-2
posmembers.vue
src/components/posmembers/posmembers.vue
+21
-26
No files found.
src/components/posmembers/posmemberDetail.js
View file @
8c9fa734
...
...
@@ -58,7 +58,9 @@ export default {
avgGoodsCost
:
0
,
highCost
:
0
,
costCategoryCount
:
0
,
avgDiscount
:
0
avgDiscount
:
0
,
highCostPaid
:
0
,
costFeePaid
:
0
},
orderType
:
-
1
,
evaluateStatus
:
-
1
,
...
...
@@ -421,6 +423,8 @@ export default {
highCost
:
temp
.
highCost
,
costCategoryCount
:
temp
.
costCategoryCount
,
avgDiscount
:
temp
.
avgDiscount
,
highCostPaid
:
temp
.
highCostPaid
,
costFeePaid
:
temp
.
costFeePaid
}
}
else
{
checkFalse
(
res
.
data
.
message
);
...
...
src/components/posmembers/posmemberDetail.vue
View file @
8c9fa734
...
...
@@ -6,7 +6,7 @@
<div
class=
"record-navitem"
>
<!-- 跑数据的时候取反了 -->
<p
class=
"lheigth40"
>
消费总额
</p>
<p
class=
"meduimtxt"
>
¥
{{
memberInfo
.
costFee
Receivable
|
fomatFloat
}}
</p>
<p
class=
"meduimtxt"
>
¥
{{
memberInfo
.
costFee
Paid
|
fomatFloat
}}
</p>
</div>
<div
class=
"record-navitem"
>
<p
class=
"lheigth40"
>
消费总额(应收)
</p>
...
...
@@ -38,7 +38,7 @@
</div>
<div
class=
"record-navitem"
>
<p
class=
"lheigth40"
>
最高单笔(应收)
</p>
<p
class=
"meduimtx"
>
{{
memberInfo
.
highCost
|
fomatFloat
}}
</p>
<p
class=
"meduimtx
t
"
>
{{
memberInfo
.
highCost
|
fomatFloat
}}
</p>
</div>
<div
class=
"record-navitem"
>
<p
class=
"lheigth40"
>
消费品类
</p>
...
...
@@ -287,6 +287,8 @@ export default { ...posmemberDetail }
$
bgcolor
=
#fbfcfd
$
bordercolor
=
#e3e5e9
$
posbg
=
#f5f5f9
.min-container
min-width
:
1500px
.record
padding
20px
25px
height
100
%
...
...
src/components/posmembers/posmembers.vue
View file @
8c9fa734
...
...
@@ -155,7 +155,7 @@
<el-table-column
:fixed=
"item === 'name'"
:width=
"item == 'name' ? '150' : ''"
v-if=
"item == 'name' || item == '
highCost' || item == 'highCostPaid' || item == 'grade' || item == 'status' || item == 'channel' || item == 'frozenStatus' || item == 'costFeePaid' || item == 'lastCostPaid
'"
v-if=
"item == 'name' || item == '
grade' || item == 'status' || item == 'channel' || item == 'frozenStatus
'"
:prop=
"item"
:label=
"item | formatField"
>
...
...
@@ -259,6 +259,17 @@
:class=
"scope.row.channelWei == 0 ? 'vipicongray' : scope.row.channelWei == 1 ? 'vipicon' : ''"
></span>
</span>
<div
v-else-if=
"item == 'frozenStatus'"
>
<span
class=
"dm-status--success"
v-if=
"scope.row.frozenStatus == 0"
>
正常
</span>
<span
class=
"dm-status--warning"
v-if=
"scope.row.frozenStatus == 1"
>
冻结
</span>
</div>
<div
v-else-if=
"item == 'crateCardDateString'"
>
<div>
{{
scope
.
row
.
crateCardDateString
|
formatTimeYMD
}}
</div>
<div>
{{
scope
.
row
.
crateCardDateString
|
formatTimeHMS
}}
</div>
...
...
@@ -325,28 +336,9 @@
<span
v-else-if=
"item == 'cardNo'"
>
{{
scope
.
row
.
cardNo
}}
</span>
<span
v-else-if=
"item == 'costFeePaid'"
>
{{
scope
.
row
.
costFeePaid
}}
</span>
<span
v-else-if=
"item == 'lastCostPaid'"
>
{{
scope
.
row
.
lastCostPaid
}}
</span>
<span
v-else-if=
"item == 'highCost'"
>
{{
scope
.
row
.
highCost
}}
</span>
<span
v-else-if=
"item == 'highCostPaid'"
>
{{
scope
.
row
.
highCostPaid
}}
</span>
<div
v-else-if=
"item == 'frozenStatus'"
>
<span
class=
"dm-status--success"
v-if=
"scope.row.frozenStatus == 0"
>
正常
</span>
<span
class=
"dm-status--warning"
v-if=
"scope.row.frozenStatus == 1"
>
冻结
</span>
</div>
</
template
>
</el-table-column>
...
...
@@ -524,15 +516,18 @@
<span
v-else-if=
"item == 'costFee'"
>
{{
scope
.
row
.
costFee
}}
</span>
<span
v-else-if=
"item == 'lastCostReceivable'"
>
{{
scope
.
row
.
lastCostReceivable
}}
<span
v-else-if=
"item == 'costFeePaid'"
>
{{
scope
.
row
.
costFeePaid
}}
</span>
<span
v-else-if=
"item == 'lastCostPaid'"
>
{{
scope
.
row
.
lastCostPaid
}}
</span>
<span
v-else-if=
"item == 'highCost'"
>
{{
scope
.
row
.
highCostReceivable
}}
{{
scope
.
row
.
highCost
}}
</span>
<span
v-else-if=
"item == 'highCostPaid'"
>
{{
scope
.
row
.
highCostPaid
}}
</span>
<span
v-else-if=
"item == 'highCostReceivable'"
>
{{
scope
.
row
.
highCostReceivable
}}
</span>
<div
v-else-if=
"item == 'frozenStatus'"
>
<span
class=
"dm-status--success"
...
...
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