| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973 | 
							- {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>
 
- <div id="datatext">
 
- <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>
 
- </div>
 
- <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']) && $fullordertt['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 data-tid="{$val['3']}">
 
- <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 $fullordertt['type'] == $val['id']}selected="selected"{/if} data-e="{$val['express']}">{$val['title']}</option>
 
- {/loop}</select>
 
- </li>
 
- <!-- 独立站使用下单时间,平台使用付款时间 -->
 
- {if $is == 1}
 
- <li>
 
- <em>订单时间:</em>
 
- <b>{$dtime}</b>
 
- </li>
 
- {else}
 
- <li>
 
- <em>付款时间:</em>
 
- <b>{date('Y-m-d H:i:s',$fullordertt['buytime'])}</b>
 
- </li>
 
- {/if}
 
- <li class="none">
 
- <em>结算币种:</em>
 
- <select name="currency" id="currency" class="select class">
 
- {loop typeclass(30) as $val}
 
- <option value="{$val['id']}" {if $fullordertt['currency'] == $val['id']}selected="selected"{/if}>{$val['title']}</option>
 
- {/loop}
 
- </select>
 
- </li>
 
- <li>
 
- <em>订单号:</em>
 
- <b class="orderinfo">{$fullordertt['orderinfo']}</b>
 
- </li>
 
- <li>
 
- <em>编号:</em>
 
- <b>{$fullordertt['number']}</b>
 
- </li>
 
- <li>
 
- <em>订单状态:</em>
 
- {if ($fullordertt['state'] == 214 || $fullordertt['state'] == 217) && $vip != '1'}
 
- {loop typeclass(29,2) as $val}
 
- {if ($val['id'] == $fullordertt['state'])}
 
- <b>{$val['spare']}</b>
 
- {/if}
 
- {/loop}
 
- {else}
 
- <select name="state" class="select class">
 
- {loop typeclass(29,2) as $val}
 
- <option value="{$val['id']}" {if $fullordertt['state'] == $val['id']}selected="selected"{/if}>{$val['spare']}</option>
 
- {/loop}
 
- <option value="283" {if $fullordertt['state'] == '283' ||  $fullordertt['state'] == '0'}selected="selected"{/if}>null</option>
 
- </select>
 
- {/if}
 
- </li>
 
- <li>
 
- <em>资金状态:</em>
 
- <select name="capital" class="select class">
 
- <option value="1" {if $fullordertt['capital'] == 1}selected="selected"{/if}>暂未支付</option>
 
- <option value="2" {if $fullordertt['capital'] == 2}selected="selected"{/if}>部分支付</option>
 
- <option value="3" {if $fullordertt['capital'] == 3}selected="selected"{/if}>全部支付</option>
 
- </select>
 
- </li>
 
- <li class="lengththree">
 
- <em>丢件险:</em>
 
- <b>{$fullordertt['insurance']}</b>
 
- </li>
 
- <li class="lengththree">
 
- <em>收款金额:</em>
 
- <input name="skje" class="must currencymoney" value="{$fullordertt['skje']}" type="text">
 
- <div class="none"><b class="currencymoney budget">{$fullordertt['budget']}</b></div>
 
- </li>
 
- <li class="lengththree">
 
- <em>预估到帐金额:</em>
 
- <input name="newbudget" class="must" value="{$fullordertt['budget']}" type="text">
 
- </li>
 
- <!--
 
- <li class="lengththree">
 
- <em>运费:</em>
 
- <input name="freight" class="must currencymoney" value="{$fullordertt['freight']}" type="text"> <font class="currency">CNY</font>
 
- </li>
 
- <li class="lengthfour">
 
- <em>物流金额:</em>
 
- <input name="expressmoney" class="must currencymoney" value="{$fullordertt['expressmoney']}" type="text">
 
- </li>
 
- -->
 
- <li class="lengththree">
 
- <em>补/退原额:</em>
 
- <input name="refundy" class="must currencymoney" value="{$fullordertt['refundy']}" type="text">
 
- </li>
 
- <li class="lengththree">
 
- <em>补/退净额:</em>
 
- <input name="refundj" class="must currencymoney" value="{$fullordertt['refundj']}" type="text">
 
- </li>
 
- <li class="lengththree">
 
- <em>订单金额:</em>
 
- {if $power ==1}
 
- <input name="shouldmoney" class="must currencymoney" value="{$fullordertt['shouldmoney']}" type="text" {if $fullordertt['shouldmoney'] > 499}style="color:#F00"{/if}>
 
- {else}
 
- <input name="shouldmoney" class="must currencymoney" value="{$fullordertt['shouldmoney']}" type="text" readonly style="background-color: #ebebe4;{if $fullordertt['shouldmoney'] > 499}color:#F00{/if}">
 
