Authored by mali

订单详情加视频链接

... ... @@ -2410,6 +2410,8 @@ public class BuyerOrderServiceImpl implements IBuyerOrderService, ApplicationCon
completeDepositInfo(resp, orderCode); //补充寄存信息
resp.setVedioUrl(getVedioUrl(buyerOrder.getOrderCode()));
return resp;
}
... ...
... ... @@ -58,6 +58,7 @@
<tr>
<td><label>订单类型:</label><span id="preSellOrNormal"></span></td>
<td><label>促销活动:</label><span id="activityType"></span></td>
<td><label>鉴定视频:</label><a href="javascript:void(0)" vedioUrl="" onclick="queryVedioUrl();" id="vedioUrl">查看视频</a></td>
</tr>
</table>
... ... @@ -442,6 +443,11 @@ function getOrderInfo(orderCode){
$("#platformSendGoodsTime").html(result.data.platformSendGoodsTime);
$("#platformWaybillCode").html(result.data.platformWaybillCode);
$("#receiveGoodsTime").html(result.data.receiveGoodsTime);
if (!result.data.vedioUrl || result.data.vedioUrl == '') {
$('#vedioUrl').hide();
} else {
$("#vedioUrl").attr('vedioUrl', result.data.vedioUrl);
}
var depotNo = result.data.depotNo;
var depotName = "";
if(0 == depotNo){
... ... @@ -557,6 +563,11 @@ function getOrderInfo(orderCode){
});
}
function queryVedioUrl() {
window.open($('#vedioUrl').attr('vedioUrl') + "?ver=" + new Date().getTime())
}
function initAreaDropDown(areaCode){
var firstId = areaCode.substr(0,2);
var secondId = areaCode.substr(0,4);
... ...