Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
rs-cloud-platform-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
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
周健威
rs-cloud-platform-ui
Commits
8ad5ab43
Commit
8ad5ab43
authored
Jan 20, 2021
by
rencs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update index.vue
parent
350eaf52
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
117 deletions
+13
-117
index.vue
src/views/orderManagement/orderList/index.vue
+13
-117
No files found.
src/views/orderManagement/orderList/index.vue
View file @
8ad5ab43
...
@@ -108,11 +108,7 @@
...
@@ -108,11 +108,7 @@
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-button
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleFilter"
type=
"primary"
plain
@
click=
"handleFilter"
icon=
"el-icon-search"
>
筛选
</el-button
>
筛选
</el-button
>
>
<el-button
type=
"primary"
plain
@
click=
"clear_search"
<el-button
type=
"primary"
plain
@
click=
"clear_search"
...
@@ -583,6 +579,7 @@ export default {
...
@@ -583,6 +579,7 @@ export default {
times
:
[],
// 时间
times
:
[],
// 时间
list
:
[],
list
:
[],
total
:
0
,
total
:
0
,
BASE_API
:
process
.
env
.
BASE_API
,
orderSendDetailVisible
:
false
,
// 查看弹窗
orderSendDetailVisible
:
false
,
// 查看弹窗
sendVisible
:
false
,
// 发货弹窗
sendVisible
:
false
,
// 发货弹窗
oneRow
:
{},
// 当前操作项
oneRow
:
{},
// 当前操作项
...
@@ -752,111 +749,6 @@ export default {
...
@@ -752,111 +749,6 @@ export default {
this
.
oneRow
=
row
;
this
.
oneRow
=
row
;
this
.
selectDataVisible
=
true
;
this
.
selectDataVisible
=
true
;
},
},
/**
* 商品品牌列表
*/
getList
()
{
let
_this
=
this
;
this
.
listLoading
=
true
;
if
(
this
.
times
.
length
>
0
)
{
this
.
listQuery
.
startTime
=
this
.
times
[
0
];
this
.
listQuery
.
endTime
=
this
.
times
[
1
];
}
getOrderList
(
this
.
listQuery
).
then
((
response
)
=>
{
let
a
=
response
.
data
.
data
;
a
.
map
(
function
(
item
)
{
if
(
item
.
orderItemList
)
{
item
.
orderItemList
.
map
(
function
(
iitem
)
{
iitem
.
detailJson
=
iitem
.
detailJson
?
JSON
.
parse
(
iitem
.
detailJson
)
:
{};
if
(
iitem
.
type
==
2
)
{
// 影像图库-尺寸
iitem
.
fileWidth
=
iitem
.
detailJson
.
imageInfoRelationList
&&
iitem
.
detailJson
.
imageInfoRelationList
.
length
>
0
?
iitem
.
detailJson
.
imageInfoRelationList
[
0
].
fileWidth
:
""
;
}
if
(
iitem
.
type
==
3
)
{
// 行业应用-类别
iitem
.
firstTitle
=
iitem
.
detailJson
.
firstTitle
?
iitem
.
detailJson
.
firstTitle
:
""
;
}
if
(
iitem
.
type
==
1
)
{
// 标准数据
iitem
.
imageResolutionStr
=
iitem
.
detailJson
.
imageResolution
?
iitem
.
detailJson
.
imageResolution
.
replace
(
/{/g
,
""
)
:
""
;
iitem
.
imageResolutionStr
=
iitem
.
imageResolutionStr
?
iitem
.
imageResolutionStr
.
replace
(
/}/g
,
""
)
:
""
;
}
});
}
if
(
item
.
customerJson
)
{
item
.
customerJson
=
JSON
.
parse
(
item
.
customerJson
);
item
.
customerJson
.
startTimeStr
=
timestamp2DateAuto
(
item
.
customerJson
.
startTime
,
"yyyy-MM-dd"
);
item
.
customerJson
.
endTimeStr
=
timestamp2DateAuto
(
item
.
customerJson
.
endTime
,
"yyyy-MM-dd"
);
}
});
});
},
/**
* 选择数据-关闭弹窗
*/
selectDataEvent
(
e
)
{
if
(
e
)
{
this
.
getList
();
}
this
.
selectDataVisible
=
false
;
},
/**
* 查看
*/
handleSee
(
row
)
{
this
.
oneRow
=
row
;
this
.
orderSendDetailVisible
=
true
;
},
/**
* 发货弹窗关闭
*/
sendEvent
(
e
)
{
if
(
e
)
{
this
.
getList
();
}
this
.
sendVisible
=
false
;
},
/**
* 开票发货
*/
handleInvoice
(
row
)
{
this
.
oneRow
=
row
;
this
.
title
=
"发票发货"
;
this
.
sendVisible
=
true
;
},
/**
* 发货
*/
handleSend
(
row
)
{
this
.
oneRow
=
row
;
this
.
title
=
"订单发货"
;
this
.
sendVisible
=
true
;
},
/**
* 选择数据
*/
handleData
(
row
)
{
this
.
oneRow
=
row
;
this
.
selectDataVisible
=
true
;
},
/**
/**
* 商品品牌列表
* 商品品牌列表
*/
*/
...
@@ -891,12 +783,14 @@ export default {
...
@@ -891,12 +783,14 @@ export default {
}
}
if
(
iitem
.
type
==
1
)
{
if
(
iitem
.
type
==
1
)
{
// 标准数据
// 标准数据
iitem
.
imageResolutionStr
=
iitem
.
detailJson
.
imageResolution
iitem
.
itemPic
=
?
iitem
.
detailJson
.
imageResolution
.
replace
(
/{/g
,
""
)
_this
.
BASE_API
+
:
""
;
"/api/datacenter/web/gtdata/app/unauth/image/"
+
iitem
.
imageResolutionStr
=
iitem
.
imageResolutionStr
iitem
.
detailJson
.
thumbnailPath
+
?
iitem
.
imageResolutionStr
.
replace
(
/}/g
,
""
)
"_98_98.jpg"
;
:
""
;
iitem
.
imageResolutionStr
=
iitem
.
detailJson
.
imageResolution
.
toString
();
// iitem.imageResolutionStr = iitem.detailJson.imageResolution?iitem.detailJson.imageResolution.replace(/{/g, ""):''
// iitem.imageResolutionStr = iitem.imageResolutionStr?iitem.imageResolutionStr.replace(/}/g, ""):''
}
}
});
});
}
}
...
@@ -965,7 +859,9 @@ export default {
...
@@ -965,7 +859,9 @@ export default {
align-items
:
center
;
align-items
:
center
;
height
:
45px
;
height
:
45px
;
label
{
label
{
color
:
#444444
;
justify-content
:
center
;
text-align
:
center
;
color
:
#3f3f3f
;
font-size
:
15px
;
font-size
:
15px
;
font-weight
:
600
;
font-weight
:
600
;
display
:
flex
;
display
:
flex
;
...
...
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