- {/if}
 
- </li>
 
- <div class="refund {if $fullordertt['refundy'] == 0}none{/if}">
 
- <li>
 
- <em>日 期:</em>
 
- <input name="rtime" id="refundtime" value="{$fullordertt['rtime']!=0?date('Y-m-d',$fullordertt['rtime']):''}" type="text">
 
- </li>
 
- <li>
 
- <em>交易号:</em>
 
- <input name="rpaypal" value="{$fullordertt['rpaypal']}" type="text">
 
- </li>
 
- <li class="length">
 
- <em>原 因:</em>
 
- <textarea name="rtext" style="height:46px;">{$fullordertt['rtext']}</textarea>
 
- </li>
 
- </div>
 
- <li class="length">
 
- <em>产品标题:</em>
 
- <b>{$product}</b>
 
- </li>
 
- <li class="length">
 
- <em>SKU:</em>
 
- <b>{$fullordertt['issku']}</b>
 
- </li>
 
- <li>
 
- <em>Quantity:</em>
 
- <b {if $qc > 0}style="color:#F00"{/if}>{$fullordertt['quantity']}</b>
 
- </li>
 
- <li>
 
- <em>运单号:</em>
 
- <input name="waybill" value="{$fullordertt['waybill']}" type="text">
 
- </li>
 
- {if $fullordertt['source'] != 1}
 
- <li class="length">
 
- <em>客户留言:</em>
 
- <b style="color:#F00">{$fullordertt['clientremarks']}</b>
 
- </li>
 
- {/if}
 
- <li class="length remark">
 
- <em>订单备注:</em>
 
- <textarea name="orderremarks" style="height:25px;">{$fullordertt['orderremarks']}</textarea>
 
- </li>
 
- <li class="length remark">
 
- <em>仓库品名:</em>
 
- <textarea name="shipremarks">{$fullordertt['shipremarks']}</textarea>
 
- </li>
 
- {if isset($klarnadata[1]) && $fullordertt['pay'] == 23}
 
- <div class="klarnadata none">
 
- <!--
 
- <li class="length">
 
- <em>Payment:</em>
 
- <b>{$klarnadata[1]}</b>
 
- </li>
 
- -->
 
- <li class="length">
 
- <em>billing:</em>
 
- <b>{$klarnadata[2]}</b>
 
- </li>
 
- <li class="length">
 
- <em>shipping:</em>
 
- <b{if str_replace(' ','',strtoupper($klarnadata['color'])) != str_replace(' ','',strtoupper($fullordertt['saddress']))} style="color:#f00"{/if}>{$klarnadata[3]}</b>
 
- </li>
 
- </div>
 
- {/if}
 
- {if isset($klarnadata[1]) && ($fullordertt['pay'] == 26 || $fullordertt['pay'] == 27 || $fullordertt['pay'] == 28 || $fullordertt['pay'] == 29)}
 
- <div class="klarnadata none">
 
- <li class="length">
 
- <em>Email:</em>
 
- <b>{$klarnadata[0]}</b>
 
- </li>
 
- <li class="length">
 
- <em>billing:</em>
 
- <b>{$klarnadata[1]}</b>
 
- </li>
 
- <li class="length">
 
- <em>shipping:</em>
 
- <b>{$klarnadata[2]}</b>
 
- </li>
 
- </div>
 
- {/if}
 
- {if isset($klarnadata[1]) && $fullordertt['pay'] == 22}
 
- <div class="klarnadata none">
 
- <li class="length">
 
- <em>name:</em>
 
- <b {if str_replace(' ','',strtoupper($klarnadata[1]['name'])) != str_replace(' ','',strtoupper($fullordertt['sname'])) || str_replace(' ','',strtoupper($klarnadata[1]['name'])) != str_replace(' ','',strtoupper($fullordertt['bname']))}style="color:#f00"{/if}>{$klarnadata[1]['name']}</b>
 
- </li>
 
- <li class="length">
 
- <em>address:</em>
 
- <b {if str_replace(array(' ','.',','),'',strtoupper($fullordertt['saddress'])) != str_replace(array(' ','.',','),'',strtoupper($klarnadata[1]['address']))}style="color:#f00"{/if}>{$klarnadata[1]['address']}</b>
 
- </li>
 
- <li class="length">
 
- <em>email:</em>
 
- <b {if strtoupper($klarnadata[1]['email']) != strtoupper($fullordertt['email'])}style="color:#f00"{/if}>{$klarnadata[1]['email']}</b>
 
- </li>
 
- </div>
 
- {/if}
 
- {if isset($klarnadata[1]) && $fullordertt['pay'] == 1211}
 
- <div class="klarnadata none">
 
- <li class="length">
 
