123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446 |
- {Template header}
- <style type="text/css">
- .calendar{POSITION:absolute;}
- </style>
- <body>
- <div class="warp">
- <div class="title">修改订单</div>
- <div class="packing">
- <div class="control">
- <a href="javascript:void(0);" class="exptj">添 加</a>
- <a href="javascript:void(0);" class="expxg">修 改</a>
- <a href="javascript:void(0);" class="expsc">删 除</a>
- </div>
- <table class="datatitle data" border="0" style="border-collapse:collapse;">
- <tr>
- <td>商品名称</td>
- <td>数量</td>
- <td>单价</td>
- <td>总价</td>
- <td>币种</td>
- </tr>
- </table>
- <table class="datatext data" border="0" style="border-collapse:collapse;">
- {loop $fpdata as $val}
- <tr data-list="{$val['0']}">
- <td>{$val['1']}</td>
- <td>{$val['2']}</td>
- <td>{$val['3']}</td>
- <td>{$val['4']}</td>
- <td>CNY</td>
- <td class="none">{$val['5']}</td>
- <td class="none">{$val['6']}</td>
- <td class="none">{$val['7']}</td>
- </tr>
- {/loop}
- </table>
- </div>
- <ul class="setting">
- <div class="need">
- <li>
- <em>发货仓库:</em>
- <b>{loop warehouse(100) as $val}
- {if $fullorder['type'] == $val['id']}{$val['title']}{/if}
- {/loop}</b>
- </li>
- <li>
- <em>结算币种:</em>
- <b>{$fullorder_smt['currencytitle']}</b>
- </li>
- <li>
- <em>订单号:</em>
- <b>{$fullorder_smt['orderinfo']}</b>
- </li>
- <li>
- <em>编号:</em>
- <b>{$fullorder_smt['number']}</b>
- </li>
- <!-- 独立站使用下单时间,平台使用付款时间 -->
- {if $is == 1}
- <li>
- <em>订单时间:</em>
- <b>{date('Y-m-d H:i:s',$fullorder_smt['dtime'])}</b>
- </li>
- {else}
- <li>
- <em>付款时间:</em>
- <b>{date('Y-m-d H:i:s',$fullorder_smt['buytime'])}</b>
- </li>
- {/if}
- <li>
- <em>预估到帐金额:</em>
- <b class="currencymoney budget">{$fullorder_smt['budget']}</b>
- </li>
- <li>
- <em>订单状态:</em>
- <select name="state" class="select class">
- {loop typeclass(29,en) as $val}
- <option value="{$val['id']}" {if $fullorder_smt['state'] == $val['id']}selected="selected"{/if}>{$val['spare']}</option>
- {/loop}
- <option value="283" {if $fullorder_smt['state'] == '283'}selected="selected"{/if}>null</option>
- </select>
- </li>
- <li>
- <em>资金状态:</em>
- <b>{$capital}</b>
- </li>
- <li class="lengthfour">
- <em>物流金额:</em>
- <b>{$fullorder_smt['expressmoney']}</b>
- </li>
- <li class="lengthfour">
- <em>补/退原额:</em>
- <b>{$fullorder['refundy']}</b>
- </li>
- <li class="lengthfour">
- <em>补/退净额:</em>
- <b>{$fullorder['refundj']}</b>
- </li>
- <li class="lengthfour">
- <em>订单金额:</em>
- <b>{$fullorder_smt['shouldmoney']}</b>
- </li>
- <div class="refund {if $fullorder_smt['refundy'] == 0}none{/if}">
- <li>
- <em>日 期:</em>
- <input name="rtime" id="refundtime" value="{$fullorder_smt['rtime']!=0?date('Y-m-d',$fullorder_smt['rtime']):''}" type="text">
- </li>
- <li>
- <em>交易号:</em>
- <input name="rpaypal" value="{$fullorder_smt['rpaypal']}" type="text">
- </li>
- <li class="length">
- <em>原 因:</em>
- <input name="rtext" value="{$fullorder_smt['rtext']}" type="text">
- </li>
- </div>
- <li>
- <em>Bill Name:</em>
- <b>{$fullorder_smt['client']}</b>
- </li>
- <li>
- <em>Ship Name:</em>
- <b>{$fullorder_smt['name']}</b>
- </li>
- {if $is == 1}
- <!-- 独立站显示内容 -->
- <li class="length">
- <em>Bill Address:</em>
- <b {if $fullorder_smt['baddress'] != $fullorder_smt['saddress']}style="color:#09F"{/if}>{$fullorder_smt['baddress']}</b>
- </li>
- <li class="length">
- <em>Ship Address:</em>
- <b>{$fullorder_smt['saddress']}</b>
- </li>
- <li class="length">
- <em>商品名称:</em>
- <b>{$fullorder_smt['product']}</b>
- </li>
- {if $fullorder_smt['source'] != 1}
- <li class="length">
- <em>商品属性:</em>
- <b>{$fullorder_smt['parameter']}</b>
- </li>
- <li class="length">
- <em>SKU:</em>
- <b>{$fullorder_smt['issku']}</b>
- </li>
- {/if}
- <li>
- <em>Paypal:</em>
- <b>{$fullorder_smt['paypal']}</b>
- </li>
- <li>
- <em>卖家保障:</em>
- <b>{$fullorder_smt['guarantee']}</b>
- </li>
- <li>
- <em>Quantity:</em>
- <b {if $fullorder_smt['quantity'] > 1}style="color:#F00"{/if}>{$fullorder_smt['quantity']}</b>
- </li>
- <li>
- <em>运单号:</em>
- <b>{$fullorder_smt['waybill']}</b>
- </li>
- {/if}
- {if $fullorder_smt['source'] != 1}
- <li class="length">
- <em>客户留言:</em>
- <b>{$fullorder_smt['clientremarks']}</b>
- </li>
- {/if}
- <li class="length remark">
- <em>订单备注:</em>
- <textarea name="orderremarks">{$fullorder_smt['orderremarks']}</textarea>
- </li>
- <li class="length remark">
- <em>仓库品名:</em>
- <b>{$fullorder_smt['shipremarks']}</b>
- </li>
- <li>
- <em>邮箱:</em>
- <b>{$fullorder_smt['email']}</b>
- </li>
- <li>
- <em>国家:</em>
- <b>{$country}</b>
- </li>
- <li>
- <em>联系方式:</em>
- <b>{$fullorder_smt['phone']}</b>
- </li>
- <li>
- <em>省州:</em>
- <b>{$fullorder_smt['province']}</b>
- </li>
- <li>
- <em>公司名:</em>
- <b>{$fullorder_smt['client']}</b>
- </li>
- <li>
- <em>城市:</em>
- <b>{$fullorder_smt['city']}</b>
- </li>
- <li>
- <em>收货人姓名:</em>
- <b>{$fullorder_smt['name']}</b>
- </li>
- <li>
- <em>邮编:</em>
- <b>{$fullorder_smt['zipcode']}</b>
- </li>
- {if $is != 1}
- <li class="length">
- <em>街道:</em>
- <b>{$fullorder_smt['street']}</b>
- </li>
- <li class="length">
- <em>地址2:</em>
- <b>{$fullorder_smt['address2']}</b>
- </li>
- {/if}
- <li class="length">
- <em>地址:</em>
- <b>{$fullorder_smt['address']}</b>
- </li>
- <li>
- <em>申报品名:</em>
- <b>{$fullorder_smt['sbpm']}</b>
- </li>
- <li>
- <em>中文品名:</em>
- <b>{$fullorder_smt['zwpm']}</b>
- </li>
- <li class="lengththree">
- <em>条数:</em>
- <b>{$fullorder_smt['ts']}</b>
- </li>
- <li class="lengththree">
- <em>单条申报价:</em>
- <b>{$fullorder_smt['dtsbjz']}</b>
- </li>
- <li class="lengththree">
- <em>总申报价:</em>
- <b>{$fullorder_smt['zsbjz']}</b>
- </li>
- <li class="lengththree">
- <em>总重量:</em>
- <b>{$fullorder_smt['zzl']}</b>
- </li>
- <li class="lengththree">
- <em>总件数:</em>
- <b>{$fullorder_smt['zjs']}</b>
- </li>
- <li class="lengththree">
- <em>快递方式:</em>
- <b>{loop express(100) as $val}{if $fullorder['express'] == $val['id']}{$val['servicename']}{/if}
- {/loop}</b>
- </li>
- <li class="lengththree">
- <em>打印类型:</em>
- <b>{if $fullorder['printtype'] == 1}运单{else if $fullorder['printtype'] == 2}发货单{else if $fullorder['printtype'] == 3}不打印单据{/if}</b>
- </b>
- </li>
- <li class="lengththree">
- <em>发送留言:</em>
- <b>{if $fullorder['msg'] == 1}1{else if $fullorder['msg'] == 2}2{/if}</b>
- </li>
- <li class="lengththree">
- <em>购买保险:</em>
- <b>{$fullorder['bx']}</b> USD
- </li>
- <li class="lengththree">
- <em>是否签名:</em>
- <b>{if $fullorder['qm'] == 0}不需要{else if $fullorder['qm'] == 1}需要{/if}</b>
- </li>
- <li class="lengththree">
- <em>服务类型:</em>
- <b>{if $fullorder['js'] == 0}FIRST CLASS{else if $fullorder['js'] == 1}PRIORITY{/if}</b>
- </li>
- <li class="lengththree">
- <em>延迟发货:</em>
- <b>{$fullorder['yc']}</b>
- 天
- </li>
- <!--
- <li class="productdescription none">
- <em>产品描述:</em>
- <select name="productdescription" class="select class">
- </select>
- </li>
- <li class="customs none">
- <em>海关价值:</em>
- <input class="must" value="{$fullorder_smt['customs']}" name="customs" type="text"> <font class="currency">CNY</font>
- </li>
- -->
- <li>
- <em>审核状态:</em>
- <b>
- {if $fullorder_smt['review'] == 1}
- 未送审
- {else if $fullorder_smt['review'] == 2}
- 待审核
- {else if $fullorder_smt['review'] == 3}
- 不通过
- {else if $fullorder_smt['review'] == 4}
- 取消重审
- {else if $fullorder_smt['review'] == 5}
- 审核通过
- {else if $fullorder_smt['review'] == 6}
- {date('Y-m-d H:i',$fullorder_smt['reviewtime'])}
- {/if}
- </b>
- </li>
- <li>
- <em>不合格原因</em>
- <b>{$fullorder_smt['failed']}</b>
- </li>
- <li class="lengththree">
- <em>打印状态:</em>
- <b>
- {if $fullorder_smt['print'] == 1}
- 不可打印
- {else if $fullorder_smt['print'] == 2}
- 未打印
- {else if $fullorder_smt['print'] == 3}
- 已打印
- {/if}
- </b>
- </li>
- <li class="lengththree">
- <em>打印时间:</em>
- <b>{if $fullorder_smt['printtime'] != 0}{date('Y-m-d H:i',$fullorder_smt['printtime'])}{else}无{/if}
- </li>
- <li class="lengththree">
- <em>打印次数:</em>
- <b>{$fullorder_smt['printnumber']}</b>
- </li>
- <li class="lengththree">
- <em>出库状态:</em>
- <b>
- {if $fullorder_smt['library'] == 1}
- 未出库
- {else if $fullorder_smt['library'] == 2}
- 已出库
- {else if $fullorder_smt['library'] == 3}
- 已退库
- {/if}
- </b>
- </li>
- <li class="lengththree">
- <em>出库时间:</em>
- <b>
- {if $fullorder_smt['librarytime'] != 0}{date('Y-m-d H:i',$fullorder_smt['librarytime'])}{else}无{/if}
- </b>
- </li>
- <li class="lengththree">
- <em>允许发货:</em>
- <b>
- {if $fullorder_smt['libraryconfirm'] == 1}
- 不允许出库
- {else if $fullorder_smt['libraryconfirm'] == 2}
- 允许出库
- {/if}
- </b>
- </li>
- <li class="length">
- <em>不能出库原因:</em>
- <b>{$fullorder_smt['librarynot']}</b>
- </li>
- <li class="length">
- <em>历史运单号:</em>
- <b>{$downwaybill}</b>
- </li>
- </div>
- <div style="clear:both;"></div>
- </ul>
- <div class="need"><input type="hidden" name="id" value="{$fullorder_smt['id']}" />
- <input type="hidden" name="purchase" value="{$fullorder_smt['purchase']}" />
- <input type="hidden" name="cost" value="{$fullorder_smt['cost']}" /></div>
- <div class="button"><font class="fullorderdata">提 交</font> <font class="fh">关 闭</font></div>
- </div>
- <select name="warehouse" id="warehouse" class="select class none">
- {loop warehouse(100) as $val}
- <option value="{$val['id']}" {if $fullorder_smt['type'] == $val['id']}selected="selected"{/if}>{$val['title']}</option>
- {/loop}</select>
- <script>
- $(document).ready(function() {
- $("#refundtime").calendar();custom();
- });
- function custom() {
- var num = $('.packing .datatitle tr').children().length;
- $('.data tr td').css("width","5%");
- $(".data tr").each(function() {
- $(this).find('td:eq(0)').css("width","30%");
- });}
- $("input[name=refundy]").bind("input propertychange",function(event){
- var refundy = $("input[name=refundy]").val();
- if(refundy != 0)
- {
- $(".refund").show();
- $("input[name=rtime]").addClass("must");
- $("input[name=rpaypal]").addClass("must");
- $("input[name=rtext]").addClass("must");
- }
- else
- {
- $("input[name=rtime]").val("");
- $("input[name=rpaypal]").val("");
- $("input[name=rtext]").val("");
- $("input[name=rtime]").removeClass("must");
- $("input[name=rpaypal]").removeClass("must");
- $("input[name=rtext]").removeClass("must");
- $(".refund").hide();
- }
- });
- </script>
- <script type="text/javascript">var addedit="/fullorder_smt/readonly/";</script>
- <script src="{$theme}js/fullorder-addedit.js?v=202002060002"></script>
- <script type="text/javascript" src="{$theme}js/time.js"></script>
- {Template footer}
|