tabbasic.vm 7.31 KB
<div class="border-header">
    <div class="row mb5">
        <div class="col-md-12">
            <strong>基本信息</strong>
        </div>
    </div>
    <div class="row">
        <div class="col-md-6">
            <span class="st2">订单状态 :<span>$!{model.orderStatus.name}</span>
        </div>
        <div class="col-md-6">
            <span  class="st2">下单时间 :$dateTool.format('yyyy-MM-dd HH:mm:ss',${model.submitTime})</span>
            </span>
        </div>
    </div>
    <div class="row">
		 <div class="col-md-6">
            <span class="st2">支付方式  :$!{model.payType.name}</span>
        </div>
		 <div class="col-md-6">
          <span  class="st2">支付时间 :
			#if(${model.payTime})$dateTool.format('yyyy-MM-dd HH:mm:ss',$!{model.payTime})#end
          </span>
        </div>
    </div>
	 <div class="row">
		 <div class="col-md-6">
            <span class="st2">配送方式 :$!{model.deliveryType.name}</span>
        </div>
		 <div class="col-md-6">
          <span  class="st2">自提/送货时间 :
			#if($!{model.deliveryType.index} == 10)
				#if(${model.reservationTime})$dateTool.format('yyyy-MM-dd HH:mm:ss',$!{model.reservationTime})#end
			#elseif($!{model.deliveryType.index} == 20)
				#if(${model.deliveryTime})$dateTool.format('yyyy-MM-dd HH:mm:ss',$!{model.deliveryTime})#end
			#end
          </span>
        </div>
    </div>
	 <div class="row">
		 <div class="col-md-12">
            <span class="st2">订单金额 :$!{model.deliveryType.name}</span>
        </div>
    </div>
	<div class="row">
		<div class="col-md-12">
        	 <span  class="st2">买家留言:#if("$!{model.buyerMemo}" != "") $!{model.buyerMemo}   #else 无  #end </span>
        </div>
    </div>
</div>
<br/>
<table style="width:100%;">
    <td style="width:49%">
        <div class="border-header">
            <div class="row mb5">
                <div class="col-md-12">
                    <strong>卖家信息 </strong>
                </div>
            </div>
            <table>
                <tr>
                    <td><span class="st2">账号:$!{model.sellerName}</span></td>
                </tr>
                <tr><td><span class="st2">店铺名称:$!{model.shopName}</span></td></tr>
                <tr><td><span class="st2">联系电话:$!{model.shopPhoneNumber}</span></td></tr>
				<tr><td><span class="st2">店铺地址:$!{model.shopAddress}</span></td></tr>
            </table>
        </div>
    </td>
    <td style="width:1%;"></td>
    <td>
        <div class="border-header">
            <div class="row mb5">
                <div class="col-md-12">
                    <strong>买家信息</strong>
                </div>
            </div>
            <table>
                <tr>
                    <td><span class="st2">买家账号:$!{model.buyerName}</span></td>
                </tr>
                <tr><td><span class="st2">收货人:$!{model.receiverName}</span></td></tr>
                <tr><td><span class="st2">联系电话:$!{model.receiverPhoneNumber}</span></td></tr>
				<tr><td><span class="st2">联系电话:$!{model.deliveryAddress}</span></td></tr>
                <tr><td>&nbsp;</td></tr>
            </table>
        </div>
    </td>
</table>
</br>
<div class="border-header">
    <div class="row mb5">
        <div class="col-md-12">
            <strong>商品信息</strong>
        </div>
    </div>
    <div class="row">
        <div class="col-md-12">
            <table id="sample-table-1" class="table table-striped table-bordered table-hover">
                <thead>
                <tr>
                    <th class="center">商品名称</th>
                    <th class="center">价格</th>
                    <th class="center">数量</th>
                    <th class="center">预估金额</th>
                    <th class="center">实际金额</th>
					<th class="center">运费</th>
                    <th class="center">总计</th>
                </tr>
                </thead>
                <tbody>
                    #foreach(${item} in ${model.orderItems})
						<tr>
                            <td class="textC">$!{item.skuTitle}</td>
                            <td class="textC">$currencyTool.cent2TenNoSymbol($!{item.skuPrice})元/$!{item.priceUnit}</td>
							<td class="textC">$!{item.amount}</td>
							#if($!{velocityCount} == 1)
    							<td class="textC" rowspan="$!{model.orderItems.size()}">
									<span style="color:red">
                                       #if($!{model.totalPrice}!=0)
                                           $currencyTool.cent2TenNoSymbol($!{model.totalPrice})元
									   #end
                                    </span>
								</td>
            					<td class="textC" rowspan="$!{model.orderItems.size()}">
									<span style="color:red">
                                       #if($!{model.realTotalPrice}!=0)
                                           $currencyTool.cent2TenNoSymbol($!{model.realTotalPrice})元
									   #end
                                    </span>
								</td>
                                <td class="textC" rowspan="$!{model.orderItems.size()}">
                                   <span style="color:red">
                                       #if($!{model.postage}!=0)
                                           $currencyTool.cent2TenNoSymbol($!{model.postage})元
                                       #end
                                   </span>
                                </td>
                                <td class="textC" rowspan="$!{model.orderItems.size()}">
                                    #set($allPriceTotal=$!{model.postage}+$!{model.realTotalPrice})
                                    <span style="font-size:17px;color:red">$currencyTool.cent2TenNoSymbol(${allPriceTotal})元</span>
                                </td>
							#end
						</tr>
                    #end
                </tbody>
            </table>
        </div>
    </div>
</div>
</br>
<div class="row">
    <div class="col-md-12 align-right">
        <div align="right">
            <table>
                <tr >
                    <td align="right">
                        <span style="font-size:17px;">订单总金额:</span>
                    </td>
                    <td>
						#if($!{model.realTotalPrice})
							<span style="font-size:17px;">$currencyTool.cent2TenNoSymbol($!{model.realTotalPrice})元</span>
						#end
                    </td>
                </tr>
                <tr >
                    <td align="right">
						<span style="font-size:17px;">运费总金额:</span>
                    </td>
                    <td>
						<span style="font-size:17px;">$currencyTool.cent2TenNoSymbol($!{model.postage})元</span>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <hr style="height:2px;border:none;border-top:2px ridge black;">
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <span style="font-size:17px;">总计:</span>
                    </td>
                    <td >
						#set($allPriceTotal=$!{model.postage} + $!{model.realTotalPrice})
                        <span style="font-size:17px;">$currencyTool.cent2TenNoSymbol($!{allPriceTotal})元</span>
                    </td>
                </tr>
            </table>
        </div>
    </div>
</div>