- <em>Stripe Amount:</em>
 
- <b>{$klarnadata[1]['shouldmoney']}</b>
 
- </li>
 
- </div>
 
- {/if}
 
- <li>
 
- <em>邮箱:</em>
 
- <input name="email" value="{$fullordertt['email']}" type="text">
 
- </li>
 
- <li>
 
- <em>国家:</em>
 
- <select name="country" class="select class">
 
- {loop $country as $val}
 
- <option value="{$val['id']}" {if $fullordertt['country'] == $val['id']}selected="selected"{/if}>{$val['name']}</option>
 
- {/loop}
 
- </select>
 
- </li>
 
- <li>
 
- <em>联系方式:</em>
 
- <input name="phone" class="must" value="{$fullordertt['phone']}" type="text">
 
- </li>
 
- <li>
 
- <em>省州:</em>
 
- <input value="{$fullordertt['province']}" name="province" type="text" {if (($fullordertt['city'] == 'Newark' || $fullordertt['city'] == 'Camden') && ($fullordertt['province'] == 'New Jersey' || $fullordertt['province'] == 'NJ')) || $fullordertt['province'] == 'Jersey'}style="color:#F00"{/if}>
 
- </li>
 
- <li>
 
- <em>公司名:</em>
 
- <input name="client" value="{$fullordertt['client']}" type="text">
 
- </li>
 
- <li>
 
- <em>城市:</em>
 
- <input class="must" value="{$fullordertt['city']}" name="city" type="text" {if ($fullordertt['city'] == 'Newark' || $fullordertt['city'] == 'Camden') && ($fullordertt['province'] == 'New Jersey' || $fullordertt['province'] == 'NJ')}style="color:#F00"{/if}>
 
- </li>
 
- <li>
 
- <em>收货人姓名:</em>
 
- <input name="name" class="must" value="{$fullordertt['name']}" type="text">
 
- </li>
 
- <li>
 
- <em>邮编:</em>
 
- <input value="{$fullordertt['zipcode']}" name="zipcode" type="text">
 
- </li>
 
- {if $is == 5}
 
- <li class="length">
 
- <em>街道:</em>
 
- <input value="{$fullordertt['street']}" name="street" type="text">
 
- </li>
 
- {/if}
 
- <li class="length">
 
- <em>地址2:</em>
 
- <input value="{$fullordertt['address2']}" name="address2" type="text">
 
- </li>
 
- <li class="length">
 
- <em>地址1:</em>
 
- <input value="{$fullordertt['address']}" name="address" type="text">
 
- </li>
 
- <li class="lengththree">
 
- <em>申报品名:</em>
 
- <select name="sbpm" class="select class" style="width:59%">
 
- {loop customsdeclaration(50) as $val}
 
- <option value="{$val['ename']}" {if $fullordertt['sbpm'] == $val['ename']}selected="selected"{/if}>{$val['ename']}</option>
 
- {/loop}
 
- </select>
 
- </li>
 
- <li class="lengththree">
 
- <em>中文品名:</em>
 
- <select name="zwpm" class="select class" style="width:50%">
 
- {loop customsdeclaration(50) as $val}
 
- <option value="{$val['zname']}" {if $fullordertt['zwpm'] == $val['zname']}selected="selected"{/if}>{$val['zname']}</option>
 
- {/loop}
 
- </select>
 
- </li>
 
- <li class="lengththree">
 
- <em>海关编码:</em>
 
- <select name="hgbm" class="select class">
 
- {loop customsdeclaration(50) as $val}
 
- <option value="{$val['bname']}" {if $fullordertt['hgbm'] == $val['bname']}selected="selected"{/if}>{$val['bname']}</option>
 
- {/loop}
 
- </select>
 
- </li>
 
- <li class="lengththree">
 
- <em>条数:</em>
 
- <input name="ts" class="must" value="{$fullordertt['ts']}" type="text">
 
- </li>
 
- <li class="lengththree">
 
- <em>单条申报价:</em>
 
- <input name="dtsbjz" class="must" value="{$fullordertt['dtsbjz']}" type="text">
 
- </li>
 
- <li class="lengththree">
 
- <em>总申报价:</em>
 
- <input name="zsbjz" class="must" value="{$fullordertt['zsbjz']}" type="text" readonly style="background-color: #ebebe4;">
 
- </li>
 
- <li class="lengththree">
 
- <em>总重量:</em>
 
- <input name="zzl" class="must" value="{$fullordertt['zzl']}" type="text"><font class="zzldw">{$zzhl}</font>
 
- </li>
 
- <li class="lengththree">
 
- <em>总件数:</em>
 
- <input name="zjs" class="must" value="{$fullordertt['zjs']}" type="text" readonly style="background-color: #ebebe4;">
 
