123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571 |
- {Template header}
- <style type="text/css">
- .calendar{POSITION:absolute;}
- </style>
- <body>
- <div class="warp">
- <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>
- {if $thfpdata != ''}
- <a href="javascript:void(0);" class="ckthfpdata">查看替换内容</a>
- {/if}
- </div>
- <table class="datatitle data" border="0" style="border-collapse:collapse;">
- <tr>
- <td>商品名称</td>
- <td>数量</td>
- <td class="none">单价</td>
- <td class="none">总价</td>
- <td class="none">币种</td>
- <td class="none"></td>
- <td class="none"></td>
- <td class="none"></td>
- <td class="none"></td>
- <td class="none"></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 class="none">{$val['3']}</td>
- <td class="none">{$val['4']}</td>
- <td class="none">CNY</td>
- <td class="none">{$val['5']}</td>
- <td class="none">{$val['6']}</td>
- <td class="none">{$val['7']}</td>
- <td class="none">{$val['8']}</td>
- <td class="none val9">{if isset($val['9'])}{$val['9']}{else}0{/if}</td>
- <td {if isset($val['zd']) && $fullorder['type'] == 13}style="color:#f00"{/if}>{if isset($val['zd'])}{$val['zd']}{/if}</td>
- <td class="czzd">{if $val['9'] != 'DNOTO'}<font class="jzzd">禁止占单</font>{else}<font class="yxzd">允许占单<font>{/if}</td>
- </tr>
- {/loop}
- </table>
- {if $thfpdata != ''}
- <table class="thfpdata data" border="0" style="border-collapse:collapse;margin-top:30px;display: none;">
- <tr style="background: #ececec;">
- <td>替换详情</td>
- <td>数量</td>
- <td>说明</td>
- </tr>
- <tr>
- {loop $thfpdata as $val}
- <tr>
- <td>{$val['0']}</td>
- <td>{$val['1']}</td>
- <td>{$val['2']}</td>
- </tr>
- {/loop}
- </tr>
- </table>
- {/if}
- </div>
- <ul class="setting">
- <div class="need">
- <li>
- <em>发货仓库:</em>
- <select name="warehouse" id="warehouse" class="select class">
- {loop warehouse(100) as $val}
- <option value="{$val['id']}" {if $fullordersmt['type'] == $val['id']}selected="selected"{/if} data-e="{$val['express']}">{$val['title']}</option>
- {/loop}</select>
- </li>
- <li>
- <em>结算币种:</em>
- <b>{$fullordersmt['currencytitle']}</b>
- </li>
- <li>
- <em>订单号:</em>
- <b>{$fullordersmt['orderinfo']}</b>
- {if $fullordersmt['source'] != 1}
- <a href="https://trade.aliexpress.com/order_detail.htm?orderId={$fullordersmt['orderinfo']}" target="_blank"><i class="fa fa-send-o" style="margin-left:-26px;color:#39F"></i></a>
- {/if}
- </li>
- <li>
- <em>编号:</em>
- <b>{$fullordersmt['number']}</b>
- </li>
- <li>
- <em>付款时间:</em>
- <b>{date('Y-m-d H:i:s',$fullordersmt['buytime'])}</b>
- </li>
- <li>
- <em>预估到帐金额:</em>
- <b class="currencymoney budget">{$fullordersmt['budget']}</b>
- </li>
- <li>
- <em>订单状态:</em>
- <select name="state" class="select class">
- {loop typeclass(29,1) as $val}
- <option value="{$val['id']}" {if $fullordersmt['state'] == $val['id']}selected="selected"{/if}>{$val['title']}</option>
- {/loop}
- </select>
- </li>
- <li>
- <em>资金状态:</em>
- <b>{$capital}</b>
- </li>
- <li class="lengthfour">
- <em>物流金额:</em>
- <b>{$fullordersmt['expressmoney']}</b>
- </li>
- <li class="lengthfour">
- <em>补/退款原额:</em>
- <input name="refundy" class="must currencymoney" value="{$fullordersmt['refundy']}" type="text">
- </li>
- <li class="lengthfour">
- <em>补/退净额:</em>
- <input name="refundj" class="must currencymoney" value="{$fullordersmt['refundj']}" type="text">
- </li>
- <li class="lengthfour">
- <em>订单金额:</em>
- <b>{$fullordersmt['shouldmoney']}</b>
- </li>
- <div class="refund {if $fullordersmt['refundy'] == 0}none{/if}">
- <li>
- <em>日 期:</em>
- <input name="rtime" id="refundtime" value="{$fullordersmt['rtime']!=0?date('Y-m-d',$fullordersmt['rtime']):''}" type="text">
- </li>
- <li>
- <em>交易号:</em>
- <input name="rpaypal" value="{$fullordersmt['rpaypal']}" type="text">
- </li>
- <li class="length">
- <em>原 因:</em>
- <textarea name="rtext" style="height:46px;">{$fullordersmt['rtext']}</textarea>
- </li>
- </div>
- <li>
- <em>付款方式:</em>
- <b>{$fullordersmt['pay']}</b>
- </li>
- <li>
- <em>运单号:</em>
- <input name="waybill" value="{$fullordersmt['waybill']}" type="text">
- </li>
- <li class="length">
- <em>交易号:</em>
- <b>{$fullordersmt['paypal']}</b>
- </li>
- <li class="length">
- <em>客户留言:</em>
- <b style="color:#F00">{$fullordersmt['clientremarks']}</b>
- </li>
- <li class="length">
- <em>商品名称:</em>
- <b>{$product}</b>
- </li>
- <li class="length">
- <em>SKU:</em>
- <b>{$fullordersmt['sku']}</b>
- </li>
- <li class="length remark">
- <em>订单备注:</em>
- <textarea name="orderremarks" style="height:25px;">{$fullordersmt['orderremarks']}</textarea>
- </li>
- <li class="length remark">
- <em>仓库品名:</em>
- <b>{$fullordersmt['shipremarks']}</b>
- </li>
- <li>
- <em>买家ID:</em>
- <b>{if $fullordersmt['state'] == 1}无{else}{$fullordersmt['fullname']}{/if}</b>
- </li>
- <li>
- <em>国家:</em>
- <b>{$country}</b>
- </li>
- <li>
- <em>公司名:</em>
- <b>{$fullordersmt['client']}</b>
- </li>
- <li>
- <em>省州:</em>
- <b {if (($fullordersmt['city'] == 'Newark' || $fullordersmt['city'] == 'Camden') && ($fullordersmt['province'] == 'New Jersey' || $fullordersmt['province'] == 'NJ')) || $fullordersmt['province'] == 'Jersey'}style="color:#F00"{/if}>{$fullordersmt['province']}</b>
- </li>
- <li>
- <em>收货人姓名:</em>
- <b>{$fullordersmt['name']}</b>
- </li>
- <li>
- <em>城市:</em>
- <b>{$fullordersmt['city']}</b>
- </li>
- <li>
- <em>联系方式:</em>
- <b>{$fullordersmt['phone']}</b>
- </li>
- <li>
- <em>邮编:</em>
- <b>{$fullordersmt['zipcode']}</b>
- </li>
- <li class="length">
- <em>地址2:</em>
- <b>{$fullordersmt['address2']}</b>
- </li>
- <li class="length">
- <em>地址1:</em>
- <b>{$fullordersmt['address']}</b>
- </li>
- <li class="lengththree">
- <em>申报品名:</em>
- <b>{$fullordersmt['sbpm']}</b>
- </li>
- <li class="lengththree">
- <em>中文品名:</em>
- <b>{$fullordersmt['zwpm']}</b>
- </li>
- <li class="lengththree">
- <em>海关编码:</em>
- <b>{$fullordersmt['hgbm']}</b>
- </li>
- <li class="lengththree">
- <em>条数:</em>
- <b>{$fullordersmt['ts']}</b>
- </li>
- <li class="lengththree">
- <em>单条申报价:</em>
- <b>{$fullordersmt['dtsbjz']}</b>
- </li>
- <li class="lengththree">
- <em>总申报价:</em>
- <b>{$fullordersmt['zsbjz']}</b>
- </li>
- <li class="lengththree">
- <em>总重量:</em>
- <b>{$fullordersmt['zzl']}</b> <font class="zzldw">{$zzhl}</font>
- </li>
- <li class="lengththree">
- <em>总件数:</em>
- <b>{$fullordersmt['zjs']}</b>
- </li>
- <li class="lengththree">
- <em>购买保险:</em>
- {if $fullordersmt['print'] != 3}
- <input name="bx" class="must" value="{$fullordersmt['bx']}" type="text"> USD
- {else}
- <b>{$fullordersmt['bx']}</b> USD
- {/if}
- </li>
- <li>
- <em>IOSS:</em>
- <!--
- <select name="ioss" class="select class">
- <option value="" {if $fullordersmt['ioss'] == ''}selected="selected"{/if}>未选择</option>
- {loop ioss(100) as $val}
- <option value="{$val['ioss']}" {if $fullordersmt['ioss'] == $val['ioss']}selected="selected"{/if}>{$val['title']}</option>
- {/loop}
- </select>
- -->
- <b>{loop ioss(100) as $val}{if $fullordersmt['ioss'] == $val['ioss']}{$val['title']}{/if}{/loop}</b>
- </li>
- <li>
- <em>获取平台信息:</em>
- <select name="tb" class="select class">
- <option value="0" {if $fullordersmt['tb'] == '0'}selected="selected"{/if}>是</option>
- <option value="1" {if $fullordersmt['tb'] == '1'}selected="selected"{/if}>否</option>
- </select>
- </li>
- <li>
- <em>快递方式:</em>
- <select name="express" class="select class">
- {if $user['power'] != 47}
- {loop express(100,'smt') as $val}
- <option value="{$val['id']}" data-type="{$val['type']}" {if $fullordersmt['express'] == $val['id']}selected="selected"{/if}>{$val['servicename']}</option>
- {/loop}
- {else}
- {loop xwexpress(100) as $val}
- <option value="{$val['id']}" data-type="{$val['type']}" {if $fullordersmt['express'] == $val['id']}selected="selected"{/if}>{$val['servicename']}</option>
- {/loop}
- {/if}
- </select>
- <font class="expressfa"><i id="tipdata" class="fa fa-question-circle none"></i><font class="expressfa1 none"><font class="expressfa2" style="color:#903"></font></font></font>
- </li>
- <li>
- <em>打印类型:</em>
- <select name="printtype" class="printtype select class">
- <option value="1" {if $fullordersmt['printtype'] == 1}selected="selected"{/if}>运单</option>
- <option value="2" {if $fullordersmt['printtype'] == 2}selected="selected"{/if}>发货单</option>
- <option value="3" {if $fullordersmt['printtype'] == 3}selected="selected"{/if}>不打印单据</option>
- </select>
- </li>
- <div style="width:100%;float:left">
- <li class="qm none">
- <em>是否签名:</em>
- {if $fullordersmt['print'] != 3}
- <select name="qm" class="select class">
- <option value="0" {if $fullordersmt['qm'] == '0'}selected="selected"{/if}>不需要</option>
- <option value="1" {if $fullordersmt['qm'] == '1'}selected="selected"{/if}>需要</option>
- </select>
- {else}
- <b>{if $fullordersmt['express'] != 24 && $fullordersmt['express'] != 31}{if $fullordersmt['qm'] == 0}不需要{else if $fullordersmt['qm'] == 1}需要{/if}{else}{if $fullordersmt['qm'] == 0}默认{else if $fullordersmt['qm'] == 1}成人签名{else if $fullordersmt['qm'] == 2}必须签名但可代签{/if}{/if}</b>
- {/if}
- </li>
- <li class="usps none">
- <em>服务类型:</em>
- {if $fullordersmt['express'] == 2 || $fullordersmt['express'] == 64}
- <b>{if $fullordersmt['js'] == 0}Ground Advantage
- {else if $fullordersmt['js'] == 1}PRIORITY
- {else if $fullordersmt['js'] == 2}EXPRESS
- {/if}
- </b>
- {else}
- <b>无</b>
- {/if}
- </li>
- </div>
- <!--
- <li class="productdescription none">
- <em>产品描述:</em>
- <select name="productdescription" class="select class">
- </select>
- </li>
- <li class="customs none">
- <em>海关价值:</em>
- <input class="must" value="{$fullordersmt['customs']}" name="customs" type="text"> <font class="currency">CNY</font>
- </li>
- -->
- <li>
- <em>审核状态:</em>
- <b>
- {if $fullordersmt['review'] == 1}
- 未送审
- {else if $fullordersmt['review'] == 2}
- 待审核
- {else if $fullordersmt['review'] == 3}
- 不通过
- {else if $fullordersmt['review'] == 4}
- 取消重审
- {else if $fullordersmt['review'] == 5}
- 审核通过
- {else if $fullordersmt['review'] == 6}
- {date('Y-m-d H:i',$fullordersmt['reviewtime'])}
- {/if}
- </b>
- </li>
- <li>
- <em>不合格原因</em>
- <b>{$fullordersmt['failed']}</b>
- </li>
- <li class="lengththree">
- <em>打印状态:</em>
- <b>
- {if $fullordersmt['print'] == 1}
- 不可打印
- {else if $fullordersmt['print'] == 2}
- 未打印
- {else if $fullordersmt['print'] == 3}
- 已打印
- {/if}
- </b>
- </li>
- <li class="lengththree">
- <em>打印时间:</em>
- <b>{if $fullordersmt['printtime'] != 0}{date('Y-m-d H:i',$fullordersmt['printtime'])}{else}无{/if}
- </li>
- <li class="lengththree">
- <em>打印次数:</em>
- <b>{$fullordersmt['printnumber']}</b>
- </li>
- <li class="lengththree">
- <em>出库状态:</em>
- <b>
- {if $fullordersmt['library'] == 1}
- 未出库
- {else if $fullordersmt['library'] == 2}
- 已出库
- {else if $fullordersmt['library'] == 3}
- 已退库
- {/if}
- </b>
- </li>
- <li class="lengththree">
- <em>出库时间:</em>
- <b>
- {if $fullordersmt['librarytime'] != 0}{date('Y-m-d H:i',$fullordersmt['librarytime'])}{else}无{/if}
- </b>
- </li>
- <li class="lengththree">
- {if $fullordersmt['library'] == 3}
- <em>退库时间:</em>
- {else}
- <em>允许发货:</em>
- {/if}
- <b>
- {if $fullordersmt['library'] == 3}
- {date('Y-m-d H:i',$fullordersmt['retreattime'])}
- {else}
- {if $fullordersmt['libraryconfirm'] == 1}
- 不允许出库
- {else if $fullordersmt['libraryconfirm'] == 2}
- 允许出库
- {/if}
- {/if}
- </b>
- </li>
- <li class="length">
- <em>不能出库原因:</em>
- <b>{$fullordersmt['librarynot']}</b>
- </li>
- <li class="length">
- <em>历史运单号:</em>
- <b>{$downwaybill}</b>
- </li>
- <li class="length">
- <em>历史打印时间:</em>
- <b>{$printtime}</b>
- </li>
- <li class="length">
- <em>退货信息:</em>
- <b class="return">{$fullordersmt['returndata']}</b>
- </li>
- <li class="length">
- <em>生产追踪:</em>
- <b class="return">{loop $systemwigsout as $val}{$val}{/loop}</b>
- </li>
- {if $fullordersmt['waybill2'] != ''}
- <li class="length">
- <em>GES转DHL单号:</em>
- <b>{$fullordersmt['waybill2']}</b>
- </li>
- {/if}
- </div>
- <div style="clear:both;"></div>
- </ul>
- <div class="need"><input type="hidden" name="id" value="{$fullordersmt['id']}" />
- <input type="hidden" name="purchase" value="{$fullordersmt['purchase']}" />
- <input type="hidden" name="cost" value="{$fullordersmt['cost']}" />
- <input type="hidden" name="shop" value="{$fullordersmt['shop']}" />
- <input type="hidden" name="pdbcbz" value="{$fullordersmt['orderremarks']}" />
- <input type="hidden" name="whlabel" value="{$fullordersmt['whlabel']}" />
- <input type="hidden" name="number" value="{$fullordersmt['number']}" />
- </div>
- <div class="button">{if $username ==1}<font class="power" style="float:left;">重置</font>{/if}<font class="epod" style="float:left;margin-left:20px;">获取DHL签收单</font>{if $returngoods == 0}<font style="float:left;margin-left:20px;"><a href="/returngoods/add/{$fullordersmt['orderinfo']}">售后登记</a></font>{else}<font style="float:left;margin-left:20px;">已登记售后</font>{/if}{if $fullordersmt['merge'] ==0 || $fullordersmt['merge'] == $fullordersmt['id']}<font class="bcbz">保 存</font> <font class="fullorderdata">提交审核</font> {/if}<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 $fullordersmt['type'] == $val['id']}selected="selected"{/if}>{$val['title']}</option>
- {/loop}</select>
- <script>
- $(document).ready(function() {
- if($("select[name='express']").find("option:selected").val() == '24' || $("select[name='express']").find("option:selected").val() == '31')//联邦的话替换签名选项
- {
- $("select[name='qm']").html('<option value="0" {if $fullordersmt["qm"] == "0"}selected="selected"{/if}>默认</option><option value="1" {if $fullordersmt["qm"] == "1"}selected="selected"{/if}>成人签名</option>');
- $(".qm").show();
- }
- else
- {
- $("select[name='qm']").html('<option value="0" {if $fullordersmt["qm"] == "0"}selected="selected"{/if}>不需要</option><option value="1" {if $fullordersmt["qm"] == "1"}selected="selected"{/if}>需要</option>');
- }
- if($("select[name='express']").find("option:selected").val() == '2')
- {
- $(".usps").show();
- $(".qm").show();
- }
- $("#refundtime").calendar();custom();pptskc('2');
- });
- 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%");
- $(this).find('td:eq(1)').css("width","3%");
- $(this).find('td:eq(10)').css("width","10%");
- });}
- $("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();
- }
- });
- $('.ckthfpdata').click(function()
- {
- if($('.thfpdata').is(':hidden'))
- {
- $('.thfpdata').slideDown(100);
- $('.ckthfpdata').text("关闭替换内容");
- }
- else
- {
- $('.thfpdata').slideUp(100);
- $('.ckthfpdata').text("查看替换内容");
- }
- })
- $(".thfpdata tr").mouseenter(function(event){
- var list = $(this).data("tid");
- $(".datatext tr").each(function() {
- if($(this).data("list") == list)
- {
- $(this).css("background-color","#f8f094")
- }
- });
- });
- $(".thfpdata tr").mouseleave(function(event){
- $(".datatext tr").each(function() {
- $(this).removeAttr("style")
- });
- });
- </script>
- <script type="text/javascript">var addedit="/fullordersmt/readonly/";var fh="/fullordersmt";</script>
- <script src="{$theme}js/fullorder-addedit.js?v=202309060001"></script>
- <script type="text/javascript" src="{$theme}js/time.js"></script>
- {Template footer}
|