| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836 | 
							- {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']) && $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>
 
- {if $xwuser == 0}
 
- <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>
 
- {else}
 
- <select name="warehouse" id="warehouse" class="select class">
 
- {loop $warehouse as $val}
 
- <option value="{$val['id']}" {if $fullordersmt['type'] == $val['id']}selected="selected"{/if} data-e="{$val['express']}">{$val['title']}</option>
 
- {/loop}</select>
 
- {/if}
 
- </li>
 
- <li>
 
- <em>结算币种:</em>
 
- <select name="currency" id="currency" class="select class">
 
- {loop typeclass(30) as $val}
 
- <option value="{$val['id']}" {if $fullordersmt['currency'] == $val['id']}selected="selected"{/if}>{$val['title']}</option>
 
- {/loop}
 
- </select>
 
- </li>
 
- <li>
 
- <em>订单号:</em>
 
- <b class="orderinfo">{$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>
 
- <!-- 独立站使用下单时间,平台使用付款时间 -->
 
- {if $is == 1}
 
- <li>
 
- <em>订单时间:</em>
 
- <b>{$dtime}</b>
 
- </li>
 
- {else}
 
- <li>
 
- <em>付款时间:</em>
 
- <b>{date('Y-m-d H:i:s',$fullordersmt['buytime'])}</b>
 
- </li>
 
- {/if}
 
- <li>
 
- <!--
 
- <em>预估到帐金额:</em>
 
- <b class="currencymoney budget">{$fullordersmt['budget']}</b>
 
- -->
 
- <em>收款金额:</em>
 
- <input name="skje" class="must currencymoney" value="{$fullordersmt['skje']}" type="text">
 
- <div class="none"><b class="currencymoney budget">{$fullordersmt['budget']}</b></div>
 
- </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>
 
- <select name="capital" class="select class">
 
- <option value="1" {if $fullordersmt['capital'] == 1}selected="selected"{/if}>暂未支付</option>
 
- <option value="2" {if $fullordersmt['capital'] == 2}selected="selected"{/if}>部分支付</option>
 
- <option value="3" {if $fullordersmt['capital'] == 3}selected="selected"{/if}>全部支付</option>
 
- </select>
 
- </li>
 
- <!--
 
- <li class="lengththree">
 
- <em>运费:</em>
 
- <input name="freight" class="must currencymoney" value="{$fullordersmt['freight']}" type="text"> <font class="currency">CNY</font>
 
- </li>
 
- -->
 
- <li class="lengthfour">
 
- <em>物流金额:</em>
 
- <input name="expressmoney" class="must currencymoney" value="{$fullordersmt['expressmoney']}" type="text">
 
- </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>
 
- <input name="shouldmoney" class="must currencymoney" value="{$fullordersmt['shouldmoney']}" type="text" {if $fullordersmt['shouldmoney'] > 200}style="color:#F00"{/if}>
 
- </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>
 
- <input name="pay" value="{$fullordersmt['pay']}" type="text">
 
- </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>
 
- <textarea name="shipremarks">{$fullordersmt['shipremarks']}</textarea>
 
- </li>
 
- <li>
 
- <em>买家ID:</em>
 
- <b>{if $fullordersmt['state'] == 1}无{else}{$fullordersmt['fullname']}{/if}</b>
 
- </li>
 
- <li>
 
- <em>国家:</em>
 
- <select name="country" class="select class">
 
- {loop $country as $val}
 
- <option value="{$val['id']}" {if $fullordersmt['country'] == $val['id']}selected="selected"{/if}>{$val['name']}</option>
 
- {/loop}
 
- </select>
 
- </li>
 
- <li>
 
- <em>公司名:</em>
 
- <input name="client" class="must" value="{$fullordersmt['client']}" type="text"><font style="color:#F00"> *</font>
 
- </li>
 
- <li>
 
- <em>省州:</em>
 
- <input value="{$fullordersmt['province']}" name="province" type="text" {if (($fullordersmt['city'] == 'Newark' || $fullordersmt['city'] == 'Camden') && ($fullordersmt['province'] == 'New Jersey' || $fullordersmt['province'] == 'NJ')) || $fullordersmt['province'] == 'Jersey'}style="color:#F00"{/if}><font style="color:#F00"> *</font>
 
- </li>
 
- <li>
 
- <em>收货人姓名:</em>
 
- <input name="name" class="must" value="{$fullordersmt['name']}" type="text"><font style="color:#F00"> *</font>
 
- </li>
 
- <li>
 
- <em>城市:</em>
 
- <input class="must" value="{$fullordersmt['city']}" name="city" type="text"><font style="color:#F00"> *</font>
 
- </li>
 
- <li>
 
- <em>联系方式:</em>
 
- <input name="phone" class="must" value="{$fullordersmt['phone']}" type="text"><font style="color:#F00"> *</font>
 
- </li>
 
- <li>
 
- <em>邮编:</em>
 
- <input value="{$fullordersmt['zipcode']}" name="zipcode" type="text"><font style="color:#F00"> *</font>
 
- </li>
 
- <li class="length">
 
- <em>地址2:</em>
 
- <input value="{$fullordersmt['address2']}" name="address2" type="text">
 
- </li>
 
- <li class="length">
 
- <em>地址1:</em>
 
- <input value="{$fullordersmt['address']}" name="address" type="text"><font style="color:#F00"> *</font>
 
- </li>
 
- <li class="length">
 
- <em>详细地址预览:</em>
 
- <b class="address">{$fullordersmt['address2']} {$fullordersmt['address']} {$fullordersmt['city']} {$fullordersmt['province']} {loop $country as $val}{if $fullordersmt['country'] == $val['id']}{$val['name']}{/if}{/loop}</b>
 
- </li>
 
- <li class="lengththree">
 
- <em>申报品名:</em>
 
- <select name="sbpm" class="select class">
 
- {loop customsdeclaration(50) as $val}
 
- <option value="{$val['ename']}" {if $fullordersmt['sbpm'] == $val['ename']}selected="selected"{/if}>{$val['ename']}</option>
 
- {/loop}
 
- </select>
 
- </li>
 
- <li class="lengththree">
 
- <em>中文品名:</em>
 
- <select name="zwpm" class="select class">
 
- {loop customsdeclaration(50) as $val}
 
- <option value="{$val['zname']}" {if $fullordersmt['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 $fullordersmt['hgbm'] == $val['bname']}selected="selected"{/if}>{$val['bname']}</option>
 
- {/loop}
 
- </select>
 
- </li>
 
- <li class="lengththree">
 
- <em>条数:</em>
 
- <input name="ts" class="must" value="{$fullordersmt['ts']}" type="text"><font style="color:#F00"> *</font>
 
- </li>
 
- <li class="lengththree">
 
- <em>单条申报价:</em>
 
- <input name="dtsbjz" class="must" value="{$fullordersmt['dtsbjz']}" type="text"><font style="color:#F00"> *</font>
 
- </li>
 
- <li class="lengththree">
 
- <em>总申报价:</em>
 
- <input name="zsbjz" class="must" value="{$fullordersmt['zsbjz']}" type="text" readonly style="background-color: #ebebe4;"><font style="color:#F00"> *</font>
 
- </li>
 
- <li class="lengththree">
 
- <em>总重量:</em>
 
- <input name="zzl" class="must" value="{$fullordersmt['zzl']}" type="text"> <font class="zzldw">{$zzhl}</font>
 
- </li>
 
- <li class="lengththree">
 
- <em>总件数:</em>
 
- <input name="zjs" class="must" value="{$fullordersmt['zjs']}" type="text" readonly style="background-color: #ebebe4;"><font style="color:#F00"> *</font>
 
- </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>
 
- </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['review'] < 5 || $vip == '1') && ($fullordersmt['express'] == 2 || $fullordersmt['express'] == 24 || $fullordersmt['express'] == 31)}
 
- <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}
 
- <select name="qm" class="printtype select class">
 
- <option value="0">无</option>
 
- </select>
 
- <!--
 
- <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['print'] != 3}-->
 
