Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
33a872f3
Commit
33a872f3
authored
Dec 30, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
价格过期标红
parent
9a51fa7e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
index.vue
src/views/ecw/productPrice/index.vue
+3
-2
No files found.
src/views/ecw/productPrice/index.vue
View file @
33a872f3
...
@@ -192,6 +192,7 @@
...
@@ -192,6 +192,7 @@
<
template
slot
-
scope
=
"
scope
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
div
>
<
div
>
{{
statusName
(
scope
.
row
)
}}
{{
statusName
(
scope
.
row
)
}}
<
span
style
=
"
color:red
"
v
-
if
=
"
(scope.row.validateStartDate && scope.row.validateStartDate > Date.now()) || (scope.row.validateEndDate && scope.row.validateEndDate < Date.now())
"
>
(
已过期
)
<
/span
>
<
/div
>
<
/div
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
...
@@ -382,8 +383,8 @@ export default {
...
@@ -382,8 +383,8 @@ export default {
notSetPrice
=
true
;
notSetPrice
=
true
;
}
}
let
setPriceText
=
notSetPrice
?
'
(
'
+
this
.
$t
(
'
已过期
'
)
+
'
)
'
:
''
;
let
setPriceText
=
notSetPrice
?
'
(
'
+
this
.
$t
(
'
已过期
'
)
+
'
)
'
:
''
;
if
(
row
.
blacklist
)
return
this
.
$t
(
'
黑名单
'
)
+
setPriceText
;
if
(
row
.
blacklist
)
return
this
.
$t
(
'
黑名单
'
)
//
+ setPriceText;
if
(
row
.
auditStatus
===
AuditStatusEnum
.
PASS
)
return
this
.
$t
(
'
已上架
'
)
+
setPriceText
;
if
(
row
.
auditStatus
===
AuditStatusEnum
.
PASS
)
return
this
.
$t
(
'
已上架
'
)
//
+ setPriceText;
return
this
.
$t
(
'
已下架
'
)
+
setPriceText
;
return
this
.
$t
(
'
已下架
'
)
+
setPriceText
;
}
}
}
,
}
,
...
...
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