{for product in prodGrpList}
{if product.normal}
{var subSumPrice = subSumPrice+product.priceSubmit*product.buyNum}
{if prodGrpList.length==1}
@{product.prodName } [物料编号] @{product.mainProdId.replace("000000000","")} |
{/if}
{if prodGrpList.length!=1}
{if prodLineNum==1}
@{product.prodName } [物料编号] @{product.mainProdId.replace("000000000","")} |
{/if}
{/if}
{if prodLineNum!=prodGrpList.length}
{/if}
{if prodLineNum==prodGrpList.length}
|
{/if}
{if product.dmtSalerGrpId == null}
增加送货地址
|
{if prodLineNum!=prodGrpList.length}
{/if}
{if prodLineNum==prodGrpList.length}
|
{/if}
¥@{product.ebPrice} |
{if prodLineNum!=prodGrpList.length}
{/if}
{if prodLineNum==prodGrpList.length}
|
{/if}
¥
|
{if prodLineNum!=prodGrpList.length}
{/if}
{if prodLineNum==prodGrpList.length}
|
{/if}
|
{if prodLineNum!=prodGrpList.length}
{/if}
{if prodLineNum==prodGrpList.length}
|
{/if}
¥@{formatNum(product.priceSubmit*product.buyNum)}
|
{if prodLineNum!=prodGrpList.length}
{/if}
{if prodLineNum==prodGrpList.length}
|
{/if}
删除
|
{elseif product.salesPromotion}
{if product.salesPromotionList != null}
{var gindex = 1}
{var flag= "促销包不能小于1套"}
{for saleItem in product.salesPromotionList }
{var subSumPrice = subSumPrice+saleItem.buyNum*product.buyNum*saleItem.priceSubmit}
{if gindex!=product.salesPromotionList.length}
{/if}
{if gindex==product.salesPromotionList.length}
|
{/if}
【促销包】@{saleItem.prodName } [物料编号] @{saleItem.prodId.replace("000000000","")} |
{if gindex!=product.salesPromotionList.length}
{/if}
{if gindex==product.salesPromotionList.length}
|
{/if}
{if product.dmtSalerGrpId == null}
{else}
{/if}
{if saleItem.shipInfo != null}
{/if}
{if gindex==1}
增加送货地址
{else}
{/if}
|
{if gindex!=product.salesPromotionList.length}
{/if}
{if gindex==product.salesPromotionList.length}
|
{/if}
¥@{saleItem.ebPrice}
|
{if gindex!=product.salesPromotionList.length}
{/if}
{if gindex==product.salesPromotionList.length}
|
{/if}
¥@{saleItem.priceSubmit}
|
{if gindex!=product.salesPromotionList.length}
{/if}
{if gindex==product.salesPromotionList.length}
|
{/if}
|
{if gindex!=product.salesPromotionList.length}
{/if}
{if gindex==product.salesPromotionList.length}
|
{/if}
¥@{formatNum(saleItem.buyNum*product.buyNum*saleItem.priceSubmit) }
|
{if gindex!=product.salesPromotionList.length}
{/if}
{if gindex==product.salesPromotionList.length}
|
{/if}
{if gindex==1}
删除
{else}
{/if}
|
{var gindex = gindex+1}
{/for}
{/if}
{else}
{var subSumPrice = subSumPrice+product.priceSubmit*product.buyNum}
{var flag= "捆绑物料不能小于1套"}
@{product.prodName } [物料编号] @{product.mainProdId.replace("000000000","")} |
{if product.dmtSalerGrpId == null}
{else}
{/if}
{if product.shipInfo != null}
{/if}
增加送货地址
|
¥@{product.ebPrice} |
¥
|
|
¥@{formatNum(product.priceSubmit*product.buyNum) } |
删除 |
{if product.subProdList != null}
{var subLineNum = 0}
{for subprod in product.subProdList}
{var subSumPrice = subSumPrice+subprod.buyNum*product.buyNum*subprod.priceSubmit}
{if subLineNum+1!=product.subProdList.length}
{/if}
{if subLineNum+1==product.subProdList.length}
|
{/if}
【捆绑套餐】@{subprod.prodName } [物料编号] @{subprod.prodId.replace("000000000","") }
|
{if subLineNum+1!=product.subProdList.length}
{/if}
{if subLineNum+1==product.subProdList.length}
|
{/if}
{if product.dmtSalerGrpId == null}
{else}
{/if}
{if product.shipInfo != null}
{/if}
|
{if subLineNum+1!=product.subProdList.length}
{/if}
{if subLineNum+1==product.subProdList.length}
|
{/if}
¥@{subprod.ebPrice}
|
{if subLineNum+1!=product.subProdList.length}
{/if}
{if subLineNum+1==product.subProdList.length}
|
{/if}
¥@{subprod.priceSubmit}
|
{if subLineNum+1!=product.subProdList.length}
{/if}
{if subLineNum+1==product.subProdList.length}
|
{/if}
@{subprod.buyNum*product.buyNum }
|
{if subLineNum+1!=product.subProdList.length}
{/if}
{if subLineNum+1==product.subProdList.length}
|
{/if}
¥@{formatNum(subprod.buyNum*product.buyNum*subprod.priceSubmit) }
|
{if subLineNum+1!=product.subProdList.length}
{/if}
{if subLineNum+1==product.subProdList.length}
|
{/if}
删除
|
{var subLineNum = subLineNum+1}
{/for}
{/if}
{/if}
{var lineNum = lineNum+1}
{var prodLineNum = prodLineNum+1}
{/for}
{/for}