Authored by Lixiaodi

bug修改

... ... @@ -241,6 +241,9 @@ public class AppraiseOrderServiceImpl implements IAppraiseOrderService{
List<Map<String, Object>> countInfo = appraiseOrderMapper.selectCountInfo(orderCode);
int count = 0;
for (Map<String, Object> record : countInfo) {
if (record.get("status") == null) {
continue;
}
int c = ((Number) record.get("num")).intValue();
count += c;
if (record.get("status").toString().equals(Integer.toString(AppraiseOrderStatus.JUDGE_PASS.getCode()))) {
... ...
... ... @@ -279,7 +279,7 @@
url: contextPath + "/buyerOrder/queryExpressList",
method: 'POST',
queryParams: {
orderCode: orderCode,
orderCode: pOrderCode,
expressTypeStr: "1"
},
loadFilter: function (data) {
... ...
... ... @@ -44,6 +44,7 @@
</div>
<script type="text/javascript">
var pOrderCode;
var orderCode;
var uid;
function viewOrder(orderCode) {
... ... @@ -164,7 +165,7 @@
$(this).myDatagrid("getPanel").find("a[role='view']").linkbutton({
iconCls: "icon-edit",
onClick: function () {
orderCode = $(this).attr("dataId");
pOrderCode = orderCode = $(this).attr("dataId");
uid = $(this).attr("uid");
viewDetail();
}
... ... @@ -172,7 +173,7 @@
$(this).myDatagrid("getPanel").find("a[role='cancel']").linkbutton({
iconCls: "icon-edit",
onClick: function () {
orderCode = $(this).attr("dataId");
pOrderCode = orderCode = $(this).attr("dataId");
cancelParent(orderCode);
}
});
... ...