accountOrderCheckingRefundDetail.html 13.3 KB
<script type="text/javascript" src='js/fancybox/jquery.mousewheel-3.0.6.pack.js' ></script>
<script type="text/javascript" src='js/fancybox/jquery.fancybox.js'></script>
<link rel="stylesheet" type="text/css" href="js/fancybox/jquery.fancybox.css" media="screen" />

<script type="text/javascript" src='framework/bootstrap3.3.2/bootstrap.min.js'></script>
<link rel="stylesheet" type="text/css" href="framework/bootstrap3.3.2/bootstrap.min.css"/>
<script>
    $(function (){
        $(".hasDatepicker1,.hasDatepicker2").jcDate({
            IcoClass : "jcDateIco",
            Event : "click",
            Speed : 100,
            Left : 0,
            Top : 28,
            format : "-",
            Timeout : 100
        });

        $(".img").fancybox({
            padding: 0,
            openEffect : 'elastic',
            openSpeed  : 300,
            closeEffect : 'elastic',
            closeSpeed  : 150,
            closeClick : true,
            overlayOpacity:0,
            helpers : {
                overlay : null
            },
            autoScale:true
        });

    });
</script>
<style>
    #jcDate{width: 191px;}
</style>
<div class="pageheader notab">
    <h1 class="pagetitle">对账管理</h1>
    <span class="pagedesc">退单明细</span>
