Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e420f8b4
authored
Jun 04, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
记录
1 parent
a1546a24
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
18 deletions
pages/boutique/history.vue
pages/boutique/invitation.vue
pages/boutique/membranes.vue
pages/boutique/history.vue
View file @
e420f8b
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
/>
/>
<div
class=
"gradient-overlay"
></div>
<div
class=
"gradient-overlay"
></div>
<view
class=
"name"
>
<view
class=
"name"
>
{{
item
.
customerName
||
"-"
}}
{{
item
.
customerName
.
substring
(
0
,
1
)
+
"*"
||
"-"
}}
</view>
</view>
<view
class=
"goods-name flex"
>
<view
class=
"goods-name flex"
>
{{
{{
...
@@ -100,7 +100,7 @@
...
@@ -100,7 +100,7 @@
</tr>
</tr>
<tr
v-for=
"i in goodsList"
>
<tr
v-for=
"i in goodsList"
>
<td>
{{ i.goodsName }}
</td>
<td>
{{ i.goodsName }}
</td>
<td>
{{ i.goodsPositionName }}
</td>
<td>
{{ i.goodsPositionName
|| "-"
}}
</td>
<td>
{{ i.number }}
</td>
<td>
{{ i.number }}
</td>
</tr>
</tr>
</table>
</table>
...
@@ -163,7 +163,7 @@ export default {
...
@@ -163,7 +163,7 @@ export default {
userInfo
=
uni
.
$storage
.
get
(
"userInfo"
),
userInfo
=
uni
.
$storage
.
get
(
"userInfo"
),
{
shopMerchantId
}
=
userInfo
;
{
shopMerchantId
}
=
userInfo
;
this
.
getList
(
'historyDealOrderPage'
,{
this
.
getList
(
'historyDealOrderPage'
,{
merchantId
:
[
shopMerchantId
],
merchantIds
:
[
shopMerchantId
],
sceneTypes
:[
1
],
sceneTypes
:[
1
],
pageNum
,
pageNum
,
pageSize
,
pageSize
,
...
...
pages/boutique/invitation.vue
View file @
e420f8b
...
@@ -11,15 +11,14 @@
...
@@ -11,15 +11,14 @@
@
blur=
"input($event)"
@
blur=
"input($event)"
@
focus=
"focus"
@
focus=
"focus"
/>
/>
<view
<view
class=
"input-tips"
v-if=
"!isSearch"
class=
"input-tips"
v-if=
"!isSearch"
>
搜索客户姓名/电话
<uni-icons
>
搜索客户姓名/电话
<uni-icons
type=
"search"
type=
"search"
class=
"icon"
class=
"icon"
color=
"#999"
color=
"#999"
size=
"20"
size=
"20"
></uni-icons></view>
></uni-icons
></view>
</view>
</view>
<scroll-view
<scroll-view
...
@@ -31,22 +30,20 @@
...
@@ -31,22 +30,20 @@
<template
v-if=
"flag"
>
<template
v-if=
"flag"
>
<template
v-if=
"list.length"
>
<template
v-if=
"list.length"
>
<template
v-for=
"item in list"
>
<template
v-for=
"item in list"
>
<view
class=
"item"
:key=
"item.id"
@
click=
"reception(item)"
>
<view
<view
class=
"item"
:class=
"['status flex', 'status_' + item.inviteStatus]"
:key=
"item.id"
>
{{
inviteStatus
[
item
.
inviteStatus
]
}}
</view
@
click=
"reception(item)"
>
>
<view
:class=
"['status flex', 'status_' + item.inviteStatus]"
>
{{
inviteStatus
[
item
.
inviteStatus
]
}}
</view>
<view
class=
"name"
>
<view
class=
"name"
>
{{
item
.
customerName
}}
{{
item
.
customerName
}}
</view>
</view>
<template
v-for=
"(k, ind) in itemObject"
>
<template
v-for=
"(k, ind) in itemObject"
>
<view
<view
class=
"info flex"
:key=
"ind"
>
class=
"info flex"
:key=
"ind"
>
<view
class=
"label"
>
{{
k
.
label
}}
</view>
<view
class=
"label"
>
{{
k
.
label
}}
</view>
<view
class=
"value"
>
{{
item
[
k
.
key
]
||
"-"
}}
</view>
<view
class=
"value"
>
{{
k
.
format
?
formatTime
(
item
[
k
.
key
])
:
item
[
k
.
key
]
||
"-"
}}
</view>
</view>
</view>
</
template
>
</
template
>
</view>
</view>
...
@@ -78,6 +75,7 @@
...
@@ -78,6 +75,7 @@
</view>
</view>
</template>
</template>
<
script
type=
"text/ecmascript-6"
>
<
script
type=
"text/ecmascript-6"
>
import
dayjs
from
'dayjs'
import
Record
from
"@/mixin/record"
;
import
Record
from
"@/mixin/record"
;
export
default
{
export
default
{
mixins
:
[
Record
],
mixins
:
[
Record
],
...
@@ -95,7 +93,7 @@ export default {
...
@@ -95,7 +93,7 @@ export default {
{
label
:
'客户电话'
,
key
:
'customerPhone'
},
{
label
:
'客户电话'
,
key
:
'customerPhone'
},
{
label
:
'客户车型'
,
key
:
'carSeriesName'
},
{
label
:
'客户车型'
,
key
:
'carSeriesName'
},
{
label
:
'礼券名称'
,
key
:
'couponName'
},
{
label
:
'礼券名称'
,
key
:
'couponName'
},
{
label
:
'领券时间'
,
key
:
'receiveCouponDate'
},
{
label
:
'领券时间'
,
key
:
'receiveCouponDate'
,
format
:
true
},
{
label
:
'销售顾问'
,
key
:
'employeeName'
},
{
label
:
'销售顾问'
,
key
:
'employeeName'
},
],
],
chooseItem
:
{}
chooseItem
:
{}
...
@@ -110,6 +108,9 @@ export default {
...
@@ -110,6 +108,9 @@ export default {
this
.
getRecordList
()
this
.
getRecordList
()
},
},
methods
:
{
methods
:
{
formatTime
(
val
)
{
return
dayjs
(
val
).
format
(
"YYYY-MM-DD HH:mm:ss"
)
},
//下拉分页
//下拉分页
pageonReachBottom
()
{
pageonReachBottom
()
{
let
{
pageNum
,
total
,
nothing
,
pageSize
}
=
this
let
{
pageNum
,
total
,
nothing
,
pageSize
}
=
this
...
@@ -135,7 +136,7 @@ export default {
...
@@ -135,7 +136,7 @@ export default {
userInfo
=
uni
.
$storage
.
get
(
"userInfo"
),
userInfo
=
uni
.
$storage
.
get
(
"userInfo"
),
{
shopMerchantId
}
=
userInfo
;
{
shopMerchantId
}
=
userInfo
;
this
.
getList
(
'customerInviteRecordPage'
,
{
this
.
getList
(
'customerInviteRecordPage'
,
{
merchantId
:
[
shopMerchantId
],
merchantId
s
:
[
shopMerchantId
],
pageNum
,
pageNum
,
pageSize
,
pageSize
,
customerNameOrPhone
,
customerNameOrPhone
,
...
...
pages/boutique/membranes.vue
View file @
e420f8b
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
Attach a file
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 post a comment