Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_admin
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
quanku
qk_admin
Commits
18177149
Commit
18177149
authored
Dec 15, 2023
by
yaya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 时间线优化
parent
a7d1e13d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
6 deletions
+16
-6
src/views/consign/consignDetail.vue
src/views/consign/consignDetail.vue
+16
-6
No files found.
src/views/consign/consignDetail.vue
View file @
18177149
...
...
@@ -68,12 +68,12 @@
<
span
style
=
"
font-weight: bold
"
>
寄售单时间线
<
/span
>
<
/div
>
<
div
style
=
"
height: calc(100vh - 280px)
"
>
<
el
-
steps
:
active
=
"
1
"
direction
=
"
vertical
"
finish
-
status
=
"
success
"
>
<
el
-
steps
:
active
=
"
1
"
direction
=
"
vertical
"
>
<
el
-
step
v
-
for
=
"
item
in consignSaleRecordVoList
"
:
key
=
"
i
tem.content + item.createTime
"
v
-
for
=
"
(item, indexNumber)
in consignSaleRecordVoList
"
:
key
=
"
i
ndexNumber
"
:
title
=
"
item.content
"
:
description
=
"
item.createTime
"
/>
:
description
=
"
(item.remark ? item.remark + '
\n
' : '' ) +
item.createTime
"
/>
<
/el-steps
>
<
/div
>
<
/el-card
>
...
...
@@ -141,9 +141,9 @@
title
=
"
完成寄售
"
>
<
el
-
form
ref
=
"
finish
"
:
model
=
"
finishForm
"
:
rules
=
"
finishRules
"
>
<
el
-
form
-
item
label
=
"
成交金额
"
label
-
width
=
"
80px
"
prop
=
"
dealPrice
"
>
<
el
-
input
-
number
v
-
model
=
"
finishForm.dealPrice
"
style
=
"
width: 400px
"
maxlength
=
"
10
"
type
=
"
number
"
placeholder
=
"
请输入成交金额
"
>
<
el
-
input
v
-
model
=
"
finishForm.dealPrice
"
style
=
"
width: 400px
"
maxlength
=
"
10
"
type
=
"
number
"
placeholder
=
"
请输入成交金额
"
>
<
template
slot
=
"
append
"
>
元
<
/template
>
<
/el-input
-number
>
<
/el-input
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
成交平台
"
label
-
width
=
"
80px
"
prop
=
"
remark
"
>
<
el
-
input
v
-
model
=
"
finishForm.remark
"
style
=
"
width: 400px
"
maxlength
=
"
10
"
placeholder
=
"
请输入成交平台
"
/>
...
...
@@ -326,6 +326,12 @@ export default {
if
(
response
.
data
.
data
.
consignSaleRecordVoList
)
{
this
.
consignSaleRecordVoList
=
response
.
data
.
data
.
consignSaleRecordVoList
.
reverse
()
}
this
.
$nextTick
(()
=>
{
var
x
=
document
.
querySelectorAll
(
'
.el-step__icon-inner
'
)
x
.
forEach
((
item
,
index
)
=>
{
item
.
innerHTML
=
x
.
length
-
index
}
)
}
)
}
)
.
catch
(
response
=>
{
if
(
loading
)
{
...
...
@@ -468,6 +474,10 @@ export default {
<
/script
>
<
style
lang
=
"
scss
"
scoped
>
/deep/
.
el
-
step__description
{
white
-
space
:
pre
-
wrap
;
}
.
page_consignDetail
{
padding
:
0
20
px
20
px
;
...
...
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