|
|
@ -38,10 +38,10 @@ |
|
|
|
<input type="hidden" id="deliveryGoods" name="deliveryGoods"><!-- 用于保存商品json --> |
|
|
|
</div> |
|
|
|
|
|
|
|
<script src="/js/jquery.js"></script> |
|
|
|
<script> |
|
|
|
<?php |
|
|
|
$js = <<<SCRIPT |
|
|
|
//初始化订单商品数据
|
|
|
|
var data = <?= $deliveryGoods ?>;
|
|
|
|
var data = $deliveryGoods ; |
|
|
|
console.log(data); |
|
|
|
var unShipped = {}; |
|
|
|
function init() { |
|
|
@ -82,7 +82,7 @@ |
|
|
|
'<th>商品名称</th>' + |
|
|
|
'<th>商品sku</th>' + |
|
|
|
'<th>发货数量</th>' + |
|
|
|
'</tr>\n' + |
|
|
|
'</tr>' + |
|
|
|
'</table>'; |
|
|
|
// var div = document.createElement('div');
|
|
|
|
// div.innerText = '运单号:' + item.logisticInfo.invoice_no + '快递公司:'+ item.logisticInfo.exp_name;
|
|
|
@ -127,5 +127,9 @@ |
|
|
|
$(ref).hide(); |
|
|
|
$(ref).prev().show(); |
|
|
|
} |
|
|
|
</script> |
|
|
|
SCRIPT; |
|
|
|
|
|
|
|
$this->registerJs($js); |
|
|
|
?>
|
|
|
|
|
|
|
|
|