<style> .bank-input{ width: 400px !important; } </style> <p style="padding-left: 5px;">退货申请</p> <div class="tabs-box"> <div class="order-change-main"> <form id="returnForm" class="form-horizontal table-responsive"> <input type="hidden" name="return_info[order_id]" value="{{$order_info['order_id']}}"> <input type="hidden" name="return_info[order_sn]" value="{{$order_info['order_sn']}}"> <input type="hidden" name="return_info[user_id]" value="{{$order_info['user_id']}}"> <input type="hidden" class="order_goods_type" name="return_info[order_goods_type]" value="{{$order_info['order_goods_type']}}"> <input type="hidden" name="return_info[currency]" value="{{$order_info['currency']}}"> <input type="hidden" name="return_info[mobile]" value="{{isset($user_info['mobile']) ? $user_info['mobile'] : $user_mobile}}"> <input type="hidden" name="return_info[email]" value="{{isset($user_info['email']) ? $user_info['email'] : ''}}"> <input type="hidden" name="return_info[company_name]" value="{{ isset($company_info['com_name']) ? $company_info['com_name'] : '' }}"> <input type="hidden" name="return_info[pay_amount]" value="{{ $order_info['order_amount'] + $order_price_info['pay_preferential'] }}"> <input type="hidden" name="pay_id" value="{{$order_pay_log[0]['pay_id']}}"> <!-- 退货方式 --> <table class="table table-bordered table-hover"> <tr> <th width="20%">退货方式</th> <td> <label style="margin-right: 20px;"><input type="radio" class="return_way" name="return_info[return_way]" value="1">快递寄送</label> <label><input type="radio" class="return_way" name="return_info[return_way]" value="2">自送</label> </td> </tr> </table> <!-- 退货型号 --> <p>退货型号</p> <table class="table table-bordered table-hover return-table"> <thead> <!-- <th width="7%"><input type="checkbox" class="all-select" >全选</th> --> <th width="20%">供应商</th> <th>型号</th> <th>出库数量</th> <th>均摊后单价(包含支付优惠)</th> <th>退货数量</th> <th width="10%">小计</th> <th>已申请数量</th> </thead> <tbody> @foreach ($removalItems as $v) <tr> <input type="hidden" name="return_items_info[{{$v['rec_id']}}][brand_id]" value="{{ $v['brand_id'] }}"> <input type="hidden" name="return_items_info[{{$v['rec_id']}}][brand_name]" value="{{ $v['brand_name'] }}"> <td> <input type="hidden" name="return_items_info[{{$v['rec_id']}}][supplier_id]" value="{{ $v['supplier_id'] }}"> <input type="hidden" name="return_items_info[{{$v['rec_id']}}][supplier_name]" value="{{ $v['supplier_name'] }}"> <span>{{$v['supplier_name']}}</span> </td> <td> <input type="hidden" name="return_items_info[{{$v['rec_id']}}][goods_id]" value="{{ $v['goods_id'] }}"> <input type="hidden" name="return_items_info[{{$v['rec_id']}}][goods_name]" value="{{ $v['goods_name'] }}"> <span>{{$v['goods_name']}}</span> </td> <td> <input type="hidden" class="removal_number" name="removal_number" value="{{ $v['removal_number'] }}"> <span>{{$v['removal_number']}}</span> </td> <td> <input type="hidden" name="return_items_info[{{$v['rec_id']}}][single_price]" class="single_pre_price" value="{{ $v['single_pre_price'] }}"> <span>{{$v['single_pre_price']}}</span> </td> <td> <input class="only_number int_num return_num" name="return_items_info[{{$v['rec_id']}}][return_num]" value=""> </td> <td> <span class="single_return_amount"></span> </td> <td><span>{{ $v['already_return_num'] }}</span></td> </tr> @endforeach </tbody> </table> <hr/> <table class="table table-bordered table-hover"> <tr> <th width="20%">支付金额</th> <td> <p class="text-danger">{{$currency}}<span class="total">{{ $order_info['order_amount'] + $order_price_info['pay_preferential'] }}</span></p> </td> </tr> <tr> <th>退款总额</th> <td> <input type="hidden" class="return_amount" name="return_info[return_amount]" value=""> <span class="return_amount_val"></span> </td> </tr> <tr> <th>退货原因</th> <td> <input type="hidden" class="refund_reason" name="return_info[return_reason]" value=""> <a href="javascript:;" class="btn btn-default input-cancel-reason" data-oid="{{$order_info['order_id']}}" data-type="5">点击选择</a> <span class="refund_reason_val"></span> </td> </tr> <tr> <th>退款账号(线下转账必填)</th> <td><input type="text" name="return_info[bank_account]" class="bank-input bank_account" value="" placeholder="请填写银行账号"></td> </tr> <tr> <th>退款银行名称(线下转账必填)</th> <td><input type="text" name="return_info[bank_name]" class="bank-input bank_name" value="" placeholder="请填写银行名称"></td> </tr> <tr> <th>退款支行名称(线下转账必填)</th> <td><input type="text" name="return_info[bank_sub_name]" class="bank-input bank_sub_name" value="" placeholder="请填写支行名称"></td> </tr> <tr> <th>开户人名称(线下转账必填)</th> <td><input type="text" name="return_info[bank_user]" class="bank-input bank_user" value="" placeholder="请填写开户人名称"></td> </tr> </table> <a class="btn btn-primary returnApply">提交申请</a> </form> </div> </div> <script> var currency_sign = "{{$currency}}"; $.lie.refund.refund(); </script>