refundGoodsDetail.html 8.0 KB
<script type="text/javascript" src='js/plugins/jquery.dataTables.min.js'></script>
<div class="pageheader notab">
    <h1 class="pagetitle">处理退款退货订单</h1>
    <span class="pagedesc">处理V商城的退款退货处理</span>
</div><!--pageheader-->
<style  type="text/css">
    input{width:80%; height: 20px;}
    table{border: 1px solid #eee;}
    .stdtable tbody tr td { padding: 8px 10px; border-right: 1px solid #eee; color: #666; }
    .stdtable tbody tr:last-child td { border-bottom: 0px solid #ddd; }
    .stdtable tbody tr td:first-child { border-left: 0px solid #ddd; }
    .stdtable tbody tr td:last-child { border-right: 0px solid #ddd; }
</style>
<div id="contentwrapper" class="contentwrapper">
    <div class="overviewhead">
        <div class="line">
            <label class="label" for="orderCode">订单号:</label>
            <div class="input">
                <input type="text" id="orderCode" ng-model="orderCode" value="{{orderCode}}" name="orderCode" style="width: 200px;"/>
            </div>
            <a class="btn btn2 btn_blue btn_search radius50" href="javascript:void(0)" ng-click="searchHandleOrder()"><span>搜索</span></a>
        </div>
    </div>
    <div class="contenttitle2">
        <h3>买家信息</h3>
    </div>
    <table cellpadding="0" cellspacing="0" borderDetail="0" class="stdtable"
           id="dyntable3">
        <tbody>
        <tr class="gradeX" style="background-color: #ebf2fc;">
            <td>买家姓名</td><td><input disabled="disabled" type="text" value="{{ orderDetailBean.buyerUsername }}"  /></td>
            <td>买家电话</td><td><input disabled="disabled" type="text" value="{{ orderDetailBean.buyerPhone }}"  /></td>
            <td>买家Openid</td><td><input disabled="disabled" type="text" value="{{ orderDetailBean.openId }}"  /></td>
        </tr>
        <tr class="gradeX">
            <td>买家备注</td><td colspan="5"><input disabled="disabled" type="text" value="{{ orderDetailBean.buyerRemark }}"/></td>
        </tr>
        </tbody>
    </table>

    <div class="contenttitle2">
        <h3>订单信息</h3>
    </div>
    <!--contenttitle-->
    <table cellpadding="0" cellspacing="0" borderDetail="0" class="stdtable"
           id="dyntable3">
        <tbody>
        <tr class="gradeX" style="background-color: #ebf2fc;">
            <td>订单号</td><td><span style="color: red;font-weight: bold;">{{ orderDetailBean.orderCode }}</span></td>
            <td ng-if="orderDetailBean.orderFrom ==0">订单V币</td>
            <td ng-if="orderDetailBean.orderFrom ==0"><input disabled="disabled" type="text" value="{{ orderDetailBean.totalIntegral }}" /></td>
            <td ng-if="orderDetailBean.orderFrom ==1">订单金额</td>
            <td ng-if="orderDetailBean.orderFrom ==1"><input disabled="disabled" type="text" value="{{ orderDetailBean.totalMoney }}" /></td>
            <td>订单状态</td>
            <td><span style="color: red;font-weight: bold;">{{ orderDetailBean.status }}</span></td>
        </tr>
        <tr class="gradeX">
            <td>运费</td><td><input disabled="disabled" type="text" value="{{ orderDetailBean.freight }}"/></td>
            <td>创建时间</td><td><input disabled="disabled" type="text" value="{{ orderDetailBean.createDt}}" /></td>
            <td>支付方式</td><td><span ng-if="orderDetailBean.payType == 1">微信支付</span><span ng-if="orderDetailBean.payType == 2">支付宝支付</span></td>
        </tr>
        <tr class="gradeX" style="background-color: #ebf2fc;" >
            <td>支付时间</td><td><input disabled="disabled" type="text" value="{{ orderDetailBean.payDt }}"/></td>
            <td>交易流水号</td><td><b><font style="color: red;">{{ orderDetailBean.transactionId }}</font></b></td>
            <td>收货日期</td><td><input disabled="disabled" type="text" value="{{ orderDetailBean.receiveDt }}"/></td>
        </tr>
        <tr class="gradeX">
            <td>收货备注</td><td colspan="5"><input disabled="disabled" type="text" value="{{ orderDetailBean.receiveRemark }}"/></td>
        </tr>
        </tbody>
    </table>
    <div class="contenttitle2">
        <h3>子订单信息</h3>
    </div>
    <!--contenttitle-->
    <table cellpadding="0" cellspacing="0" borderDetail="0" class="stdtable"
           id="dyntable3">
        <thead>
        <tr>
            <th class="head0">商品名称</th>
            <th class="head0">商品ERPCode</th>
            <th class="head0">商品规格</th>
            <th class="head0">采购数量</th>
            <th class="head0" >发货数量</th>
            <th class="head1" ng-if='orderDetailBean.orderFrom ==0'>V币</th>
            <th class="head1" ng-if='orderDetailBean.orderFrom ==0'>行V币</th>
            <th class="head1" ng-if='orderDetailBean.orderFrom ==1'>单价</th>
            <th class="head1" ng-if='orderDetailBean.orderFrom ==1'>行金额</th>
            <th class="head1">商品图片</th>
            <th class="head1" ng-if="orderDetailBean.orderStatus >=3 && orderDetailBean.orderStatus <=4">操作</th>
        </tr>
        </thead>
        <tbody>
        <tr class="gradeX"  ng-repeat=" order1 in orderDetailBean.order1s" >
            <td ng-if="orderDetailBean.orderStatus >=3 && orderDetailBean.orderStatus <=4">
                <input type="text"  value="{{order1.name }}" id="{{order1.order1Id}}name">
            </td>
            <td ng-if="orderDetailBean.orderStatus !=3 || orderDetailBean.orderStatus !=4">{{order1.name }}</td>
            <td ng-if="orderDetailBean.orderStatus >=3 && orderDetailBean.orderStatus <=4">
                <input type="text" value="{{order1.erpCode}}" id="{{order1.order1Id}}erpCode"></td>
            <td ng-if="orderDetailBean.orderStatus !=3  ||  orderDetailBean.orderStatus !=4">{{order1.erpCode }}</td>
            <td>{{ order1.specDetail }}</td>
            <td ng-if="orderDetailBean.orderStatus >=3 && orderDetailBean.orderStatus <=4">
                <input type="text" value="{{ order1.purchaseQuantity }}" id="{{order1.order1Id}}purchaseQuantity">
            </td>
            <td ng-if="orderDetailBean.orderStatus !=3 || orderDetailBean.orderStatus !=4">{{order1.purchaseQuantity }}</td>
            <td>{{ order1.shippedQuantity }}</td>
            <td ng-if="orderDetailBean.orderFrom ==0">{{ order1.integral }}</td>
            <td ng-if="orderDetailBean.orderFrom ==0">{{ order1.lineIntegral }}</td>
            <td ng-if="orderDetailBean.orderFrom ==1">{{ order1.price }}</td>
            <td ng-if="orderDetailBean.orderFrom ==1">{{ order1.linePrice }}</td>
            <td><img ng-src="{{order1.thumbImg}}" height="50" width="100"/></td>
            <td ng-if="orderDetailBean.orderStatus >=3 && orderDetailBean.orderStatus <=4">
                <button class="stdbtn btn_blue"
                        ng-click="updateOrderGoods(order1.order1Id,orderDetailBean.memberId)">修改</button>
            </td>
        </tr>
        </tbody>
    </table>
    <br>
    <div ng-if="orderDetailBean.orderStatus >=3 && orderDetailBean.orderStatus <=4">
        <div class="contenttitle2">
            <h3>添加产品</h3>
        </div>
        <div style="margin-top: 10px; margin-bottom: 20px;">
            <form class="stdform stdform2" method="post" action="javascript:void(0);">
                <p>
                    <label>产品ID</label>
					<span class="field">
						<input type="text" id="erpCode" class="longinput" name="stockNum"
                               ng-model="editOrder1Info.productId"  style="width: 400px;"  required/>
					</span>
                </p>
                <p>
                    <label>采购数量</label>
					<span class="field">
						<input type="text" id="purchaseQuantity" class="longinput" name="stockNum"
                               ng-model="editOrder1Info.purchaseQuantity"  style="width: 400px;" required/>
					</span>
                </p>
            </form>
        </div>
        <div class="btn_wrap"><input type="button" class="btn" value="保存产品"
                                     ng-click="addOrderGoods(orderDetailBean.orderId,orderDetailBean.memberId)">
        </div>
    </div>
</div>