- </li>
 
- <li class="lengththree" style="position:relative;overflow:visible">
 
- {if $fullordertt["source"] != 1}<i class="fa fa-exclamation-circle" id="method" style="position:absolute;z-index:1;left:-15px;top:8px;{if stripos($fullordertt["shippingmethod"],';') !== false}color:#F66{/if}"></i>{/if}
 
- <em>快递方式:</em>
 
- <select name="express" class="select class">
 
- {loop express(100) as $val}
 
- <option value="{$val['id']}" data-type="{$val['type']}" {if $fullordertt['express'] == $val['id']}selected="selected"{/if}>{$val['servicename']}</option>
 
- {/loop}
 
- </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 class="lengththree">
 
- <em>打印类型:</em>
 
- <select name="printtype" class="printtype select class">
 
- <option value="1" {if $fullordertt['printtype'] == 1}selected="selected"{/if}>运单</option>
 
- <option value="2" {if $fullordertt['printtype'] == 2}selected="selected"{/if}>发货单</option>
 
- <option value="3" {if $fullordertt['printtype'] == 3}selected="selected"{/if}>不打印单据</option>
 
- </select>
 
- </li>
 
- <li class="none">
 
- <em>发送留言:</em>
 
- <select name="msg" class="printtype select class">
 
- <option value="1" {if $fullordertt['msg'] == 1}selected="selected"{/if}>1</option>
 
- <option value="2" {if $fullordertt['msg'] == 2}selected="selected"{/if}>2</option>
 
- </select>
 
- </li>
 
- <li class="lengththree">
 
- <em>审核状态:</em>
 
- <b>
 
- {if $fullordertt['review'] == 1}
 
- 未送审
 
- {else if $fullordertt['review'] == 2}
 
- 待审核
 
- {else if $fullordertt['review'] == 3}
 
- 不通过
 
- {else if $fullordertt['review'] == 4}
 
- 取消重审
 
- {else if $fullordertt['review'] == 5}
 
- 审核通过
 
- {else if $fullordertt['review'] == 6 && $fullordertt['reviewtime']!= ''}
 
- {date('Y-m-d H:i',$fullordertt['reviewtime'])}
 
- {/if}
 
- </b>
 
- </li>
 
- <li class="lengththree">
 
- <em>IOSS:</em>
 
- <select name="ioss" class="select class">
 
- <option value="" {if $fullordertt['ioss'] == ''}selected="selected"{/if}>未选择</option>
 
- {loop ioss(100) as $val}
 
- <option value="{$val['ioss']}" {if $fullordertt['ioss'] == $val['ioss']}selected="selected"{/if}>{$val['title']}</option>
 
- {/loop}
 
- </select>
 
- </li>
 
- <li class="lengththree">
 
- <em>购买保险:</em>
 
- {if $fullordertt['print'] != 99}
 
- <input name="bx" class="must" value="{$fullordertt['bx']}" type="text"> USD
 
- {else}
 
- <b>{$fullordertt['bx']}</b> USD
 
- {/if}
 
- </li>
 
- <li class="lengththree">
 
- <em>是否签名:</em>
 
- {if ($fullordertt['review'] < 5 || $vip == '1') && ($fullordertt['express'] == 2 || $fullordertt['express'] == 24 || $fullordertt['express'] == 31)}
 
- <select name="qm" class="printtype select class">
 
- <option value="0" {if $fullordertt['qm'] == 0}selected="selected"{/if}>不需要</option>
 
- <option value="1" {if $fullordertt['qm'] == 1}selected="selected"{/if}>需要</option>
 
- </select>
 
- {else}
 
- <select name="qm" class="printtype select class">
 
- <option value="0">无</option>
 
- </select>
 
- <!--
 
- <b>{if $fullordertt['express'] != 24 && $fullordertt['express'] != 31}{if $fullordertt['qm'] == 0}不需要{else if $fullordertt['qm'] == 1}需要{/if}{else}{if $fullordertt['qm'] == 0}默认{else if $fullordertt['qm'] == 1}成人签名{else if $fullordertt['qm'] == 2}必须签名但可代签{/if}{/if}</b>-->
 
- {/if}
 
- </li>
 
- <!--<li class="lengththree">-->
 
- <!--<em>服务类型:</em>-->
 
- <!--{if $fullordertt['print'] != 3 || ($fullordertt['print'] == 3 && $vip == '1')}-->
 
- <!--<select name="js" class="printtype select class">-->
 
- <!--<option value="0" {if $fullordertt['js'] == 0}selected="selected"{/if}>Ground Advantage</option>-->
 
- <!--<option value="1" {if $fullordertt['js'] == 1}selected="selected"{/if}>PRIORITY</option>-->
 
