Authored by linlong

update

@@ -23,11 +23,13 @@ @@ -23,11 +23,13 @@
23 <p>SKC: [[item.productSkc]]</p> 23 <p>SKC: [[item.productSkc]]</p>
24 <p>[[item.goodsName]]</p> 24 <p>[[item.goodsName]]</p>
25 <p>[[item.factoryGoodsName || '']]</p> 25 <p>[[item.factoryGoodsName || '']]</p>
26 - <p>SKU:  
27 - [[each item.goodsSizeList as item2 index2]]  
28 - [[item2.productSku || '']]  
29 - [[/each]]  
30 - </p> 26 + <table><tr>
  27 + <td valign='top'>SKU:</td>
  28 + <td>
  29 + [[each item.goodsSizeList as item2 index2]]
  30 + [[item2.productSku || '']]
  31 + [[/each]]</td>
  32 + </tr></table>
31 </div> 33 </div>
32 <div class="cover-color">颜色封面:</div> 34 <div class="cover-color">颜色封面:</div>
33 </div> 35 </div>
@@ -507,6 +507,9 @@ GOLABDATA.on("fenmian", function () { @@ -507,6 +507,9 @@ GOLABDATA.on("fenmian", function () {
507 }); 507 });
508 //if (map.goodsImagesBoList.length == 0) return; 508 //if (map.goodsImagesBoList.length == 0) return;
509 map.goodsImagesBoList = JSON.stringify(map.goodsImagesBoList); 509 map.goodsImagesBoList = JSON.stringify(map.goodsImagesBoList);
  510 + if(typeof(map.productSkc) == "undefined"){
  511 + return '<p>请设置商品默认封面</p>';
  512 + }
510 if (errorMsg != '') { 513 if (errorMsg != '') {
511 return { 514 return {
512 "goodsImagesReq": JSON.stringify(map) 515 "goodsImagesReq": JSON.stringify(map)