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
b671178f
Commit
b671178f
authored
Oct 07, 2022
by
我在何方
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab.jdshangmen.com/jiedao-app/jiedao-app-operator
into dev
parents
b20b4bb0
91bec0ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
4 deletions
+16
-4
associatedOrder.vue
src/views/ecw/order/associatedOrder.vue
+1
-1
index.vue
src/views/ecw/productPrice/index.vue
+15
-3
No files found.
src/views/ecw/order/associatedOrder.vue
View file @
b671178f
...
...
@@ -69,7 +69,7 @@
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
操作
"
>
<
template
v
-
slot
:
default
=
'
scope
'
>
<
el
-
button
type
=
"
text
"
@
click
=
"
guanlianOrderByOrderId(scope.row.
o
rderId)
"
>
<
el
-
button
type
=
"
text
"
@
click
=
"
guanlianOrderByOrderId(scope.row.
relateO
rderId)
"
>
移出
<
/el-button
>
<
/template
>
...
...
src/views/ecw/productPrice/index.vue
View file @
b671178f
...
...
@@ -336,9 +336,21 @@ export default {
// 根据状态获取状态名称 ,这个应该可以改成字典,目前接口缺少相关数据,待定
statusName
()
{
return
row
=>
{
if
(
row
.
blacklist
)
return
'
黑名单
'
;
if
(
row
.
auditStatus
===
AuditStatusEnum
.
PASS
)
return
'
已审核
'
;
return
'
已下架
'
;
//判断价格是否过期
let
validateStartDate
=
row
.
validateStartDate
;
let
validateEndDate
=
row
.
validateEndDate
;
let
notSetPrice
=
false
;
let
nowDate
=
new
Date
().
getTime
();
if
(
validateStartDate
&&
validateStartDate
>
nowDate
)
{
notSetPrice
=
true
;
}
if
(
validateEndDate
&&
validateEndDate
<
nowDate
)
{
notSetPrice
=
true
;
}
let
setPriceText
=
notSetPrice
?
'
(未设置价格)
'
:
''
;
if
(
row
.
blacklist
)
return
'
黑名单
'
+
setPriceText
;
if
(
row
.
auditStatus
===
AuditStatusEnum
.
PASS
)
return
'
已审核
'
+
setPriceText
;
return
'
已下架
'
+
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