Showing
1 changed file
with
18 additions
and
9 deletions
@@ -292,10 +292,13 @@ function getToBeJudgedList(){ | @@ -292,10 +292,13 @@ function getToBeJudgedList(){ | ||
292 | if (rowData.status == 2) { | 292 | if (rowData.status == 2) { |
293 | return "<a role='confirm' dataId='"+ rowData.id +"' style='margin-left:10px;background-color: #5cb85c !important;'>确认收货</a>"; | 293 | return "<a role='confirm' dataId='"+ rowData.id +"' style='margin-left:10px;background-color: #5cb85c !important;'>确认收货</a>"; |
294 | } else if (rowData.status == 3) { | 294 | } else if (rowData.status == 3) { |
295 | - return "<a role='pass' dataId='"+ rowData.id + "'" + " orderCode='"+rowData.orderCode +"' style='margin-left:10px;background-color: #5cb85c !important;'>鉴定通过</a>"+ | ||
296 | - "<a role='reject' dataId='"+ rowData.id + "'" + " skup='"+rowData.skup +"' style='margin-left:10px;background-color: #d9534f !important;'>鉴定不通过</a>"+ | ||
297 | - "<a role='query' dataId='"+ rowData.id + "' order_code='" + rowData.orderCode + "' skup='"+rowData.skup +"' style='margin-left:10px;background-color: #5cb85c !important;'>查看视频</a>"+ | 295 | + var operateButton = "<a role='pass' dataId='"+ rowData.id + "'" + " orderCode='"+rowData.orderCode +"' style='margin-left:10px;background-color: #5cb85c !important;'>鉴定通过</a>"+ |
296 | + "<a role='reject' dataId='"+ rowData.id + "'" + " skup='"+rowData.skup +"' style='margin-left:10px;background-color: #d9534f !important;'>鉴定不通过</a>"+ | ||
298 | "<a role='record' dataId='"+ rowData.id + "' order_code='" + rowData.orderCode + "' skup='"+rowData.skup +"' style='margin-left:10px;background-color: #5cb85c !important;'>录制视频</a>"; | 297 | "<a role='record' dataId='"+ rowData.id + "' order_code='" + rowData.orderCode + "' skup='"+rowData.skup +"' style='margin-left:10px;background-color: #5cb85c !important;'>录制视频</a>"; |
298 | + if (rowData.containMp4Flag) { | ||
299 | + operateButton += "<a role='query' dataId='"+ rowData.id + "' order_code='" + rowData.orderCode + "' skup='"+rowData.skup +"' style='margin-left:10px;background-color: #5cb85c !important;'>查看视频</a>"; | ||
300 | + } | ||
301 | + return operateButton; | ||
299 | } else if (rowData.status == 17) { | 302 | } else if (rowData.status == 17) { |
300 | if(rowData.platformWaybillCode){ | 303 | if(rowData.platformWaybillCode){ |
301 | return "<a role='send_back_rebackAddress' dataId='"+ rowData.orderCode +"' skup='"+ rowData.skup +"' style='margin-left:10px;background-color: #5cb85c !important;'>商品寄回地址</a>" | 304 | return "<a role='send_back_rebackAddress' dataId='"+ rowData.orderCode +"' skup='"+ rowData.skup +"' style='margin-left:10px;background-color: #5cb85c !important;'>商品寄回地址</a>" |
@@ -482,15 +485,21 @@ function getAlreadyJudgedList(){ | @@ -482,15 +485,21 @@ function getAlreadyJudgedList(){ | ||
482 | width: 40, | 485 | width: 40, |
483 | align: "center", | 486 | align: "center", |
484 | formatter: function (value, rowData, rowIndex) { | 487 | formatter: function (value, rowData, rowIndex) { |
488 | + var operateButton = ''; | ||
485 | if (rowData.status == 4) {//鉴定通过 | 489 | if (rowData.status == 4) {//鉴定通过 |
486 | - return "<a role='buyerReceiveInfo' dataId='"+ rowData.orderCode +"' style='margin-left:10px;background-color: #5cb85c !important;'>买家收货地址</a>" + | ||
487 | - "<a role='viewExpress' dataId='"+ rowData.orderCode +"' style='margin-left:10px;background-color: #5cb85c !important;'>查看物流</a>"+ | ||
488 | - "<a role='queryForSuccess' dataId='"+ rowData.id + "' order_code='" + rowData.orderCode + "' skup='"+rowData.skup +"' style='margin-left:10px;background-color: #5cb85c !important;'>查看视频</a>"; | 490 | + operateButton += "<a role='buyerReceiveInfo' dataId='"+ rowData.orderCode +"' style='margin-left:10px;background-color: #5cb85c !important;'>买家收货地址</a>" + |
491 | + "<a role='viewExpress' dataId='"+ rowData.orderCode +"' style='margin-left:10px;background-color: #5cb85c !important;'>查看物流</a>"; | ||
492 | + if (rowData.containMp4Flag) { | ||
493 | + operateButton += "<a role='queryForSuccess' dataId='"+ rowData.id + "' order_code='" + rowData.orderCode + "' skup='"+rowData.skup +"' style='margin-left:10px;background-color: #5cb85c !important;'>查看视频</a>"; | ||
494 | + } | ||
489 | } else if (rowData.status == 13) {//鉴定不通过 | 495 | } else if (rowData.status == 13) {//鉴定不通过 |
490 | - return "<a role='rebackAddress' dataId='"+ rowData.orderCode +"' skup='"+ rowData.skup +"' style='margin-left:10px;background-color: #5cb85c !important;'>商品寄回地址</a>"+ | ||
491 | - "<a role='viewExpress' dataId='"+ rowData.orderCode + "' style='margin-left:10px;background-color: #5cb85c !important;'>查看物流</a>"+ | ||
492 | - "<a role='queryForSuccess' dataId='"+ rowData.id + "' order_code='" + rowData.orderCode + "' skup='"+rowData.skup +"' style='margin-left:10px;background-color: #5cb85c !important;'>查看视频</a>"; | 496 | + operateButton += "<a role='rebackAddress' dataId='"+ rowData.orderCode +"' skup='"+ rowData.skup +"' style='margin-left:10px;background-color: #5cb85c !important;'>商品寄回地址</a>"+ |
497 | + "<a role='viewExpress' dataId='"+ rowData.orderCode + "' style='margin-left:10px;background-color: #5cb85c !important;'>查看物流</a>"; | ||
498 | + if (rowData.containMp4Flag) { | ||
499 | + operateButton += "<a role='queryForSuccess' dataId='"+ rowData.id + "' order_code='" + rowData.orderCode + "' skup='"+rowData.skup +"' style='margin-left:10px;background-color: #5cb85c !important;'>查看视频</a>"; | ||
500 | + } | ||
493 | } | 501 | } |
502 | + return operateButton; | ||
494 | } | 503 | } |
495 | }]], | 504 | }]], |
496 | cache: false, | 505 | cache: false, |
-
Please register or login to post a comment