</div><!--pageheader-->
<div style="margin-top: 1%;"></div>
<div id="contents">
    <form   class="stdform stdform2" method="post" action="javascript:void(0);">
        <table cellpadding="0" cellspacing="0" borderDetail="0" class="stdtable"
               id="dyntable3">
            <thead>
            <th colspan="4">
                <ul id="refund">
                    <li id="title">【退款/退货】用户申请退单时间:<span style="color: red;">{{ refundOrderDetail.applyDate }}</span></li>
                    <li id="rtype">【退款/退货】类型:
                        <span style="color: red;" ng-if="refundOrderDetail.refundType == 1">仅退款</span>
                        <span style="color: red;" ng-if="refundOrderDetail.refundType == 2">退款/退货</span>
                        <span style="color: red;" ng-if="refundOrderDetail.refundType == 3">退款</span>
                        <span style="color: red;" ng-if="refundOrderDetail.refundType == 4">换货</span>
                    </li>
                    <li>
                        【退款/退货】状态:
                        <span style="color: red;">{{ refundOrderDetail.refundStatusStr }}</span>
                    </li>
                </ul>
            </th>
            </thead>
            <tbody>
            <tr class="gradeX">
                <td>退款号:</td><td>{{ refundOrderDetail.refundCode }}</td>
                <td>退单状态最后一次更新时间:</td><td>{{ refundOrderDetail.refundStatusLastUpdateDt }}</td>
            </tr>
            <tr class="gradeX">
                <td>买家信息:</td><td>{{ refundOrderDetail.buyerUsername }}  {{ refundOrderDetail.buyerPhone }}</td>
                <td>退货货物状态:</td><td>{{ refundOrderDetail.refundGoodsStatusStr }}</td>
            </tr>
            <tr class="gradeX" ng-if="refundOrderDetail.refundType == 2">
                <td>货运公司:</td><td>{{ refundOrderDetail.refundGoodsDeliverName }}</td>
                <td>货运单号:</td><td>{{ refundOrderDetail.refundGoodsWaybill }}</td>
            </tr>
            <tr class="gradeX" ng-if="refundOrderDetail.refundType != 4 && (refundOrderDetail.refundStatus == 1 || refundOrderDetail.refundStatus == 5)">
                <td>退款总额:</td>
                <td ng-if='refundOrderDetail.orderFrom ==0'>
                    <input type="text" name="refundIntegral" style="height: 30px; width: 200px;"
                           ng-model="refundOrderDetail.refundIntegral" value="{{ refundOrderDetail.refundIntegral }}"/>
                    V币</td>
                <td ng-if='refundOrderDetail.orderFrom ==1'>
                    <input type="text"  name="refundMoney" style="height: 30px; width: 200px;"
                           ng-model="refundOrderDetail.refundMoney" value="{{ refundOrderDetail.refundMoney }}"/>
                </td>
                <td ng-if='refundOrderDetail.orderFrom ==1'>退还V币:</td>
                <td ng-if='refundOrderDetail.orderFrom ==1'>
                    <input type="text" name="deductionProductVb" style="height: 30px; width: 200px;"
                           ng-model="refundOrderDetail.deductionProductVb" value="{{ refundOrderDetail.deductionProductVb }}"/>
                    V币
                </td>
            </tr>
            <tr class="gradeX" ng-if="refundOrderDetail.refundType == 4">
                <td>退款总额:</td>
                <td ng-if='refundOrderDetail.orderFrom ==0'> {{ refundOrderDetail.refundIntegral }} V币</td>
                <td ng-if='refundOrderDetail.orderFrom ==1'>¥{{ refundOrderDetail.refundMoney }}</td>
                <td ng-if='refundOrderDetail.orderFrom ==1'>退还V币:</td>
                <td ng-if='refundOrderDetail.orderFrom ==1'>
                    {{ refundOrderDetail.deductionProductVb }} V币
                </td>
            </tr>
            <tr class="gradeX" ng-if="refundOrderDetail.refundType != 4 && refundOrderDetail.refundStatus != 1 && refundOrderDetail.refundStatus != 5">
                <td>退款总额:</td>
                <td ng-if='refundOrderDetail.orderFrom ==0'> {{ refundOrderDetail.refundIntegral }} V币</td>
                <td ng-if='refundOrderDetail.orderFrom ==1'>¥{{ refundOrderDetail.refundMoney }}</td>
                <td ng-if='refundOrderDetail.orderFrom ==1'>退还V币:</td>
                <td ng-if='refundOrderDetail.orderFrom ==1'>
                    {{ refundOrderDetail.deductionProductVb }} V币
                </td>
            </tr>
            <tr class="gradeX" style="background-color: #ebf2fc;" ng-if="(refundOrderDetail.refundType == 2 || refundOrderDetail.refundType == 4) &&  refundOrderDetail.refundStatus > 1">
                <td>退货人姓名</td><td>{{ refundOrderDetail.refundSellerName }}</td>
                <td>退货电话号码</td><td>{{ refundOrderDetail.refundSellerPhone }}</td>
            </tr>
            <tr class="gradeX" style="background-color: #ebf2fc;" ng-if="(refundOrderDetail.refundType == 2 || refundOrderDetail.refundType == 4) && refundOrderDetail.refundStatus > 1">
                <td>退货地址</td><td colspan="5">{{ refundOrderDetail.refundSellerAddress }}</td>
            </tr>
            <tr class="gradeX">
                <td>退款时间:</td><td>{{ refundOrderDetail.refundDate }}</td>
                <td>【退款/退货】原因:</td><td colspan="3">{{ refundOrderDetail.refundReason }}</td>
            </tr>
            <tr class="gradeX">
                <td>退还外加运费:</td><td>{{ refundOrderDetail.refundFreight }}</td>
                <td>退款客户收款账号类型:</td>
                <td ng-if="refundOrderDetail.refundToAccountType==1">支付宝</td>
                <td ng-if="refundOrderDetail.refundToAccountType==2">银行账号</td>
            </tr>
            <tr class="gradeX">
                <td>退还支付宝账号:</td><td>{{ refundOrderDetail.refundAlipayAccount }}</td>
                <td>退还支付宝账号实名:</td><td >{{ refundOrderDetail.refundAlipayAccountRealName }}</td>
            </tr>
            <tr class="gradeX">
                <td>退还银行账号:</td><td>{{ refundOrderDetail.refundBankAccount }}</td>
                <td>退还银行账号实名:</td><td>{{ refundOrderDetail.refundBankAccountRealName }}</td>
            </tr>
            <tr class="gradeX">
                <td>退还支行银行全称:</td><td>{{ refundOrderDetail.refundBankBranchFullName }}</td>
                <td>退货说明:</td><td>{{ refundOrderDetail.refundRemark }}</td>
            </tr>
            <tr class="gradeX" ng-if="refundOrderDetail.refundType == 4 && refundOrderDetail.refundStatus != 11">
                <td>换货货运公司:</td><td>{{ refundOrderDetail.changeGoodsDeliverName }}</td>
                <td>换货运单号:</td><td>{{ refundOrderDetail.changeGoodsWaybill }}</td>
            </tr>
            <tr class="gradeX" ng-if="refundOrderDetail.refundType == 4 && refundOrderDetail.refundStatus == 11">
                <td>换货货运公司:</td>
                <td> <input type="text" name="changeGoodsDeliverName" style="height: 30px; width: 250px;"
                            ng-model="refundOrderDetail.changeGoodsDeliverName" value="{{ refundOrderDetail.changeGoodsDeliverName }}"/>
                </td>
                <td>换货运单号:</td>
                <td>
                    <input type="text" name="changeGoodsWaybill"  style="height: 30px; width: 250px;"
                           ng-model="refundOrderDetail.changeGoodsWaybill" value="{{ refundOrderDetail.changeGoodsWaybill }}"/>
                </td>
            </tr>
            <tr class="gradeX">
                <td>退款退货凭证:</td>
                <td colspan="3">
                    <a ng-repeat="image in refundOrderImageGoods" href="{{image.url}}" class="img">
                        <img ng-src="{{image.url}}" height="50" width="100" style="margin-left:1% " />
                    </a>
                </td>
            </tr>
            <tr class="gradeX">
                <td>货运凭证:</td>
                <td colspan="3">
                    <a ng-repeat="image in refundOrderImageDeliver" href="{{image.url}}" class="img">
                        <img ng-src="{{image.url}}" height="50" width="100" style="margin-left:1% " />
                    </a>
                </td>
            </tr>
            </tbody>
        </table>
        <p class="stdformbutton" ng-if="refundOrderDetail.refundType != 4 && (refundOrderDetail.refundStatus == 1 || refundOrderDetail.refundStatus == 5)">
            <button class="submit radius2" ng-click="onSubmitPrice()">提交修改金额</button>
        </p>
        <p class="stdformbutton" ng-if="refundOrderDetail.refundType == 4 && refundOrderDetail.refundStatus == 11">
            <button class="submit radius2" ng-click="updateChangeGoods()">维护换货单号</button>
        </p>
    </form>

    <div style="margin-top: 2%;"></div>
    <table cellpadding="0" cellspacing="0" borderDetail="0" class="stdtable" >
        <thead>
        <th colspan="6"> 订单基本信息 </th>
        </thead>
        <tbody>
        <tr class="gradeX">
            <td style="width: 120px;">所属商户名称:</td><td>{{ orderDetailBean.supplierName }}</td>
            <td style="width: 120px;">订单号:</td><td>{{ refundOrderDetail.orderCode }}</td>
            <td style="width: 120px;">订单状态:</td><td><span style="color: red;font-weight: bold;">{{ orderDetailBean.status }}</span></td>
        </tr>
        <tr class="gradeX">
            <td style="width: 120px;">订单创建时间:</td>
            <td>{{ orderDetailBean.createDt}}</td>
            <td style="width: 120px;">订单支付时间:</td>
            <td>{{ orderDetailBean.payDt }}</td>
            <td></td> <td></td>
        </tr>
        </tbody>
    </table>

    <div style="margin-top: 2%;"></div>
    <table cellpadding="0" cellspacing="0" borderDetail="0" class="stdtable">
        <thead>
        <th ng-if='refundOrderDetail.orderFrom ==0' colspan="7">【退货】商品</th>
        <th  ng-if='refundOrderDetail.orderFrom ==1' colspan="11">【退货】商品</th>
        <tr>
            <th class="head1">商品图片</th>
            <th class="head0">商品名称</th>
            <th class="head0">商品规格</th>
            <th class="head0">ERP-CODE</th>
            <th class="head0">退货数量</th>
            <th class="head1" ng-if='refundOrderDetail.orderFrom ==0'>V币</th>
            <th class="head1" ng-if='refundOrderDetail.orderFrom ==0'>行V币</th>
            <th class="head1" ng-if='refundOrderDetail.orderFrom ==1'>单价</th>
            <th class="head1" ng-if='refundOrderDetail.orderFrom ==1'>行金额</th>
            <th class="head1" ng-if='refundOrderDetail.orderFrom ==1'>折后单价</th>
            <th class="head1" ng-if='refundOrderDetail.orderFrom ==1'>折后行金额</th>
            <th class="head1" ng-if='refundOrderDetail.orderFrom ==1'>抵扣V币</th>
            <th class="head1" ng-if='refundOrderDetail.orderFrom ==1'>抵扣行V币</th>
        </tr>
        </thead>
        <tbody>
        <tr class="gradeX" ng-repeat="item in refundOrderItems">
            <td> <a  href="{{item.thumbImg}}" class="img"><img ng-src="{{item.thumbImg}}" height="50" width="100"/> </a></td>
            <td>{{ item.name }}</td>
            <td>{{ item.specDetail }}</td>
            <td>{{ item.erpCode }}</td>
            <td>{{ item.quantity }}</td>
            <td ng-if="refundOrderDetail.orderFrom ==0">{{ item.integral }}</td>
            <td ng-if="refundOrderDetail.orderFrom ==0">{{ item.lineIntegral }}</td>
            <td ng-if="refundOrderDetail.orderFrom ==1">{{ item.price }}</td>
            <td ng-if="refundOrderDetail.orderFrom ==1">{{ item.linePrice }}</td>
            <td ng-if="refundOrderDetail.orderFrom ==1">{{ item.discountPrice }}</td>
            <td ng-if="refundOrderDetail.orderFrom ==1">{{ item.discountLinePrice }}</td>
            <td ng-if="refundOrderDetail.orderFrom ==1">{{ item.deductionProductVb }}</td>
            <td ng-if="refundOrderDetail.orderFrom ==1">{{ item.deductionLineVb }}</td>
        </tr>
        </tbody>
    </table>
</div>
</div>