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
caoyan
7 years ago
Commit
bdabcdb99adcb46962db187573e60f46c69e01f4
1 parent
e79e1484
订单管理
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
13 deletions
dal/src/main/resources/META-INF/mybatis/BuyerOrderMapper.xml
web/src/main/webapp/html/judgeCenter/list.html
dal/src/main/resources/META-INF/mybatis/BuyerOrderMapper.xml
View file @
bdabcdb
...
...
@@ -85,7 +85,7 @@
<select
id=
"selectByCondition"
resultMap=
"BaseResultMap"
parameterType=
"com.yoho.order.model.BuyerOrderReq"
>
select a.*
from buyer_order a
<if
test=
"(buyerOrderReq.productId != null) or (buyerOrderReq.storageId != null) or (buyerOrderReq.skup != null)"
>
<if
test=
"(buyerOrderReq.
depotNo != null) or (buyerOrderReq.
productId != null) or (buyerOrderReq.storageId != null) or (buyerOrderReq.skup != null)"
>
LEFT JOIN buyer_order_goods b
ON( b.order_code=a.order_code)
LEFT JOIN seller_order_goods c
...
...
web/src/main/webapp/html/judgeCenter/list.html
View file @
bdabcdb
...
...
@@ -10,11 +10,11 @@
<script>
document
.
write
(
addHead
(
'鉴定中心'
,
'列表管理'
));
</script>
<div
style=
"margin-left:1200px"
>
<select
id=
"depotNo"
style=
"width:70px;"
>
<option
value=
"1"
selected
>
北京
</option>
<div
style=
"width:1280px;"
>
<select
id=
"depotNo"
class=
"easyui-combobox"
style=
"width:70px;"
>
<option
value=
"1"
>
北京
</option>
<option
value=
"2"
>
南京
</option>
</select>
</select>
</div>
<div
id=
"tt"
class=
"easyui-tabs"
>
<div
title=
"待鉴定"
style=
"padding:20px;display:none;"
>
...
...
@@ -97,11 +97,13 @@
</div>
<script>
$
(
function
()
{
$
(
"#depotNo"
).
combobox
({
on
c
hange
:
function
(
newValue
,
oldValue
){
on
C
hange
:
function
(
newValue
,
oldValue
){
var
depotNo
=
$
(
"#depotNo"
).
combobox
(
"getValue"
);
alert
(
depotNo
);
$
(
"#orderListTable"
).
datagrid
(
"load"
,
{
statusStr
:
"2,3"
,
depotNo
:
depotNo
});
}
});
...
...
@@ -118,7 +120,7 @@ $(function() {
skup
:
$
(
"#skup_0"
).
val
(),
sellerWaybillCode
:
$
(
"#sellerWaybillCode_0"
).
val
(),
mobile
:
$
(
"#mobile_0"
).
val
(),
depotNo
:
$
(
"#depotNo"
).
myC
ombobox
(
"getValue"
)
depotNo
:
$
(
"#depotNo"
).
c
ombobox
(
"getValue"
)
});
}
});
...
...
@@ -134,7 +136,8 @@ $(function() {
storageId
:
$
(
"#sku_1"
).
val
(),
skup
:
$
(
"#skup_1"
).
val
(),
sellerWaybillCode
:
$
(
"#sellerWaybillCode_1"
).
val
(),
mobile
:
$
(
"#mobile_1"
).
val
()
mobile
:
$
(
"#mobile_1"
).
val
(),
depotNo
:
$
(
"#depotNo"
).
combobox
(
"getValue"
)
});
}
})
...
...
@@ -164,6 +167,7 @@ $(function() {
$
(
"#skup_0"
).
textbox
(
'setValue'
,
''
);
$
(
"#orderListTable"
).
datagrid
(
"load"
,
{
statusStr
:
"2,3"
,
depotNo
:
$
(
"#depotNo"
).
combobox
(
"getValue"
)
});
}
});
...
...
@@ -181,6 +185,7 @@ $(function() {
$
(
"#skup_1"
).
textbox
(
'setValue'
,
''
);
$
(
"#orderListTable"
).
datagrid
(
"load"
,
{
statusStr
:
"4,13"
,
depotNo
:
$
(
"#depotNo"
).
combobox
(
"getValue"
)
});
}
});
...
...
@@ -195,7 +200,8 @@ function getToBeJudgedList(){
url
:
contextPath
+
"/buyerOrder/queryOrderList"
,
method
:
'POST'
,
queryParams
:
{
statusStr
:
"2,3"
statusStr
:
"2,3"
,
depotNo
:
$
(
"#depotNo"
).
combobox
(
"getValue"
)
},
loadFilter
:
function
(
data
)
{
var
temp
=
defaultLoadFilter
(
data
);
...
...
@@ -314,7 +320,6 @@ function getToBeJudgedList(){
}
function
getAlreadyJudgedList
(){
var
depotNo
=
$
(
"#depotNo"
).
myCombobox
(
"getValue"
);
$
(
"#orderListTable"
).
myDatagrid
({
fit
:
true
,
fitColumns
:
true
,
...
...
@@ -323,7 +328,7 @@ function getAlreadyJudgedList(){
method
:
'POST'
,
queryParams
:
{
statusStr
:
"4,13"
,
depotNo
:
depotNo
depotNo
:
$
(
"#depotNo"
).
combobox
(
"getValue"
)
},
loadFilter
:
function
(
data
)
{
var
temp
=
defaultLoadFilter
(
data
);
...
...
Please
register
or
login
to post a comment