- <!--<select name="js" class="select class">-->
 
- <!--<option value="0" {if $fullordersmt['js'] == 0}selected="selected"{/if}>Ground Advantage</option>-->
 
- <!--<option value="1" {if $fullordersmt['js'] == 1}selected="selected"{/if}>PRIORITY</option>-->
 
- <!--<option value="2" {if $fullordersmt['js'] == 2}selected="selected"{/if}>EXPRESS</option>-->
 
- <!-- <option value="3" {if $fullordersmt['js'] == 3}selected="selected"{/if}>ENVELOPE</option>-->
 
- <!--</select>-->
 
- <!--{else}-->
 
- <!--<b>{if $fullordersmt['js'] == 0}Ground Advantage{else if $fullordersmt['js'] == 1}PRIORITY{/if}</b>-->
 
- <!--{/if}-->
 
- <!--</li>-->
 
- <li class="usps none">
 
- <em>服务类型:</em>
 
- {if $fullordersmt['print'] != 3}
 
- 	{if in_array($fullordersmt['express'],[24,31])}
 
- 	
 
- 		<select name="js" class="select class">
 
- 		<option value="4" {if $fullordersmt['js'] != 3}selected="selected"{/if}>FICP</option>
 
- 		<option value="3" {if $fullordersmt['js'] == 3}selected="selected"{/if}>IP</option>
 
