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 ea4b3257
authored
Aug 18, 2025
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'V4.56.0' of
http://192.168.3.233:8090/glsx/gl_tape
into V4.56.0
2 parents
96085441
a3650d02
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
770 additions
and
160 deletions
api/module/boutique.js
assets/css/common.scss
assets/css/sprite.scss
assets/images/sprite.png
components/Form/GlCell.vue
components/PublishPopup.vue
pages/boutique/components/OrderCard.vue
pages/boutique/tool/components/CreateOrder.vue
pages/boutique/tool/components/OrderManagement.vue
pages/boutique/tool/contant.js
pages/boutique/tool/index.vue
api/module/boutique.js
View file @
ea4b325
...
...
@@ -164,12 +164,20 @@ module.exports = {
...
data
})
},
/**补录订单 */
/**补录订单
数
*/
waitinputorder
(
data
)
{
return
http
.
post
({
method
:
'dj.api.smartcarlife.weapp.waitinputorder.count'
,
projectName
:
'boutique'
,
...{
...
data
,
inputStatus
:
0
}
})
},
/**交易流水号 */
transactionSerialNumber
(
data
)
{
return
http
.
post
({
method
:
'dj.api.smartcarlife.weapp.waitinputorder.page'
,
projectName
:
'boutique'
,
...
data
})
}
}
assets/css/common.scss
View file @
ea4b325
...
...
@@ -35,4 +35,29 @@
font-size
:
toRpx
(
32
);
color
:
#1a1a1a
;
}
}
\ No newline at end of file
}
.flex
{
display
:
flex
;
}
.justify-between
{
-webkit-box-pack
:
justify
;
-ms-flex-pack
:
justify
;
-webkit-justify-content
:
space-between
;
justify-content
:
space-between
;
}
.align-center
{
align-items
:
center
;
}
.justify-center
{
-webkit-box-pack
:
center
;
-ms-flex-pack
:
center
;
-webkit-justify-content
:
center
;
justify-content
:
center
;
}
.flex-wrap
{
-ms-flex-wrap
:
wrap
;
-webkit-flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
}
assets/css/sprite.scss
View file @
ea4b325
...
...
@@ -21,6 +21,8 @@
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.15601023017902813
);}
.icon-bao
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.08354646206308611
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.0937766410912191
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5647911338448423
)
calc
(
100vmin
*
(
1173
/
768
)
*
0
);}
.icon-blue-delete
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.34654731457800514
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.24765558397271953
);}
.icon-boutique-config-0
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.01875532821824382
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.01875532821824382
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6547314578005116
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4846547314578005
);}
.icon-boutique-config-1
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.01875532821824382
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.01875532821824382
);
...
...
@@ -32,17 +34,17 @@
.icon-bydyj-icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6547314578005116
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5601023017902813
);}
.icon-calendar
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.
34654731457800514
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.24765558397271953
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.
043478260869565216
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-certificate
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.027280477408354646
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.027280477408354646
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.44884910485933505
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5839727195225917
);}
.icon-change-account
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.0
4347826086956521
6
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.0
635123614663256
6
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-clone
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.010230179028132993
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.010230179028132993
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5451832907075874
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3874680306905371
);}
.icon-coupon-arrow
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.06351236146632566
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-course
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.08354646206308611
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-course
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.10358056265984655
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-create-order
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5647911338448423
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4825234441602728
);}
.icon-customer-1
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.13640238704177324
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.13640238704177324
);
...
...
@@ -70,17 +72,17 @@
.icon-defeat-summary
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.030690537084398978
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.030690537084398978
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6150895140664961
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5366581415174766
);}
.icon-detail-arrow
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.1
0358056265984655
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.1
2361466325660699
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-detail-btn
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6547314578005116
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6069906223358909
);}
.icon-dress-code
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.007246376811594203
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.007885763000852515
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.639386189258312
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.10017050298380221
);}
.icon-eye-icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.12361466325660699
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-eyes-off
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.14364876385336744
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-eyes-o
n
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
.icon-eyes-o
ff
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.1636828644501279
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-eyes-on
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.1837169650468883
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-face-error-active
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.09462915601023018
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5366581415174766
);}
.icon-face-error
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
...
...
@@ -98,37 +100,37 @@
.icon-first-nav
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.1977834612105712
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.07502131287297528
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.21099744245524296
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.35038363171355497
);}
.icon-front-gear
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.1837169650468883
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-front-window
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.20375106564364875
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-front-window
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.2237851662404092
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-home-active
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.0443307757885763
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.0443307757885763
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.21312872975277067
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4825234441602728
);}
.icon-home
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04774083546462063
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04774083546462063
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4825234441602728
);}
.icon-icon-arrow
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.2
237851662404092
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.2
4381926683716965
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-icon-close
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.030690537084398978
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.030690537084398978
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3410059676044331
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5839727195225917
);}
.icon-icon-copy
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.24381926683716965
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-icon-instructions
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.2638533674339301
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-icon-
navigation
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
.icon-icon-
instructions
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.28388746803069054
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-icon-n
otice
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
.icon-icon-n
avigation
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.30392156862745096
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-icon-
scanning
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
.icon-icon-
notice
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.32395566922421143
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-icon-s
elect
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
.icon-icon-s
canning
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.34398976982097185
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-icon-s
hop
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
.icon-icon-s
elect
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3640238704177323
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-icon-s
tore
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
.icon-icon-s
hop
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.38405797101449274
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-icon-store
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4040920716112532
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-icon-upload
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.05456095481670929
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.05456095481670929
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.2855924978687127
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.20758738277919864
);}
.icon-icon-weixin
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4
040920716112532
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4
2412617220801363
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-income-card
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.015345268542199489
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.015345268542199489
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5400682011935208
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4317988064791134
);}
.icon-income-count
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.03410059676044331
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.03410059676044331
);
...
...
@@ -174,7 +176,7 @@
.icon-notice-study
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3312020460358056
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5366581415174766
);}
.icon-notice-success
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4
2412617220801363
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4
441602728047741
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-notice-system
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.37851662404092073
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5366581415174766
);}
.icon-notice-violate
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
...
...
@@ -230,9 +232,9 @@
.icon-rbkk-icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3090366581415175
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.32608695652173914
);}
.icon-rear-gear
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4441602728047741
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-rear-window
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4641943734015345
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-rear-window
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.484228473998295
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-reception-1
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.020460358056265986
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.020460358056265986
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6547314578005116
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.35720375106564367
);}
.icon-reception-2
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.020460358056265986
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.020460358056265986
);
...
...
@@ -248,7 +250,7 @@
.icon-record
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.0443307757885763
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.0443307757885763
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.2638533674339301
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4825234441602728
);}
.icon-right-arrow
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.
484228473998295
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.
5042625745950554
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-role-1
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.028985507246376812
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.028985507246376812
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.37809036658141515
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5839727195225917
);}
.icon-role-2
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.028985507246376812
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.028985507246376812
);
...
...
@@ -256,7 +258,7 @@
.icon-rule
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.011935208866155157
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.011935208866155157
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.1184995737425405
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6530264279624893
);}
.icon-scan
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5
042625745950554
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5
242966751918159
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-scene-0
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5677749360613811
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5366581415174766
);}
.icon-scene-1
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
...
...
@@ -264,7 +266,7 @@
.icon-scene-active
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.0443307757885763
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.0443307757885763
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3145780051150895
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4825234441602728
);}
.icon-scene-change
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5
242966751918159
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5
443307757885762
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-scene
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.0443307757885763
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.0443307757885763
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3653026427962489
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4825234441602728
);}
.icon-search
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
...
...
@@ -282,11 +284,11 @@
.icon-start-text
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.0733162830349531
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4761295822676897
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.2659846547314578
);}
.icon-stick-top-blue
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5443307757885762
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-stick-top
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5643648763853367
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-st
ore-icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
.icon-st
ick-top
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5843989769820972
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-store-icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6044330775788577
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-store
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.04092071611253197
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.04731457800511509
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5839727195225917
);}
.icon-study-active
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.0443307757885763
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.0443307757885763
);
...
...
@@ -300,9 +302,9 @@
.icon-suggestions-arrow
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.015345268542199489
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.015345268542199489
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-suggestions-icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6044330775788577
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-sun-roof
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.624467178175618
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-sun-roof
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6445012787723785
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-tag-checked
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.02557544757033248
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6547314578005116
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.46462063086104005
);}
.icon-task-pass
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.011935208866155157
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.011935208866155157
);
...
...
@@ -310,11 +312,11 @@
.icon-tdcj-icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.43861892583120204
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4079283887468031
);}
.icon-time-icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6
445012787723785
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6
64535379369139
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-time
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4620630861040068
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4079283887468031
);}
.icon-tips-b
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.664535379369139
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6530264279624893
);}
.icon-tips-g
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.020460358056265986
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.020460358056265986
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6547314578005116
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.437766410912191
);}
.icon-tips
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.03410059676044331
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.03410059676044331
);
...
...
@@ -326,20 +328,18 @@
.icon-tool-pay
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.02557544757033248
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.02557544757033248
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6547314578005116
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.13128729752770674
);}
.icon-total
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6530264279624893
);}
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.020034100596760442
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6530264279624893
);}
.icon-two-arrow
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.011935208866155157
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.010230179028132993
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5268542199488491
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3874680306905371
);}
.icon-visible
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4855072463768116
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4079283887468031
);}
.icon-warning-icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.020034100596760442
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6530264279624893
);}
.icon-work-icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.040068201193520885
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6530264279624893
);}
.icon-work-icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.06010230179028133
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6530264279624893
);}
.icon-ybtc_icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5089514066496164
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4079283887468031
);}
.icon-yw-icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.015345268542199489
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.015345268542199489
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.021739130434782608
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6312872975277067
);}
.icon-zj-icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.06010230179028133
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6530264279624893
);}
.icon-blue-delete
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.08013640238704177
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6530264279624893
);}
\ No newline at end of file
assets/images/sprite.png
View file @
ea4b325
2.54 MB
|
W:
|
H:
2.54 MB
|
W:
|
H:
2-up
Swipe
Onion skin
components/Form/GlCell.vue
View file @
ea4b325
...
...
@@ -18,7 +18,7 @@
<!-- 输入框 -->
<template
v-if=
"item.type === 'input'"
>
<view
class=
"input-box"
>
<input
class=
"input-value"
v-model=
"formData[item.value]"
:placeholder=
"item.placeholder || '请输入'"
<input
class=
"input-value"
v-model=
"formData[item.value]"
:
type=
"item.inputType || 'text'"
@
blur=
"handleBlur($event, item)"
:
placeholder=
"item.placeholder || '请输入'"
:maxlength=
"item.maxlength || 500"
/>
<view
v-if=
"item.valueIcon"
:class=
"['sprite-icon', `icon-$
{item.valueIcon}`]"
@click="onValueClick(item)">
</view>
...
...
@@ -27,11 +27,11 @@
<!-- 下拉选择 -->
<
template
v-else-if=
"item.type === 'select'"
>
<view
class=
"value"
>
<template
v-if=
"formData[item.value] && formData[item.value]
[item.key]
"
>
<template
v-if=
"formData[item.value] && formData[item.value]"
>
<template
v-if=
"item.showText && userInfo && userInfo[item.showText]"
>
{{
userInfo
[
item
.
showText
]
}}
<text>
|
</text>
</
template
>
{{ formData[item.value]
[item.key]
}}
{{ formData[item.value] }}
</template>
<
template
v-else
>
<span
class=
"placeholder"
>
请选择
</span>
...
...
@@ -109,6 +109,9 @@ export default {
},
onValueClick
(
item
)
{
this
.
$emit
(
'handleValue'
,
item
)
},
handleBlur
(
e
,
item
)
{
this
.
$emit
(
'inputBlur'
,
e
,
item
)
}
}
};
...
...
@@ -205,6 +208,7 @@ export default {
align-items
:
center
;
justify-content
:
flex-end
;
height
:
100%
;
width
:
100%
;
.sprite-icon
{
margin-left
:
toRpx
(
8
);
...
...
@@ -214,6 +218,7 @@ export default {
.input-value
{
height
:
100%
;
text-align
:
right
;
width
:
100%
;
}
.input-bottom
{
...
...
components/PublishPopup.vue
0 → 100644
View file @
ea4b325
<!--针对弹窗穿透滚动,统一封装的popup-->
<
template
>
<page-meta
:page-style=
"'overflow:' + (show ? 'hidden' : 'visible')"
></page-meta>
<uni-popup
:class=
"popupClass"
ref=
"publishPopup"
:type=
"type"
@
change=
"change"
:is-mask-click=
"isMaskClick"
:safe-area=
"safeArea"
:showClose=
"showClose"
>
<!-- 顶部标题栏插槽 -->
<slot
name=
"header"
>
<view
class=
"popup-top-box flex justify-between align-center"
>
<text></text>
<text>
{{
title
}}
</text>
<uni-icons
@
click=
"closePopup"
class=
"icon-close"
type=
"closeempty"
></uni-icons>
</view>
</slot>
<!-- 主要内容插槽 -->
<slot
name=
"content"
></slot>
<!-- 底部插槽 -->
<slot
name=
"footer"
></slot>
</uni-popup>
</
template
>
<
script
>
export
default
{
name
:
'PublishPopup'
,
props
:
{
type
:
{
type
:
String
,
default
:
'bottom'
},
isMaskClick
:
{
type
:
Boolean
,
default
:
true
},
safeArea
:
{
type
:
Boolean
,
default
:
true
},
popupClass
:
{
type
:
String
,
default
:
''
},
showClose
:
{
type
:
Boolean
,
default
:
true
},
title
:
{
type
:
String
,
default
:
''
}
},
data
()
{
return
{
show
:
false
}
},
methods
:
{
open
()
{
this
.
$refs
.
publishPopup
.
open
()
},
change
(
e
)
{
this
.
show
=
e
.
show
},
closePopup
()
{
this
.
$refs
.
publishPopup
.
close
()
this
.
$emit
(
'close'
)
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
.popup-top-box
{
color
:
#333333
;
font-size
:
toRpx
(
36
);
font-weight
:
500
;
text-align
:
center
;
padding
:
toRpx
(
32
)
toRpx
(
52
);
}
.justify-between
{
-webkit-box-pack
:
justify
;
-ms-flex-pack
:
justify
;
-webkit-justify-content
:
space-between
;
justify-content
:
space-between
;
}
.align-center
{
align-items
:
center
;
}
.uniui-closeempty
{
color
:
#1a1a1a
;
font-size
:
toRpx
(
24
);
font-weight
:
600
;
}
</
style
>
pages/boutique/components/OrderCard.vue
View file @
ea4b325
...
...
@@ -179,7 +179,6 @@ export default {
padding
:
toRpx
(
8
);
font-size
:
toRpx
(
24
);
font-weight
:
500
;
font-family
:
'HarmonyOSSansSC'
;
border-radius
:
toRpx
(
4
);
border
:
toRpx
(
1
)
solid
transparent
;
}
...
...
@@ -208,14 +207,12 @@ export default {
font-size
:
toRpx
(
24
);
color
:
#999ea8
;
font-weight
:
400
;
font-family
:
'HarmonyOSSansSC'
;
}
.order-value
{
font-size
:
toRpx
(
24
);
color
:
#666666
;
font-weight
:
400
;
font-family
:
'HarmonyOSSansSC'
;
.split
{
margin
:
0
toRpx
(
6
);
}
...
...
@@ -233,14 +230,12 @@ export default {
font-size
:
toRpx
(
24
);
color
:
#999ea8
;
font-weight
:
400
;
font-family
:
'HarmonyOSSansSC'
;
}
.payType-value
{
font-size
:
toRpx
(
24
);
color
:
#666666
;
font-weight
:
400
;
font-family
:
'HarmonyOSSansSC'
;
}
}
...
...
@@ -254,7 +249,6 @@ export default {
margin-right
:
toRpx
(
24
);
font-size
:
toRpx
(
24
);
font-weight
:
400
;
font-family
:
'HarmonyOSSansSC'
;
color
:
#999ea8
;
}
...
...
@@ -264,7 +258,6 @@ export default {
color
:
#4673ff
;
font-size
:
toRpx
(
36
);
font-weight
:
700
;
font-family
:
'D-DIN-PRO'
;
}
}
...
...
@@ -278,7 +271,6 @@ export default {
margin-right
:
toRpx
(
8
);
font-size
:
toRpx
(
28
);
font-weight
:
700
;
font-family
:
'D-DIN-PRO'
;
}
.construction-staff
{
...
...
@@ -290,14 +282,12 @@ export default {
margin-right
:
toRpx
(
24
);
font-size
:
toRpx
(
24
);
font-weight
:
400
;
font-family
:
'HarmonyOSSansSC'
;
color
:
#999ea8
;
}
.staff-value
{
font-size
:
toRpx
(
24
);
color
:
#666666
;
font-weight
:
400
;
font-family
:
'HarmonyOSSansSC'
;
}
}
...
...
@@ -307,13 +297,12 @@ export default {
opacity
:
1
;
border-bottom
:
toRpx
(
2
)
solid
#f7f7f6
;
background
:
#f5f7fa
;
margin
-top
:
toRpx
(
20
)
;
margin
:
toRpx
(
20
)
0
;
padding
:
toRpx
(
20
)
toRpx
(
32
);
.goods
{
color
:
#333333
;
font-size
:
toRpx
(
28
);
font-weight
:
400
;
font-family
:
'HarmonyOSSans'
;
padding-top
:
toRpx
(
12
);
.goods-name
{
.point
{
...
...
@@ -331,7 +320,6 @@ export default {
color
:
#4673ff
;
font-size
:
toRpx
(
24
);
font-weight
:
400
;
font-family
:
'HarmonyOSSansSC'
;
text-align
:
right
;
margin-top
:
toRpx
(
12
);
}
...
...
pages/boutique/tool/components/CreateOrder.vue
View file @
ea4b325
...
...
@@ -4,7 +4,7 @@
<view
class=
"box"
>
<scroll-view
class=
"scroll-view"
scroll-y=
"true"
>
<view
class=
"box-content"
>
<GlCell
:formList=
"formList"
:formData=
"orderObj"
@
radioChange=
"radioChange"
@
handleCell=
"handleCell"
>
<GlCell
:formList=
"formList"
:formData=
"orderObj"
@
radioChange=
"radioChange"
@
inputBlur=
"inputBlur"
@
handleCell=
"handleCell"
>
<template
slot=
"product"
>
<view
class=
"shop-list"
>
<view
class=
"shop-item"
>
...
...
@@ -17,8 +17,7 @@
<view
class=
"front-gear-label"
>
前档玻璃
</view>
<view
class=
"front-gear-input"
>
<view
class=
"unit"
>
¥
</view>
<input
class=
"uni-input "
type=
"digit"
placeholder=
"请输入价格"
placeholder-style=
"font-size: 14px"
/>
<input
class=
"uni-input"
type=
"digit"
placeholder=
"请输入价格"
placeholder-style=
"font-size: 14px"
/>
</view>
</view>
<view
class=
"control"
>
...
...
@@ -49,8 +48,7 @@
<view
class=
"front-gear-label"
>
前档玻璃
</view>
<view
class=
"front-gear-input"
>
<view
class=
"unit"
>
¥
</view>
<input
class=
"uni-input "
type=
"digit"
placeholder=
"请输入价格"
placeholder-style=
"font-size: 14px"
/>
<input
class=
"uni-input"
type=
"digit"
placeholder=
"请输入价格"
placeholder-style=
"font-size: 14px"
/>
</view>
</view>
<view
class=
"control"
>
...
...
@@ -68,8 +66,7 @@
<view
class=
"front-gear-label"
>
前档玻璃
</view>
<view
class=
"front-gear-input"
>
<view
class=
"unit"
>
¥
</view>
<input
class=
"uni-input "
type=
"digit"
placeholder=
"请输入价格"
placeholder-style=
"font-size: 14px"
/>
<input
class=
"uni-input"
type=
"digit"
placeholder=
"请输入价格"
placeholder-style=
"font-size: 14px"
/>
</view>
</view>
<view
class=
"control"
>
...
...
@@ -87,17 +84,17 @@
</
template
>
</GlCell>
</view>
<view
@
click=
"submit"
>
直接下单
</view>
<view
@
click=
"submit"
class=
"btn"
>
直接下单
</view>
</scroll-view>
</view>
<!-- 弹窗 -->
<order-popup
ref=
"orderPopup"
:data=
"
popData"
@
onConfirm=
"onConfirm
"
:popupType=
"popupType"
/>
<order-popup
ref=
"orderPopup"
:data=
"
orderObj"
@
onConfirm=
"onConfirm"
:externalData=
"externalData
"
:popupType=
"popupType"
/>
</view>
</template>
<
script
>
import
OrderPopup
from
'@/components/OrderPopup/index.vue'
import
GlCell
from
'../../../../components/Form/GlCell.vue'
;
import
GlCell
from
'../../../../components/Form/GlCell.vue'
import
{
FORM_LIST
,
popupTypeEnum
}
from
'../contant'
export
default
{
name
:
'CreateOrder'
,
...
...
@@ -105,9 +102,25 @@ export default {
GlCell
,
OrderPopup
},
props
:
{
selectedTradeData
:
{
type
:
Object
,
default
:
()
=>
null
}
},
watch
:
{
selectedTradeData
:
{
handler
(
newVal
)
{
if
(
newVal
)
{
console
.
log
(
'接收到的交易数据:'
,
newVal
)
}
},
immediate
:
true
}
},
data
()
{
return
{
order
Obj
:
{
form
Obj
:
{
userInfo
:
{},
deliveryUserInfo
:
{},
subShopMerchantInfo
:
{},
...
...
@@ -117,16 +130,23 @@ export default {
experienceFlag
:
'Y'
,
payeeType
:
0
,
selectPayType
:
'3'
,
carBrand
:
{}
carBrand
:
{},
customerPhone
:
''
},
formList
:
FORM_LIST
,
userInfo
:
{},
requiredList
:
[],
// 录单设置的必填项
popData
:
{
customer
:
{}
},
orderObj
:
{
customer
:
{},
customerSex
:
'1'
,
experienceFlag
:
'Y'
,
payeeType
:
0
},
// 弹窗传入的数据},
popupType
:
0
,
popupTypeEnum
,
externalData
:
[],
//弹窗接口数据
subShopMerchantList
:
[],
// 二级流量方列表
employeeList
:
[]
}
},
computed
:
{
...
...
@@ -135,9 +155,22 @@ export default {
else
return
false
}
},
onload
(
options
)
{
console
.
log
(
options
,
'options'
)
},
mounted
()
{
console
.
log
(
'mounted'
)
this
.
userInfo
=
uni
.
$storage
.
get
(
'userInfo'
)
||
{}
const
{
userInfo
}
=
this
// 在原有的 orderObj 对象上新增这些属性
Object
.
assign
(
this
.
orderObj
,
{
sellerMerchantNam
:
userInfo
.
merchantName
,
sellerName
:
userInfo
.
name
,
sellerMerchantId
:
userInfo
.
merchantId
,
sellerUserId
:
userInfo
.
uuid
,
merchantId
:
userInfo
.
shopMerchantId
,
merchantName
:
userInfo
.
shopMerchantName
})
this
.
initData
()
},
methods
:
{
...
...
@@ -146,20 +179,22 @@ export default {
this
.
getShopMerchantPointConfig
(
userInfo
.
shopMerchantId
)
this
.
getSubShopMerchantList
(
userInfo
.
shopMerchantId
)
this
.
getSetting
()
// this.orderObj.userInfo = {
// id: 1,
// name: '测试'
// }
this
.
orderObj
.
sellerMerchant
=
{
sellerUserId
:
userInfo
.
uuid
,
sellerName
:
userInfo
.
name
}
this
.
getConfig
()
this
.
getEmployeeList
()
},
// 选择行事件
handleCell
(
val
)
{
console
.
log
(
val
)
this
.
popupType
=
Object
.
keys
(
this
.
popupTypeEnum
).
find
(
key
=>
this
.
popupTypeEnum
[
key
]
===
val
.
value
)
*
1
;
console
.
log
(
this
.
popupType
)
console
.
log
(
val
,
this
.
orderObj
)
// 获取当前选中的popupType
this
.
popupType
=
Object
.
keys
(
this
.
popupTypeEnum
).
find
(
key
=>
this
.
popupTypeEnum
[
key
].
key
===
val
.
value
)
*
1
;
// 获取对应的list字段
const
popupConfig
=
this
.
popupTypeEnum
[
this
.
popupType
];
if
(
popupConfig
&&
popupConfig
.
list
)
{
this
.
externalData
=
this
[
popupConfig
.
list
]
||
[];
}
else
{
this
.
externalData
=
[];
}
console
.
log
(
this
.
popupType
,
this
.
externalData
,
'-------------'
)
this
.
$refs
.
orderPopup
.
open
();
},
// 单选框change事件
...
...
@@ -169,13 +204,40 @@ export default {
},
onConfirm
(
val
)
{
console
.
log
(
val
,
'onConfirm'
)
const
{
chooseContent
}
=
val
// 根据popupTypeEnum优化处理
const
typeKey
=
this
.
popupTypeEnum
[
this
.
popupType
];
if
(
typeKey
)
this
.
orderObj
[
typeKey
]
=
val
;
if
(
typeKey
==
'carBrand'
)
{
this
.
orderObj
[
typeKey
].
carInfo
=
`
${
val
.
carBrand
}
-
${
val
.
carChildsBrandName
}
-
${
val
.
carSeriesName
}
`
const
_typeValue
=
this
.
popupTypeEnum
[
this
.
popupType
];
console
.
log
(
_typeValue
)
if
(
_typeValue
.
key
==
'carBrand'
)
{
// 车型
this
.
$set
(
this
.
orderObj
,
_typeValue
.
key
,
`
${
chooseContent
.
carBrand
}
-
${
chooseContent
.
carChildsBrandName
}
-
${
chooseContent
.
carSeriesName
}
`
)
this
.
orderObj
.
customer
=
{
...(
this
.
orderObj
.
customer
||
{}),
...
chooseContent
}
}
else
if
(
_typeValue
.
key
==
'couponInfo'
)
{
// 礼券
const
{
couponName
,
merchantCouponId
,
customerCouponCode
}
=
chooseContent
Object
.
assign
(
this
.
orderObj
,
{
couponName
:
couponName
,
merchantCouponId
:
merchantCouponId
,
customerCouponCode
:
customerCouponCode
})
this
.
$set
(
this
.
orderObj
,
'couponInfo'
,
couponName
+
customerCouponCode
)
}
else
if
(
_typeValue
.
key
)
{
// this.formObj[_typeValue.key] = chooseContent;
this
.
orderObj
[
_typeValue
.
targetIdKey
]
=
chooseContent
[
_typeValue
.
sourceIdKey
]
this
.
$set
(
this
.
orderObj
,
_typeValue
.
targetNameKey
,
chooseContent
[
_typeValue
.
sourceNameKey
])
}
},
// 输入框失去焦点事件
inputBlur
(
e
,
val
)
{
console
.
log
(
e
,
val
)
this
.
orderObj
.
customer
[
val
.
value
]
=
this
.
orderObj
[
val
.
value
]
},
checkRequired
()
{
},
// 提交
submit
()
{
console
.
log
(
this
.
orderObj
)
...
...
@@ -184,9 +246,9 @@ export default {
const
res
=
await
uni
.
$api
.
boutiqueApi
.
getShopMerchantPointConfig
({
merchantId
})
if
(
res
.
pointsMultiRole
==
'Y'
)
{
// 找到formList中label为"交付专员"的对象,添加hidden: true
const
deliveryCell
=
this
.
formList
[
0
].
find
(
item
=>
item
.
label
===
'交付专员'
)
;
const
deliveryCell
=
this
.
formList
[
0
].
find
(
item
=>
item
.
label
===
'交付专员'
)
if
(
deliveryCell
)
{
deliveryCell
.
hidden
=
false
;
deliveryCell
.
hidden
=
false
}
}
},
...
...
@@ -195,9 +257,10 @@ export default {
const
res
=
await
uni
.
$api
.
boutiqueApi
.
getSubShopMerchantList
({
merchantId
})
console
.
log
(
res
,
'流量方'
)
if
(
res
&&
res
.
length
)
{
this
.
subShopMerchantList
=
res
const
cell
=
this
.
formList
[
0
].
find
(
item
=>
item
.
label
===
'二级流量方'
);
if
(
cell
)
{
cell
.
hidden
=
false
;
cell
.
hidden
=
false
}
}
},
...
...
@@ -223,17 +286,35 @@ export default {
const
res
=
await
this
.
getYQorderInfo
()
console
.
log
(
res
,
'========'
)
const
dictionaryObj
=
{
carTypeRequiredFlag
:
"carBrand"
,
standNoRequiredFlag
:
"standNo"
,
plateNumRequiredFlag
:
"plateNumber"
,
carTypeRequiredFlag
:
'carBrand'
,
standNoRequiredFlag
:
'standNo'
,
plateNumRequiredFlag
:
'plateNumber'
}
for
(
const
key
in
dictionaryObj
)
{
const
cell
=
this
.
formList
[
1
].
find
(
item
=>
item
.
value
===
dictionaryObj
[
key
])
;
if
(
cell
)
cell
.
required
=
(
res
[
key
]
==
'Y'
)
const
cell
=
this
.
formList
[
1
].
find
(
item
=>
item
.
value
===
dictionaryObj
[
key
])
if
(
cell
)
cell
.
required
=
res
[
key
]
==
'Y'
}
},
async
getConfig
()
{
const
res
=
await
uni
.
$api
.
boutiqueApi
.
getYqStoreConfig
({
yqMerchantId
:
this
.
orderObj
.
sellerMerchantId
})
console
.
log
(
res
)
},
// 获取 销售顾问列表
async
getEmployeeList
()
{
const
{
userInfo
,
orderObj
}
=
this
const
{
shopMerchantId
,
sceneType
,
merchantId
}
=
userInfo
,
data
=
await
uni
.
$api
.
popupApi
.
getEmployeeList
({
merchantId
:
orderObj
.
idKey
==
'sellerUserId'
?
merchantId
:
shopMerchantId
,
sceneList
:
orderObj
.
idKey
==
'sellerUserId'
?
''
:
[
sceneType
]
})
if
(
data
&&
data
.
length
)
{
this
.
employeeList
=
data
this
.
formObj
.
userInfo
=
data
[
0
]
this
.
$set
(
this
.
orderObj
,
'employeeName'
,
data
[
0
].
staffName
)
this
.
orderObj
.
userId
=
data
[
0
].
uuid
}
}
}
}
...
...
@@ -246,7 +327,7 @@ export default {
.box
{
height
:
calc
(
100%
-
#{
toRpx
(
120
)}
);
padding-bottom
:
toRpx
(
24
);
.scroll-view
{
height
:
100%
;
}
...
...
@@ -262,7 +343,7 @@ export default {
.shop-item
{
display
:
flex
;
align-items
:
center
;
background-color
:
#
F5F7FA
;
background-color
:
#
f5f7fa
;
border-radius
:
toRpx
(
16
);
margin-bottom
:
toRpx
(
16
);
padding
:
toRpx
(
24
);
...
...
@@ -273,7 +354,7 @@ export default {
margin-left
:
toRpx
(
24
);
.shop-name
{
color
:
#
FF781F
;
color
:
#
ff781f
;
}
.alias
{
...
...
@@ -281,7 +362,6 @@ export default {
font-size
:
toRpx
(
24
);
color
:
#666
;
}
}
}
}
...
...
@@ -304,7 +384,7 @@ export default {
.front-gear-input
{
position
:
relative
;
display
:
flex
;
border
:
toRpx
(
2
)
solid
#
EFF0F
2
;
border
:
toRpx
(
2
)
solid
#
eff0f
2
;
background-color
:
#fff
;
font-size
:
toRpx
(
28
);
height
:
toRpx
(
70
);
...
...
@@ -334,7 +414,7 @@ export default {
width
:
toRpx
(
94
);
height
:
toRpx
(
74
);
background-color
:
#fff
;
border
:
toRpx
(
2
)
solid
#
EFF0F
2
;
border
:
toRpx
(
2
)
solid
#
eff0f
2
;
padding
:
0
toRpx
(
10
);
text-align
:
center
;
}
...
...
@@ -346,18 +426,18 @@ export default {
line-height
:
toRpx
(
70
);
text-align
:
center
;
background-color
:
#fff
;
border-top
:
toRpx
(
2
)
solid
#
EFF0F
2
;
border-bottom
:
toRpx
(
2
)
solid
#
EFF0F
2
;
border-top
:
toRpx
(
2
)
solid
#
eff0f
2
;
border-bottom
:
toRpx
(
2
)
solid
#
eff0f
2
;
}
.minus
{
border-radius
:
toRpx
(
12
)
0
0
toRpx
(
12
);
border-left
:
toRpx
(
2
)
solid
#
EFF0F
2
;
border-left
:
toRpx
(
2
)
solid
#
eff0f
2
;
}
.add
{
border-radius
:
0
toRpx
(
12
)
toRpx
(
12
)
0
;
border-right
:
toRpx
(
2
)
solid
#
EFF0F
2
;
border-right
:
toRpx
(
2
)
solid
#
eff0f
2
;
}
}
}
...
...
@@ -366,7 +446,7 @@ export default {
padding
:
toRpx
(
12
)
toRpx
(
32
)
toRpx
(
12
)
0
;
.package-item
{
background-color
:
#
F5F7FA
;
background-color
:
#
f5f7fa
;
border-radius
:
toRpx
(
16
);
margin-bottom
:
toRpx
(
16
);
...
...
@@ -375,9 +455,7 @@ export default {
justify-content
:
space-between
;
align-items
:
center
;
border-bottom
:
toRpx
(
1.6
)
solid
#dce1e6
;
padding
:
toRpx
(
24
);
&-left
{
padding
:
toRpx
(
24
);
&-left
{
display
:
flex
;
align-items
:
center
;
font-size
:
toRpx
(
28
);
...
...
@@ -402,7 +480,7 @@ export default {
}
.goods-name
{
color
:
#
FF781F
;
color
:
#
ff781f
;
font-size
:
toRpx
(
28
);
}
...
...
@@ -419,4 +497,15 @@ export default {
font-size
:
toRpx
(
24
);
color
:
#999
;
}
</
style
>
\ No newline at end of file
.btn
{
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
margin
:
toRpx
(
88
)
auto
0
;
width
:
toRpx
(
1130
);
height
:
toRpx
(
80
);
color
:
#fff
;
border-radius
:
toRpx
(
48
);
background
:
linear-gradient
(
0deg
,
#2c66f7
0%
,
#48a6ff
100%
);
}
</
style
>
pages/boutique/tool/components/OrderManagement.vue
View file @
ea4b325
...
...
@@ -21,23 +21,145 @@
<z-paging
ref=
"paging"
:fixed=
"false"
paging-class=
"paging-class px-48"
:loading-full-fixed=
"false"
:auto-show-system-loading=
"true"
:show-scrollbar=
"false"
v-model=
"dataList"
@
query=
"queryList"
:default-page-size=
"10"
>
<OrderCard
v-for=
"(item, index) in dataList"
:key=
"index"
:orderCardDetail=
"item"
@
toggle-goods-list=
"handleToggleGoodsList"
></OrderCard>
</z-paging>
<PublishPopup
ref=
"WaitinputorderPopup"
popupClass=
"waitinputorderPopup"
:showClose=
"true"
title=
"选择交易参考号"
>
<template
#
content
>
<view
class=
"popup-content px-48"
>
<view
class=
"waitinputorder-tab-container"
>
<view
class=
"waitinputorder-tab-buttons"
>
<view
v-for=
"(item, index) in waitinputorderTabList"
:key=
"index"
class=
"waitinputorder-tab-button"
:class=
"
{ active: activeIndex === index }" @click="tabChange(index)">
<text>
{{
item
.
name
}}
</text>
<view
v-if=
"item.showQuestion"
class=
"question-icon"
@
click=
"showQuestionPopup()"
>
<uni-icons
type=
"help"
size=
"16"
color=
"#999"
></uni-icons>
</view>
</view>
</view>
</view>
<scroll-view
class=
"order_no_box"
scroll-y
enable-back-to-top
refresher-enabled=
"true"
v-show=
"activeIndex === 0"
@
scrolltolower=
"pageonReachBottom"
>
<view
v-if=
"normalOrderNoList.length > 0"
class=
"order-gap"
>
<view
v-for=
"(item, index) in normalOrderNoList"
:key=
"index"
class=
"order_no_item"
:class=
"
{ checkActive: checkListObj[item.tradeNo] }" @click="activeClick(item)">
<view
class=
"message"
>
<view
v-for=
"(subItem, idx) in itemFormObj"
:key=
"idx"
class=
"item flex align-center"
>
<view
class=
"label"
>
{{
subItem
.
label
}}
</view>
<view
v-if=
"subItem.type === 'price'"
class=
"value price_value"
>
¥
{{
priceFilter
(
item
[
subItem
.
prop
])
}}
</view>
<view
v-else-if=
"subItem.type === 'select'"
class=
"select_value"
@
click=
"selectTap(index)"
:data-index=
"index"
>
<text
class=
"text-hide"
>
{{
filmOrderData
[
item
.
filmOrder
]
}}
</text>
<image
src=
"/components/images/arrow-x.png"
mode=
""
/>
</view>
<view
v-else
class=
"value flex align-center"
>
{{
subItem
.
type
===
'time'
?
formatDate
(
item
[
subItem
.
prop
])
:
item
[
subItem
.
prop
]
}}
<view
v-if=
"subItem.type === 'copy'"
class=
"copy-btn"
@
click=
"copyText"
>
<view
class=
"sprite-icon icon-icon-copy copy"
></view>
复制
</view>
</view>
</view>
</view>
<view
class=
"sprite-icon icon-tag-checked checked"
v-if=
"checkListObj[item.tradeNo]"
></view>
</view>
</view>
</scroll-view>
<scroll-view
class=
"order_no_box"
scroll-y
enable-back-to-top
refresher-enabled=
"true"
v-show=
"activeIndex === 1"
@
scrolltolower=
"pageonReachBottom"
>
<view
v-if=
"abnormalOrderNoList.length > 0"
class=
"order-gap"
>
<view
v-for=
"(item, index) in abnormalOrderNoList"
:key=
"index"
class=
"order_no_item"
:class=
"
{ checkActive: checkListObj[item.tradeNo] }" @click="activeClick(item)">
<view
class=
"message"
>
<view
v-for=
"(subItem, idx) in itemFormObj"
:key=
"idx"
class=
"item flex align-center"
>
<view
class=
"label"
>
{{
subItem
.
label
}}
</view>
<view
v-if=
"subItem.type === 'price'"
class=
"value price_value"
>
¥
{{
priceFilter
(
item
[
subItem
.
prop
])
}}
</view>
<view
v-else-if=
"subItem.type === 'select'"
class=
"select_value"
@
click=
"selectTap(index)"
:data-index=
"index"
>
<text
class=
"text-hide"
>
{{
filmOrderData
[
item
.
filmOrder
]
}}
</text>
<image
src=
"/components/images/arrow-x.png"
mode=
""
/>
</view>
<view
v-else
class=
"value flex align-center"
>
{{
subItem
.
type
===
'time'
?
formatDate
(
item
[
subItem
.
prop
])
:
item
[
subItem
.
prop
]
}}
<view
v-if=
"subItem.type === 'copy'"
class=
"copy-btn"
@
click=
"copyText"
>
<view
class=
"sprite-icon icon-icon-copy copy"
></view>
复制
</view>
</view>
</view>
</view>
<view
class=
"sprite-icon icon-tag-checked checked"
v-if=
"checkListObj[item.tradeNo]"
></view>
</view>
</view>
</scroll-view>
</view>
</
template
>
<
template
#
footer
>
<view
class=
"footer-box flex justify-center"
>
<view
class=
"cancle-btn btn"
@
click=
"cancelSelection"
>
取消
</view>
<view
class=
"sure-btn btn"
@
click=
"confirmSelection"
>
确认
</view>
</view>
</
template
>
</PublishPopup>
<PublishPopup
ref=
"abnormalTipsPopup"
popupClass=
"abnormalTipsPopup"
:showClose=
"true"
title=
"超分账期"
>
<
template
#
content
>
<scroll-view
scroll-y
class=
"ul px-48"
>
<view
class=
"title"
>
字段定义
</view>
<view
class=
"li"
>
○ 正常分账期:指客户付款后,未超过分账期 (一般指支付时间≤20日),驻店未在系统补录或特殊情况下需运营在后台关联订单的交易流水号。
</view>
<view
class=
"li last"
>
○ 超分账期:指客户付款后,超过分账期 (一般指支付时间>20日),驻店未在系统补录或特殊情况下需运营在后台关联订单的交易流水号。
</view>
<view
class=
"title"
>
操作指导
</view>
<view
class=
"li"
>
① 补录订单:支持正常分账期或超分账期单笔或多笔流水补录1个订单
</view>
<view
class=
"li"
>
情况一:单笔支付直接补录创建工单
</view>
<view
class=
"li last"
>
情况二:客户多笔支付,补录工单时勾选多笔交易流水
</view>
<view
class=
"li"
>
② 特殊情况:需通知运营在后台关联工单
</view>
<view
class=
"li"
>
情况一:客户支付定金时间与尾款时间间隔20天以上
</view>
<view
class=
"li"
>
情况二:客户购买车辆2台及以上的费用,一笔支付
</view>
<view
class=
"li last"
>
情况三:支付费用时误操作(多付了)需部分退款
</view>
<view
class=
"li last"
>
操作流程:驻店在小程序点击新建工单,收款方选择嘀加收款,收款方式选择其它收款,复制交易流水号(填写时流水号末尾加逗号,多笔交易流水号中间用逗号隔开),工单录完后通知线上运营在后台关联。
</view>
</scroll-view>
</
template
>
</PublishPopup>
</view>
</template>
<
script
>
import
order_mixins
from
'../../order_mixins.js'
import
{
interceptionMixin
}
from
'@/mixin/index'
import
ZPMixin
from
'@/uni_modules/z-paging/components/z-paging/js/z-paging-mixin'
import
OrderCard
from
'../../components/OrderCard'
import
PublishPopup
from
'@/components/PublishPopup.vue'
import
dayjs
from
'dayjs'
import
utils
from
'@/utils/utils'
export
default
{
name
:
'OrderManagement'
,
mixins
:
[
ZPMixin
],
mixins
:
[
ZPMixin
,
interceptionMixin
],
components
:
{
OrderCard
OrderCard
,
PublishPopup
},
data
()
{
return
{
itemFormObj
:
[
{
label
:
'交易参考号'
,
prop
:
'tradeNo'
,
type
:
'copy'
},
{
label
:
'支付时间'
,
prop
:
'accountDate'
,
type
:
'time'
},
{
label
:
'支付金额'
,
prop
:
'totalFee'
,
type
:
'price'
},
{
label
:
'商户名称'
,
prop
:
'shopMerchantName'
}
],
tabList
:
[
{
tabName
:
'全部'
,
num
:
0
},
{
tabName
:
'待跟进'
,
num
:
0
},
...
...
@@ -45,6 +167,11 @@ export default {
{
tabName
:
'战败'
,
num
:
0
}
],
tabIndex
:
0
,
waitinputorderTabList
:
[
{
name
:
'正常分账期'
,
showQuestion
:
false
},
{
name
:
'超分账期'
,
showQuestion
:
true
}
],
activeIndex
:
0
,
keyword
:
''
,
searchObj
:
{},
dataList
:
[],
...
...
@@ -57,6 +184,13 @@ export default {
type
:
2
,
typeText
:
'补录订单'
},
normalOrderNoList
:
[],
abnormalOrderNoList
:
[],
abnormalCurrentPage
:
1
,
normalCurrentPage
:
1
,
abnormalPages
:
1
,
normalPages
:
1
,
checkListObj
:
{},
...
order_mixins
.
data
}
},
...
...
@@ -77,8 +211,10 @@ export default {
this
.
$refs
.
paging
.
reload
()
this
.
getStatByStatus
()
},
waitinputorderClick
()
{
console
.
log
(
'waitinputorderClick'
)
async
waitinputorderClick
()
{
if
(
await
this
.
inspectionOfProhibitionBill
())
return
this
.
getTransactionSerialNumber
()
this
.
$refs
.
WaitinputorderPopup
.
open
()
},
handleToggleGoodsList
(
data
)
{
this
.
$set
(
data
.
item
,
'showAllGoodsListFlag'
,
data
.
flag
)
...
...
@@ -88,6 +224,15 @@ export default {
delete
this
.
searchObj
.
statusList
this
.
search
()
},
tabChange
(
index
)
{
this
.
activeIndex
=
index
if
(
!
this
.
normalOrderNoList
.
length
)
{
this
.
getTransactionSerialNumber
()
}
if
(
!
this
.
abnormalOrderNoList
.
length
)
{
this
.
getTransactionSerialNumber
()
}
},
getStatByStatus
()
{
uni
.
$api
.
boutiqueApi
.
statByStatus
({
...
...
@@ -105,6 +250,33 @@ export default {
console
.
log
(
err
)
})
},
pageonReachBottom
()
{
if
(
this
.
activeIndex
===
0
)
{
if
(
this
.
normalPages
==
this
.
normalCurrentPage
)
return
uni
.
showToast
({
title
:
'列表已到底'
,
icon
:
'none'
})
this
.
normalCurrentPage
+=
1
}
else
{
if
(
this
.
abnormalPages
==
this
.
abnormalCurrentPage
)
return
uni
.
showToast
({
title
:
'列表已到底'
,
icon
:
'none'
})
this
.
abnormalCurrentPage
+=
1
}
this
.
getTransactionSerialNumber
()
},
getTransactionSerialNumber
()
{
uni
.
$api
.
boutiqueApi
.
transactionSerialNumber
({
currentPage
:
this
.
activeIndex
===
0
?
this
.
normalCurrentPage
:
this
.
abnormalCurrentPage
,
pageSize
:
10
,
inputOrderType
:
this
.
activeIndex
+
1
,
inputStatus
:
0
})
.
then
(
result
=>
{
if
(
this
.
activeIndex
==
0
)
{
this
.
normalOrderNoList
=
[...
this
.
normalOrderNoList
,
...
result
.
list
]
this
.
normalPages
=
result
.
pages
}
else
{
this
.
abnormalOrderNoList
=
[...
this
.
abnormalOrderNoList
,
...
result
.
list
]
this
.
abnormalPages
=
result
.
pages
}
})
.
catch
(
err
=>
{
console
.
log
(
err
)
})
},
queryList
(
pageNo
,
pageSize
)
{
let
obj
=
{
keyword
:
this
.
keyword
,
...
...
@@ -221,12 +393,59 @@ export default {
clearInterval
(
this
.
waitOrderTimer
)
this
.
waitOrderTimer
=
null
}
},
// 价格过滤器
priceFilter
(
num
)
{
var
pow
=
Math
.
pow
(
10
,
2
)
return
(
Math
.
round
((
num
/
100
)
*
pow
)
/
pow
).
toFixed
(
2
)
},
formatDate
(
time
)
{
return
dayjs
(
time
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
},
// 选择点击事件
selectTap
(
index
)
{
this
.
$emit
(
'select-tap'
,
index
)
},
// 复制订单号
copyOutTradeNo
(
item
)
{
this
.
$emit
(
'copy-out-trade-no'
,
item
)
},
showQuestionPopup
()
{
this
.
$refs
.
abnormalTipsPopup
.
open
()
},
activeClick
(
item
)
{
if
(
this
.
checkListObj
[
item
.
tradeNo
])
{
this
.
$delete
(
this
.
checkListObj
,
item
.
tradeNo
)
}
else
{
this
.
$set
(
this
.
checkListObj
,
item
.
tradeNo
,
item
)
}
},
confirmSelection
()
{
const
selectedItems
=
Object
.
values
(
this
.
checkListObj
)
if
(
selectedItems
.
length
===
0
)
{
uni
.
showToast
({
title
:
'请选择交易参考号'
,
icon
:
'none'
})
return
}
this
.
$refs
.
WaitinputorderPopup
.
closePopup
()
this
.
$emit
(
'jump'
,
'CreateOrder'
,
{
selectedItems
:
selectedItems
})
},
cancelSelection
()
{
this
.
checkListObj
=
{}
this
.
$refs
.
WaitinputorderPopup
.
closePopup
()
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
lang=
"scss"
scope
>
.order-management
{
height
:
100%
;
.paging-class
{
...
...
@@ -235,6 +454,7 @@ export default {
.px-48
{
padding
:
0
toRpx
(
48
);
}
.search-box
{
padding
:
toRpx
(
40
)
toRpx
(
48
)
toRpx
(
24
);
position
:
relative
;
...
...
@@ -307,7 +527,6 @@ export default {
margin-left
:
toRpx
(
4
);
font-size
:
toRpx
(
20
);
font-weight
:
500
;
font-family
:
'HarmonyOSSansSC'
;
}
}
...
...
@@ -339,10 +558,161 @@ export default {
color
:
#4673ff
;
font-size
:
toRpx
(
24
);
font-weight
:
500
;
font-family
:
'HarmonyOSSansSC'
;
text-align
:
center
;
line-height
:
toRpx
(
50
);
}
}
.waitinputorderPopup
.popup-content
{
.waitinputorder-tab-container
{
width
:
toRpx
(
488
);
border-radius
:
toRpx
(
64
);
opacity
:
1
;
background
:
#f5f7fa
;
}
.waitinputorder-tab-buttons
{
display
:
flex
;
background-color
:
#f5f5f5
;
border-radius
:
24
rpx
;
overflow
:
hidden
;
margin-bottom
:
20
rpx
;
}
.waitinputorder-tab-button
{
flex
:
1
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
font-size
:
toRpx
(
28
);
font-weight
:
500
;
color
:
#333
;
position
:
relative
;
width
:
toRpx
(
236
);
height
:
toRpx
(
56
);
border-radius
:
toRpx
(
40
);
&.active
{
background-color
:
#000
;
color
:
#fff
;
}
.question-icon
{
margin-left
:
8
rpx
;
opacity
:
0.6
;
}
}
}
.order_no_box
{
height
:
calc
(
67vh
-
#{
toRpx
(
364
)}
);
.order-gap
{
display
:
grid
;
grid-template-columns
:
1
fr
1
fr
;
gap
:
toRpx
(
36
);
}
.order_no_item
{
border-radius
:
toRpx
(
16
);
opacity
:
1
;
border
:
toRpx
(
2
)
solid
#dce0e6
;
padding
:
toRpx
(
24
)
toRpx
(
32
);
background
:
#f5f7fa
;
position
:
relative
;
.message
{
.item
{
margin-bottom
:
toRpx
(
12
);
}
.label
{
color
:
#999ea8
;
font-size
:
toRpx
(
24
);
font-weight
:
400
;
width
:
toRpx
(
120
);
margin-right
:
toRpx
(
24
);
}
.value
{
color
:
#333333
;
font-size
:
toRpx
(
24
);
font-weight
:
400
;
}
}
.checked
{
position
:
absolute
;
top
:
0
;
right
:
0
;
}
}
.checkActive
{
border
:
toRpx
(
2
)
solid
#4673ff
;
background
:
#4673ff1
a
;
}
.copy-btn
{
display
:
flex
;
align-items
:
center
;
margin-left
:
auto
;
color
:
#808291
;
.copy
{
margin-right
:
toRpx
(
8
);
margin-left
:
toRpx
(
20
);
}
}
}
.footer-box
{
width
:
100%
;
height
:
toRpx
(
164
);
background-color
:
#fff
;
.btn
{
width
:
30%
;
height
:
toRpx
(
80
);
border-radius
:
toRpx
(
48
);
opacity
:
1
;
line-height
:
toRpx
(
80
);
text-align
:
center
;
color
:
#333333
;
font-size
:
toRpx
(
32
);
font-weight
:
500
;
}
.cancle-btn
{
background
:
#f0f1f5
;
}
.sure-btn
{
color
:
#fff
;
background
:
linear-gradient
(
0deg
,
#2c66f7
0%
,
#48a6ff
100%
);
margin-left
:
toRpx
(
32
);
}
}
}
::v-deep
.waitinputorderPopup
.uni-popup__wrapper
{
border-radius
:
toRpx
(
32
)
toRpx
(
32
)
0
0
;
opacity
:
1
;
width
:
100%
;
height
:
67vh
;
background-color
:
#fff
!important
;
}
::v-deep
.abnormalTipsPopup
.uni-popup__wrapper
{
border-radius
:
toRpx
(
32
)
toRpx
(
32
)
0
0
;
opacity
:
1
;
width
:
100%
;
height
:
51vh
;
background-color
:
#fff
!important
;
.ul
{
height
:
100%
;
.title
{
font-weight
:
600
;
font-size
:
toRpx
(
26
);
color
:
#282829
;
margin-bottom
:
toRpx
(
8
);
}
.li
{
font-size
:
toRpx
(
26
);
color
:
#282829
;
margin-bottom
:
toRpx
(
8
);
}
.last
{
margin-bottom
:
toRpx
(
32
);
}
}
}
</
style
>
pages/boutique/tool/contant.js
View file @
ea4b325
...
...
@@ -2,34 +2,34 @@ const FORM_LIST = [
[
{
label
:
'销售顾问'
,
value
:
'
userInfo
'
,
value
:
'
employeeName
'
,
type
:
'select'
,
key
:
'staffName'
,
//
key: 'staffName',
required
:
true
,
showText
:
'shopMerchantName'
},
{
label
:
'交付专员'
,
value
:
'delivery
UserInfo
'
,
value
:
'delivery
EmployeeName
'
,
type
:
'select'
,
required
:
true
,
key
:
'staffName'
,
//
key: 'staffName',
hidden
:
true
,
showText
:
'shopMerchantName'
},
{
label
:
'二级流量方'
,
value
:
'subShopMerchant
Info
'
,
value
:
'subShopMerchant
Name
'
,
type
:
'select'
,
required
:
true
,
key
:
'subMerchantName'
,
//
key: 'subMerchantName',
hidden
:
true
},
{
label
:
'转化人员'
,
value
:
'seller
UserInfo
'
,
value
:
'seller
Name
'
,
type
:
'select'
,
key
:
'staffName'
,
//
key: 'staffName',
required
:
true
,
showText
:
'merchantName'
},
...
...
@@ -37,7 +37,7 @@ const FORM_LIST = [
[
{
label
:
'车主姓名'
,
value
:
'customer'
,
value
:
'customer
Name
'
,
maxlength
:
'16'
,
type
:
'input'
,
required
:
true
...
...
@@ -80,7 +80,8 @@ const FORM_LIST = [
value
:
'customerPhone'
,
maxlength
:
'11'
,
type
:
'input'
,
required
:
true
required
:
true
,
inputType
:
'number'
},
{
label
:
'选择车型'
,
...
...
@@ -180,7 +181,7 @@ const FORM_LIST = [
addHtml
:
'package'
},
{
label
:
'
精品礼券
'
,
label
:
'
其他精品
'
,
value
:
'couponInfo'
,
type
:
'select'
,
key
:
'name'
,
...
...
@@ -271,11 +272,46 @@ const payType = [
]
const
popupTypeEnum
=
{
0
:
'userInfo'
,
1
:
'deliveryUserInfo'
,
2
:
'subShopMerchantInfo'
,
3
:
'sellerUserInfo'
,
4
:
'carBrand'
0
:
{
key
:
'employeeName'
,
list
:
'employeeList'
,
targetIdKey
:
'userId'
,
targetNameKey
:
'employeeName'
,
sourceIdKey
:
'uuid'
,
sourceNameKey
:
'staffName'
},
1
:
{
key
:
'deliveryEmployeeName'
,
list
:
'employeeList'
,
targetIdKey
:
'deliveryUserId'
,
targetNameKey
:
'deliveryEmployeeName'
,
sourceIdKey
:
'uuid'
,
sourceNameKey
:
'staffName'
},
2
:
{
key
:
'subShopMerchantName'
,
list
:
'subShopMerchantList'
,
targetIdKey
:
'subShopMerchantId'
,
targetNameKey
:
'subShopMerchantName'
,
sourceIdKey
:
'subMerchantId'
,
sourceNameKey
:
'subMerchantName'
},
3
:
{
key
:
'sellerName'
,
list
:
''
,
targetIdKey
:
'sellerUserId'
,
targetNameKey
:
'sellerName'
,
sourceIdKey
:
'uuid'
,
sourceNameKey
:
'staffName'
},
4
:
{
key
:
'carBrand'
,
list
:
''
},
5
:
{
key
:
'couponInfo'
,
list
:
''
,
}
}
export
{
...
...
pages/boutique/tool/index.vue
View file @
ea4b325
<
template
>
<view
class=
"detail-box"
>
<view
class=
"nav-bar"
>
<view
class=
"back"
@
click=
"backPage"
>
<uni-icons
type=
"left"
:size=
"20"
color=
"#000"
></uni-icons>
<view
class=
"back"
@
click=
"backPage"
>
<uni-icons
type=
"left"
:size=
"20"
color=
"#000"
></uni-icons>
</view>
<view
class=
"title"
>
展业工具
</view>
</view>
...
...
@@ -17,28 +10,22 @@
<view
class=
"detail-left"
>
<view
class=
"common-title"
>
展业
</view>
<view
class=
"content"
>
<image
class=
"banner"
src=
"../../../assets/images/common/tool_banner.png"
mode=
"scaleToFill"
/>
<image
class=
"banner"
src=
"../../../assets/images/common/tool_banner.png"
mode=
"scaleToFill"
/>
<template
v-if=
"toolComponentName !== 'DailyReport'"
>
<Entrance
@
entranceClick=
"entranceClick"
></Entrance>
</
template
>
<
template
v-else
>
</
template
>
<
template
v-else
></
template
>
</view>
</view>
<view
class=
"detail-right"
>
<component
:is=
"toolComponentName"
/>
<component
:is=
"toolComponentName"
@
jump=
"jump"
:selected-trade-data=
"selectedTradeData"
/>
</view>
</view>
</view>
</template>
<
script
>
import
Entrance
from
'@/components/Entrance.vue'
;
import
Entrance
from
'@/components/Entrance.vue'
import
CreateOrder
from
'./components/CreateOrder.vue'
import
DailyReport
from
'./components/DailyReport.vue'
import
DefeatOrder
from
'./components/DefeatOrder.vue'
...
...
@@ -51,22 +38,34 @@ export default {
DefeatOrder
,
OrderManagement
},
data
()
{
data
()
{
return
{
toolComponentName
:
''
toolComponentName
:
''
,
selectedTradeData
:
null
}
},
onLoad
(
options
)
{
onLoad
(
options
)
{
if
(
options
.
componentName
)
this
.
toolComponentName
=
options
.
componentName
},
methods
:
{
entranceClick
(
item
)
{
entranceClick
(
item
)
{
console
.
log
(
item
)
this
.
toolComponentName
=
item
.
name
if
(
item
.
name
!==
'CreateOrder'
)
{
this
.
selectedTradeData
=
null
}
},
backPage
()
{
uni
.
navigateBack
()
;
backPage
()
{
uni
.
navigateBack
()
},
// name:跳转组件名,val:跳转参数
jump
(
name
,
val
)
{
this
.
toolComponentName
=
name
console
.
log
(
this
.
toolComponentName
)
if
(
val
)
{
this
.
selectedTradeData
=
val
}
}
}
}
</
script
>
...
...
@@ -110,4 +109,4 @@ export default {
font-size
:
toRpx
(
34
);
}
}
</
style
>
\ No newline at end of file
</
style
>
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