- <!--<option value="2" {if $fullordertt['js'] == 2}selected="selected"{/if}>EXPRESS</option>-->
 
- <!-- <option value="3" {if $fullordertt['js'] == 3}selected="selected"{/if}>ENVELOPE</option>-->
 
- <!--</select>-->
 
- <!--{else}-->
 
- <!--<b>{if $fullordertt['js'] == 0}Ground Advantage{else if $fullordertt['js'] == 1}PRIORITY{else if $fullordertt['js'] == 2}EXPRESS{/if}</b>-->
 
- <!--{/if}-->
 
- <!--</li>-->
 
- <li class="lengththree">
 
- <em>服务类型: </em>
 
- {if $fullorder['print'] != 3 || ($fullorder['print'] == 3 && $vip == '1')}
 
- 	{if in_array($fullorder['express'],[24,31])}
 
- 	
 
- 		<select name="js" class="printtype select class">
 
- 		<option value="4" {if $fullorder['js'] != 3}selected="selected"{/if}>FICP</option>
 
- 		<option value="3" {if $fullorder['js'] == 3}selected="selected"{/if}>IP</option>
 
- 		
 
- 		</select>
 
- 	{else}
 
- 	
 
- 		<select name="js" class="printtype select class">
 
- 		<option value="0" {if $fullorder['js'] == 0}selected="selected"{/if}>Ground Advantage</option>
 
- 		<option value="1" {if $fullorder['js'] == 1}selected="selected"{/if}>PRIORITY</option>
 
- 		<option value="2" {if $fullorder['js'] == 2}selected="selected"{/if}>EXPRESS</option>
 
- 		<!-- <option value="3" {if $fullorder['js'] == 3}selected="selected"{/if}>ENVELOPE</option>-->
 
- 		</select>
 
- 	{/if}
 
- {else}
 
- 	{if in_array($fullorder['express'],[24,31])}
 
- 		<b>{if ($fullorder['js'] == 3)} IP {else} FICP{/if}</b>
 
- 	{else}
 
- 		<b>{if $fullorder['js'] == 0}Ground Advantage{else if $fullorder['js'] == 1}PRIORITY{else if $fullorder['js'] == 2}EXPRESS{/if}</b>
 
- 	{/if}
 
- {/if}
 
- </li>
 
- <!--
 
- <li class="lengththree">
 
- <em>延迟发货:</em>
 
- {if $fullordertt['print'] != 3}
 
- <select name="yc" class="printtype select class">
 
- <option value="0" {if $fullordertt['yc'] == 0}selected="selected"{/if}>0</option>
 
- <option value="1" {if $fullordertt['yc'] == 1}selected="selected"{/if}>1</option>
 
- <option value="2" {if $fullordertt['yc'] == 2}selected="selected"{/if}>2</option>
 
- <option value="3" {if $fullordertt['yc'] == 3}selected="selected"{/if}>3</option>
 
- <option value="4" {if $fullordertt['yc'] == 4}selected="selected"{/if}>4</option>
 
- <option value="5" {if $fullordertt['yc'] == 5}selected="selected"{/if}>5</option>
 
- <option value="6" {if $fullordertt['yc'] == 6}selected="selected"{/if}>6</option>
 
- <option value="7" {if $fullordertt['yc'] == 7}selected="selected"{/if}>7</option>
 
- </select>
 
- {else}
 
- <b>{$fullordertt['yc']}</b>
 
- {/if}
 
-  天
 
- </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="{$fullordertt['customs']}" name="customs" type="text"> <font class="currency">CNY</font>
 
- </li>
 
- -->
 
- <li class="length">
 
- <em>不合格原因</em>
 
- <b>{$fullordertt['failed']}</b>
 
- </li>
 
- <li class="lengththree">
 
- <em>打印状态:</em>
 
- <b>
 
- {if $fullordertt['print'] == 1}
 
- 不可打印
 
- {else if $fullordertt['print'] == 2}
 
- 未打印
 
- {else if $fullordertt['print'] == 3}
 
- 已打印
 
- {/if}
 
- </b>
 
- </li>
 
- <li class="lengththree">
 
- <em>打印时间:</em>
 
- <b>{if $fullordertt['printtime'] != 0}{date('Y-m-d H:i',$fullordertt['printtime'])}{else}无{/if}
 
- </li>
 
- <li class="lengththree">
 
- <em>打印次数:</em>
 
- <b>{$fullordertt['printnumber']}</b>
 
- </li>
 
- <li class="lengththree">
 
- <em>出库状态:</em>
 
- <b class="clearreturnedit1">
 
- {if $fullordertt['library'] == 1}
 
- 未出库
 
- {else if $fullordertt['library'] == 2}
 
- 已出库
 
- {else if $fullordertt['library'] == 3}
 
