Authored by qinchao

fix bug

@@ -279,7 +279,7 @@ function getToBeJudgedList(){ @@ -279,7 +279,7 @@ function getToBeJudgedList(){
279 return "<a role='pass' dataId='"+ rowData.id + "'" + " orderCode='"+rowData.orderCode +"' style='margin-left:10px;background-color: #5cb85c !important;'>鉴定通过</a>"+ 279 return "<a role='pass' dataId='"+ rowData.id + "'" + " orderCode='"+rowData.orderCode +"' style='margin-left:10px;background-color: #5cb85c !important;'>鉴定通过</a>"+
280 "<a role='reject' dataId='"+ rowData.id + "'" + " skup='"+rowData.skup +"' style='margin-left:10px;background-color: #d9534f !important;'>鉴定不通过</a>"; 280 "<a role='reject' dataId='"+ rowData.id + "'" + " skup='"+rowData.skup +"' style='margin-left:10px;background-color: #d9534f !important;'>鉴定不通过</a>";
281 } else if (rowData.status == 17) { 281 } else if (rowData.status == 17) {
282 - return "<a role='reback' dataId='"+ rowData.id + "'" + " orderCode='"+rowData.orderCode +"' style='margin-left:10px;background-color: #5cb85c !important;'>寄回</a>"; 282 + return "<a role='reback' dataId='"+ rowData.id + "'" + " skup='"+rowData.skup +"' style='margin-left:10px;background-color: #5cb85c !important;'>寄回</a>";
283 } 283 }
284 } 284 }
285 }]], 285 }]],
@@ -330,8 +330,8 @@ function getToBeJudgedList(){ @@ -330,8 +330,8 @@ function getToBeJudgedList(){
330 330
331 $(this).datagrid("getPanel").find("a[role='reback']").linkbutton({ 331 $(this).datagrid("getPanel").find("a[role='reback']").linkbutton({
332 onClick: function () { 332 onClick: function () {
333 - var buyerOrderCode = $(this).attr("orderCode");  
334 - $("#buyerOrderCode").val(buyerOrderCode); 333 + var skup = $(this).attr("skup");
  334 + $("#skup").val(skup);
335 addRebackPage($(this).attr("dataId")); 335 addRebackPage($(this).attr("dataId"));
336 } 336 }
337 }); 337 });