Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ufo
/
ufo-platform
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
LUOXC
5 years ago
Commit
705b92e4f3d958c85c1f39e8f0108079332e92a6
1 parent
c900fda4
refactor
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
web/src/main/webapp/html/orderManage/list.html
web/src/main/webapp/html/orderManage/list.html
View file @
705b92e
...
...
@@ -80,6 +80,7 @@
<option
value=
"23"
>
已取消(商品无法鉴定)
</option>
<option
value=
"24"
>
清关失败(平台原因)
</option>
<option
value=
"25"
>
清关失败(买家原因)
</option>
<option
value=
"26"
>
已取消(卖家无法发货)
</option>
<option
value=
"91"
>
商品检测不通过
</option>
<option
value=
"40"
>
已取消(寄存转现货)
</option>
<option
value=
"41"
>
已取消(刷单取消)
</option>
...
...
@@ -362,11 +363,11 @@ function getOrderList(){
align
:
"center"
,
formatter
:
function
(
value
,
rowData
,
rowIndex
)
{
var
buttons
=
''
;
var
cancelButtons
=
[];
buttons
+=
"<a role='detail' dataId='"
+
rowData
.
orderCode
+
"' skup='"
+
rowData
.
skup
+
"' style='margin-left:10px;background-color: #5cb85c !important;'>详情</a>"
;
// 卖家已发货
if
(
rowData
.
status
==
2
){
buttons
+=
"<a role='cancelOrder' dataId='"
+
rowData
.
orderCode
+
"' style='margin-left:10px;color:white;background-color: #D31225 !important;'>取消订单</a>"
;
cancelButtons
.
push
(
"<a role='cancelOrder' dataId='"
+
rowData
.
orderCode
+
"' style='margin-left:10px;color:white;background-color: #D31225 !important;'>取消订单</a>"
)
if
(
abnormalDeliveryTab
&&
(
1
!=
rowData
.
sellerDeliveryDeal
)){
if
(
12
==
navStatus
){
buttons
+=
"<a role='sellerDeliveryDealOrder' dataId='"
+
rowData
.
orderCode
+
"' style='margin-left:10px;color:white;background-color: #5bc0de !important;'>处理</a>"
;
...
...
@@ -380,10 +381,16 @@ function getOrderList(){
buttons
+=
"<a role='settleFail' dataId='"
+
rowData
.
orderCode
+
"' style='margin-left:10px;color:white;background-color: #D31225 !important;'>清关失败</a>"
;
}
if
(
rowData
.
attributes
==
1
&&
rowData
.
region
==
0
&&
(
rowData
.
status
==
1
||
rowData
.
status
==
2
||
rowData
.
status
==
31
||
rowData
.
status
==
32
)){
buttons
+=
"<a role='cancelBuyerOrderClickFarm' dataId='"
+
rowData
.
orderCode
+
"' style='margin-left:10px;color:white;background-color:#fadb14 !important;'>取消刷单</a>"
;
cancelButtons
.
push
(
"<a role='cancelBuyerOrderClickFarm' dataId='"
+
rowData
.
orderCode
+
"' style='margin-left:10px;color:white;background-color:#fadb14 !important;'>取消刷单</a>"
)
;
}
if
(
rowData
.
status
==
1
){
buttons
+=
"<a role='cancelOrder' dataId='"
+
rowData
.
orderCode
+
"' cancelType='2' style='margin-left:10px;color:white;background-color: #D31225 !important;'>卖家无法发货</a>"
;
cancelButtons
.
push
(
"<a role='cancelOrder' dataId='"
+
rowData
.
orderCode
+
"' cancelType='2' style='margin-left:10px;color:white;background-color: #D31225 !important;'>卖家无法发货</a>"
)
}
if
(
cancelButtons
.
length
>
0
){
buttons
+=
'<a href="#" class="easyui-menubutton" data-options="menu:\'#cancelButtons\',iconCls:\'icon-cancel\'">取消</a>'
;
buttons
+=
'<div id="cancelButtons" style="width:150px;">'
;
buttons
+=
cancelButtons
.
join
(
""
);
buttons
+=
'</div>'
;
}
return
buttons
;
}
...
...
Please
register
or
login
to post a comment