- 已退库
 
- {/if}
 
- </b>
 
- </li>
 
- <li class="lengththree">
 
- <em>出库时间:</em>
 
- <b>
 
- {if $fullordertt['librarytime'] != 0}{date('Y-m-d H:i',$fullordertt['librarytime'])}{else}无{/if}
 
- </b>
 
- </li>
 
- <li class="lengththree clearreturnedit2">
 
- {if $fullordertt['library'] == 3}
 
- <em>退库时间:</em>
 
- {else}
 
- <em>允许发货:</em>
 
- {/if}
 
- <b>
 
- {if $fullordertt['library'] == 3}
 
- {date('Y-m-d H:i',$fullordertt['retreattime'])}
 
- {else}
 
- {if $fullordertt['libraryconfirm'] == 1}
 
- 不允许出库
 
- {else if $fullordertt['libraryconfirm'] == 2}
 
- 允许出库
 
- {/if}
 
- {/if}
 
- </b>
 
- </li>
 
- <li class="length">
 
- <em>不能出库原因:</em>
 
- <b>{$fullordertt['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">{$fullordertt['returndata']}</b>
 
- </li>
 
- <li class="length">
 
- <em>生产追踪:</em>
 
- <b>{loop $systemwigsout as $val}{$val}{/loop}</b>
 
- </li>
 
- {if $fullordertt['waybill2'] != ''}
 
- <li class="length">
 
- <em>GES转DHL单号:</em>
 
- <b>{$fullordertt['waybill2']}</b>
 
- </li>
 
- {/if}
 
- </div>
 
- <div style="clear:both;"></div>
 
- </ul>
 
- <div class="need"><input type="hidden" name="id" value="{$fullordertt['id']}" />
 
- <input type="hidden" name="purchase" value="{$fullordertt['purchase']}" />
 
- <input type="hidden" name="cost" value="{$fullordertt['cost']}" /></div>
 
- <input type="hidden" name="et" value="{isset($et) ?$et : '0'}" />
 
- <input type="hidden" name="shop" value="{$fullordertt['shop']}" />
 
- <input type="hidden" name="whlabel" value="{$fullordertt['whlabel']}" />
 
- <input type="hidden" name="data_shipremarks" value="{$fullordertt['shipremarks']}" />
 
- <input type="hidden" name="number" value="{$fullordertt['number']}" />
 
- <input type="hidden" name="jgyc" value="1" />
 
- <div class="button">{if $power ==1}<font class="power" style="float:left;">重置</font><font class="clearreturn" style="float:left;margin-left:20px;">清除退货信息</font>{/if}<font class="return" style="float:left;margin-left:20px;">生成退货标签</font><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/{$fullordertt['orderinfo']}">售后登记</a></font>{else}<font style="float:left;margin-left:20px;">已登记售后</font>{/if}<font class="ddcf" data-f="fullordertt" style="float:left;margin-left:20px;">订单拆分</font><font class="yzaddress" style="margin-right:60px;">USPS验证地址</font> <font class="yzxx">保 存</font><font class="fullorderdata-ts" style="display: none;">保 存</font> <font class="fh">关 闭</font></div>
 
- </div>
 
- <div class="none fullorderdata"></div>
 
- <div class="zm none"></div>
 
- <script type="text/javascript">var addedit="/fullordertt/edit/";var fh="/fullordertt";
 
-  $(".yzxx").click(function() {
 
- 	 var zsbjz = "{$fullordertt['zsbjz']}";
 
- 	 var data_shipremarks = $("input[name='data_shipremarks']").val();
 
- 	  var shipremarks = $("textarea[name='shipremarks']").val();
 
- 	  if(zsbjz == 0 || data_shipremarks != shipremarks)
 
- 	 {
 
- 		 yzxx();
 
- 	 }
 
- 	 else
 
- 	 {
 
- 		  $(".fullorderdata-ts").click();
 
- 	 }
 
- 	  });
 
- 	  function yzxx() {
 
- 	$(".addful .addwp").html("<p style='margin:10px 0;font-weight: bold;text-align: center;font-size: 18px;'>请确认商品是否和仓库品名一致"+$("#datatext").html()+"<div><p style='margin:10px 0;font-weight: bold;'>仓库品名:</p>"+$("textarea[name='shipremarks']").val()+"</div><p style='margin-top:20px;text-align: right;'><font class='qdtjxx_fullorderdata' style='cursor: pointer;padding: 0 16px;height: 24px;line-height: normal;color: #000;font-size: 14px;border: 1px solid #adadad;outline: 0;margin-left: 8px;display: inline-block;background-color: #e1e1e1;'>确认提交</font><font class='qxxx' style='cursor: pointer;padding: 0 16px;height: 24px;line-height: normal;color: #000;font-size: 14px;border: 1px solid #adadad;outline: 0;margin-left: 8px;display: inline-block;background-color: #e1e1e1;'>取 消</font></p>");
 
- 	 $(".datatext tr").each(function() {
 
-        $(".addful .addwp .datatitle").append("<tr><td>"+$(this).find("td:eq(0)").text()+"</td><td>"+$(this).find("td:eq(1)").text()+"</td></tr>");
 
-     });
 
- 	$(".addful .addwp .data").css("min-width","100%");
 
- 	$(".addful .addwp").css("max-height","80%");
 
- 	$(".addful .addwp").css("overflow-y","scroll");
 
- 	$(".addful .addwp .datatitle tr td:eq(10)").css("display","none");
 
- 	$(".addful .addwp .datatitle tr td:eq(11)").css("display","none");
 
- 	$(".addful .addwp .datatext tr td:eq(10)").css("display","none");
 
- 	$(".addful .addwp .datatext tr td:eq(11)").css("display","none");
 
- 	$( ".addwp" ).draggable({revert: true,iframeFix:true});// revert: true,axis: "x"
 
- 	 	window.setInterval("reinitIframe()", 200);
 
- 	$(".addful").show();
 
- 	 };
 
- 	 
 
- 	 
 
- 	 
 
- 	 
 
- 	 
 
- function crcol(){
 
-  if( $("select[name=country]").find("option:selected").val() == 192)
 
- 		{
 
- 			$("select[name=country]").css("color","#000");
 
- 		}
 
- 		else
 
- 		{
 
- 			$("select[name=country]").css("color","#F00");
 
- 		}
 
- };
 
- $("select[name=country]").change(function(){
 
- 	crcol();
 
- 		});
 
- $(document).ready(function() { 
 
- var eid = $("select[name='express']").children("option:selected").val();
 
- var jsxz = '{$fullordertt["js"]}';
 
- if(eid == '2' || eid == '64')//联邦的话替换签名选项
 
- 		{
 
- 			 $("select[name='js']").html('<option value="0">Ground Advantage</option><option value="1">PRIORITY</option><option value="2">EXPRESS</option>');
 
- 			 $("select[name='js']").find('option[value="'+jsxz+'"]').prop('selected','selected');
 
- 		}
 
- 		else if(eid == 24 || eid == 31){
 
- 			//fedex杭州的服务选择
 
- // 			$("select[name='js']").html('<option value="3">IP</option><option value="4">FICP</option>');
 
- // 			$("select[name='js']").find('option[value="'+jsxz+'"]').prop('selected','selected');
 
-             //fedex杭州的服务选择
 
- 			$("select[name='js']").html('<option value="4">FICP</option><option value="3">IP</option>');
 
- 			if(jsxz == 3){
 
- 				$("select[name='js']").find('option[value="3"]').prop('selected','selected');
 
- 			}else{
 
- 				$("select[name='js']").find('option[value="4"]').prop('selected','selected');
 
- 			}
 
- 		}
 
- 		else
 
- 		{
 
- 			 $("select[name='js']").html('<option value="0" selected="selected">无</option>');//<option value="1">需要</option>
 
- 		}
 
- /**
 
- if($("select[name='express']").find("option:selected").val() == '24' || $("select[name='express']").find("option:selected").val() == '31')//联邦的话替换签名选项11
 
- 		{
 
- 			 $("select[name='qm']").html('<option value="0" {if $fullordertt["qm"] == 0}selected="selected"{/if}>默认</option><option value="1" {if $fullordertt["qm"] == 1}selected="selected"{/if}>成人签名</option>');
 
- 		}
 
- 		else
 
- 		{
 
- 			 $("select[name='qm']").html('<option value="0" {if $fullordertt["qm"] == 0}selected="selected"{/if}>不需要</option><option value="1" {if $fullordertt["qm"] == 1}selected="selected"{/if}>需要</option>');
 
- 		}
 
- 		**/
 
- $("#refundtime").calendar();
 
- crcol();
 
-  var index = $("#currency").find("option:selected").text();
 
- 	$(".currency").text(index);
 
- 	 $(".datatext tr").each(function() {
 
- 	//$(this).find("td:eq(9)").text(index);
 
- 	//currencymoney需要更改的价格
 
- 		});
 
- custom();
 
- pptskc('2');
 
- var index = $("select[name='printtype']").find("option:selected").index();
 
- 		if(index == 0)
 
- 	    {
 
- 		var e = $("select[name=express]").find("option:selected").val();
 
- 		var c = $("select[name=country]").find("option:selected").val();
 
- 		if(c != 192)
 
- 		{
 
- 			$("select[name=country]").css("color","#F00");
 
- 		}
 
- 		 $.ajax({
 
-         url: "/fullordertt/customs/",
 
-         data: "e="+e+"&c="+c,
 
-         type: "POST",
 
-         dataType: "json",
 
-         success: function(a) {
 
-             if (a && a.success) {
 
- 				$("input[name=customs]").val(a.money);
 
- 				for(i=0;i<a.msg.length;i++)
 
- 	           {
 
- 				$("select[name=productdescription]").append("<option value='"+a.msg[i]['id']+"'>"+a.msg[i]['title']+"</option>");
 
- 			   }
 
- 				$(".productdescription").show();
 
- 				$(".customs").show();
 
-             } else {
 
- 				$(".productdescription").hide();
 
- 				$(".customs").hide();
 
-             }
 
-         }
 
-     });
 
- 		
 
- 	}else
 
- 		{
 
- 			$(".productdescription").hide();
 
- 				$(".customs").hide();
 
- 		}
 
- });
 
- 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开始
 
- $("input[name=dtsbjz]").bind("input propertychange",function(event){
 
- 	var ts = $("input[name=ts]").val()*1;
 
- 	var dtsbjz = $("input[name=dtsbjz]").val()*1;
 
- 	var num = ts*dtsbjz;
 
-       console.log($("input[name=zsbjz]").val(num.toFixed(2)))
 
- });
 
- $("input[name=ts]").bind("input propertychange",function(event){
 
- 	var ts = $("input[name=ts]").val()*1;
 
- 	var dtsbjz = $("input[name=dtsbjz]").val()*1;
 
- 	var num = ts*dtsbjz;
 
-       console.log($("input[name=zsbjz]").val(num.toFixed(2)))
 
- });
 
- $("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();
 
- 	}
 
- });
 