- 		
 
- 		</select>
 
- 	{else}
 
- 		<select name="js" class="select class">
 
- 		<option value="0" {if $fullordersmt['js'] == 0}selected="selected"{/if}>Ground Advantage</option>
 
- 		<option value="1" {if $fullordersmt['js'] == 1}selected="selected"{/if}>PRIORITY</option>
 
- 		<option value="2" {if $fullordersmt['js'] == 2}selected="selected"{/if}>EXPRESS</option>
 
- 		<!-- <option value="3" {if $fullordersmt['js'] == 3}selected="selected"{/if}>ENVELOPE</option>-->
 
- 		</select>
 
- 	{/if}
 
- {else}
 
- <b>
 
-     {if in_array($fullordersmt['express'],[24,31])}
 
-     	<b>{if ($fullordersmt['js'] == 3)} IP {else} FICP{/if}</b>
 
-     {else}
 
-     	<b>{if $fullordersmt['js'] == 0}Ground Advantage{else if $fullordersmt['js'] == 1}PRIORITY{else if $fullordersmt['js'] == 2}EXPRESS{/if}</b>
 
-     {/if}
 
- {/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 && $fullordersmt['reviewtime']!= ''}
 
- {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']}" /></div>
 
- <input type="hidden" name="et" value="{isset($et) ?$et : '0'}" />
 
- <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="data_shipremarks" value="{$fullordersmt['shipremarks']}" />
 
- <input type="hidden" name="number" value="{$fullordersmt['number']}" />
 
- <div class="button">{if $power ==1}<font class="power" style="float:left;">重置</font><font class="return" style="float:left;margin-left:20px;">生成退货标签</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="javascript:void(0)" onclick="addShouhu(this)" data-uu="/returngoods/add/{$fullordersmt['orderinfo']}/{$fullordersmt['id']}">售后登记</a></font>{else}<font style="float:left;margin-left:20px;">已登记售后</font>{/if}<font class="ddcf" data-f="fullordersmt" style="float:left;margin-left:20px;">订单拆分</font> <font class="yzaddress usps none" style="margin-right:60px;">验证地址</font> {if $fullordersmt['merge'] ==0 || $fullordersmt['merge'] == $fullordersmt['id']}<font class="yzxx">保 存</font> <font class="bcbz" style="display: none;">保 存</font> {/if}<font class="fh">关 闭</font></div>
 
- </div>
 
- <div class="zm none"></div>
 
- <script type="text/javascript">
 
- var addedit="/fullordersmt/edit/";var fh="/fullordersmt";
 
-   $(".yzxx").click(function() {
 
- 	 var zsbjz = "{$fullordersmt['zsbjz']}";
 
- 	 var data_shipremarks = $("input[name='data_shipremarks']").val();
 
- 	  var shipremarks = $("textarea[name='shipremarks']").val();
 
- 	  if(zsbjz == 0 || data_shipremarks != shipremarks)
 
- 	 {
 
- 		 yzxx();
 
- 	 }
 
- 	 else
 
- 	 {
 
- 		  $(".bcbz").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_bcbz' 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 = '{$fullordersmt["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杭州的服务选择
 
- 			
 
- 			if(jsxz == 3){
 
- 				$("select[name='js']").html('<option value="4">FICP</option><option value="3">IP</option>');
 
- 				$("select[name='js']").find('option[value="3"]').prop('selected','selected');
 
- 			}else{
 
- 				$("select[name='js']").html('<option value="4">FICP</option>');
 
- 				$("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')//联邦的话替换签名选项
 
- 		{
 
- 			 $("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' || $("select[name='express']").find("option:selected").val() == '64')
 
-     	{
 
-     		$(".usps").show();
 
-     		$(".qm").show();
 
-     	}
 
-     	else if( ($("select[name='express']").find("option:selected").val() == '24') || ($("select[name='express']").find("option:selected").val() == '31') ){
 
- 				$(".usps").show();
 
- 				$(".qm").show();
 
- 		}
 
- $("#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: "/fullordersmt/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结束
 
- $('.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")
 
- });
 
-   });
 
- function addShouhu(that){
 
- 	let url = $(that).data("uu")
 
- 	layx.load('loadId','请求中。。。');
 
- 	location.href=url
 
- }
 
- </script>
 
- <script src="{$theme}js/fullorder-addedit.js?v=202401150002"></script>
 
- <script type="text/javascript" src="{$theme}js/time.js"></script>
 
- {Template footer}
 
 
  |