- //监听input结束
 
- layx.tip('订单物流类型:{$fullordertt["shippingmethod"]}',document.getElementById('method'),'bottom');
 
- $("#klarnadata").click(function() {
 
- 	$(".klarnadata").fadeToggle(300);
 
- });
 
- $("#hqklarna").click(function() {
 
-  $.ajax({
 
-         url: "/fullordertt/klarnadata/",
 
-         data: "number="+$("input[name=number]").val(),
 
-         type: "POST",
 
-         dataType: "json",
 
-         success: function(a) {
 
-             if (a && a.success) {
 
- 				$(".ts p").html(a.msg);
 
- 		         $(".ts").show();
 
-                 setTimeout('$(".ts").fadeOut()', 1000);
 
-             } else {
 
- 				$(".ts p").html(a.msg);
 
- 		         $(".ts").show();
 
-                 setTimeout('$(".ts").fadeOut()', 1000);
 
-             }
 
-         }
 
-     });
 
- });
 
- $('.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")
 
- });
 
-   });
 
-   $('.fullorderdata-ts').click(function()
 
- {
 
- 	var tjje = $("input[name='shouldmoney']").val();
 
- 	var tjwl = $("select[name='express']").children("option:selected").val();
 
- 	var tjqm = $("select[name='qm']").children("option:selected").val();
 
- 	var fwlx = $("select[name='js']").children("option:selected").val();
 
- 	if(tjje > 750 && (tjwl == 24 || tjwl == 31 || tjwl == 2) && tjqm != 1)
 
- 	{
 
- 		layx.confirm('提示','此金额和物流可以选择购买“签名”服务',null,{
 
-     buttons:[
 
-         {
 
-             label:'操作签名',
 
-             callback:function(id, button, event){
 
-                 layx.destroy(id);
 
-             }
 
-         },
 
-         {
 
-             label:'保存信息',
 
-             callback:function(id, button, event){
 
-              $('.fullorderdata').click();
 
-                 layx.destroy(id);
 
-             }
 
-         }
 
-     ]
 
- });
 
- 	}
 
- 	else if(fwlx == 2)
 
- 	{
 
- 		layx.confirm('提示','确定要发“收费加急”吗?(请提前收取加急运费)',null,{
 
-     buttons:[
 
-         {
 
-             label:'确定',
 
-             callback:function(id, button, event){
 
- 				 $('.fullorderdata').click();
 
-                 layx.destroy(id);
 
-             }
 
-         },
 
-         {
 
-             label:'取消',
 
-             callback:function(id, button, event){
 
-                 layx.destroy(id);
 
-             }
 
-         }
 
-     ]
 
- });
 
- 	}
 
- 	else
 
- 	{
 
- 		 $('.fullorderdata').click();
 
- 	}
 
- });
 
- </script>
 
- <script src="{$theme}js/fullorder-addedit.js?v=202401150002"></script>
 
- <script type="text/javascript" src="{$theme}js/time.js"></script>
 
- {Template footer}
 
 
  |