| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295 |
- {Template header}
- <style type="text/css">
- .calendar{POSITION:absolute;}
- .datatext_bak{
- border-top: 0px #ccc solid;
- }
- .data_bak{
-
- width: 100%;
- border: 1px #ccc solid;
- }
- .isjiaji{
- color:red;
- font-size:20px;
- font-weight: bold;
- padding:10px
- }
- .isjiaji_hid{
- display: none;
- }
- </style>
- <link rel="stylesheet" href="{$theme}js/tishi/mTips.css?v=20250916">
- <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>
- <a href="javascript:void(0);" class="ly_mcth">4*7一键替换成5*7</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']}" {if isset($val['err_sku'])&&($val['err_sku'] == 1) } style="background-color: #FF3;" {/if}>
- <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"{elseif isset($val['zd']) && $fullorder['type'] == 5}style="color:#93c" {/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}
- <!-- <font style="padding: 2px 10px; margin: 0 6px;color: #fff;border: 1px solid #f51;color: #f51;border-radius: 5px;cursor: pointer;" onclick="fuzhishangpin(this)">复制商品</font> -->
- </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 $fullorder['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',$fullorder['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 $fullorder['currency'] == $val['id']}selected="selected"{/if}>{$val['title']}</option>
- {/loop}
- </select>
- </li>
- <li>
- <em>订单号:</em>
- <b class="orderinfo">{$fullorder['orderinfo']}</b>
- </li>
- <li>
- <em>编号:</em>
- <b>{$fullorder['number']}</b>
- </li>
- <li>
- <em>订单状态:</em>
- {if ($fullorder['state'] == 214 || $fullorder['state'] == 217) && $vip != '1'}
- {loop typeclass(29,2) as $val}
- {if ($val['id'] == $fullorder['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 $fullorder['state'] == $val['id']}selected="selected"{/if}>{$val['spare']}</option>
- {/loop}
- <option value="283" {if $fullorder['state'] == '283' || $fullorder['state'] == '0'}selected="selected"{/if}>null</option>
- </select>
- {/if}
- </li>
- <li>
- <em>资金状态:</em>
- <select name="capital" class="select class">
- <option value="1" {if $fullorder['capital'] == 1}selected="selected"{/if}>暂未支付</option>
- <option value="2" {if $fullorder['capital'] == 2}selected="selected"{/if}>部分支付</option>
- <option value="3" {if $fullorder['capital'] == 3}selected="selected"{/if}>全部支付</option>
- </select>
- </li>
- <li class="lengthtwo">
- <em>丢件险:</em>
- <b>{$fullorder['insurance']}</b>
- </li>
- <!-- <li class="lengththree">
- <em>收款金额:</em>
- <input name="skje" class="must currencymoney" value="{$fullorder['skje']}" type="text">
- <div class="none"><b class="currencymoney budget">{$fullorder['budget']}</b></div>
- </li> -->
- <li class="lengthtwo">
- <em>预估到帐金额:</em>
- <b class="currencymoney budget">{$fullorder['budget']}</b>
- </li>
- <!--
- <li class="lengththree">
- <em>运费:</em>
- <input name="freight" class="must currencymoney" value="{$fullorder['freight']}" type="text"> <font class="currency">CNY</font>
- </li>
- <li class="lengthfour">
- <em>物流金额:</em>
- <input name="expressmoney" class="must currencymoney" value="{$fullorder['expressmoney']}" type="text">
- </li>
- -->
- <li class="lengththree">
- <em>补/退原额:</em>
- <input name="refundy" class="must currencymoney" value="{$fullorder['refundy']}" type="text">
- </li>
- <li class="lengththree">
- <em>补/退净额:</em>
- <input name="refundj" class="must currencymoney" value="{$fullorder['refundj']}" type="text">
- </li>
- <li class="lengththree">
- <em>订单金额:</em>
- {if $power ==1}
- <input name="shouldmoney" class="must currencymoney" value="{$fullorder['shouldmoney']}" type="text" {if $fullorder['shouldmoney'] > 499}style="color:#F00"{/if}>
- {else}
- <input name="shouldmoney" class="must currencymoney" value="{$fullorder['shouldmoney']}" type="text" readonly style="background-color: #ebebe4;{if $fullorder['shouldmoney'] > 499}color:#F00{/if}">
- {/if}
- </li>
- <div class="refund {if $fullorder['refundy'] == 0}none{/if}">
- <li>
- <em>日 期:</em>
- <input name="rtime" id="refundtime" value="{$fullorder['rtime']!=0?date('Y-m-d',$fullorder['rtime']):''}" type="text">
- </li>
- <li>
- <em>交易号:</em>
- <input name="rpaypal" value="{$fullorder['rpaypal']}" type="text">
- </li>
- <li class="length">
- <em>原 因:</em>
- <textarea name="rtext" style="height:46px;">{$fullorder['rtext']}</textarea>
- </li>
- </div>
- <input type="hidden" id="check_fpdata" value="{$fullorder['fpdata']}">
- {if $is == 1}
- <li class="length">
- <em>产品标题:</em>
- <b>{$product}</b>
- </li>
- {if $fullorder['source'] != 1}
- <li class="length">
- <em>商品属性:</em>
- <b>{$fullorder['parameter']}</b>
- </li>
- <li class="length">
- <em>SKU:</em>
- <b>{$fullorder['issku']}</b>
- </li>
- {/if}
- <li class="lengththree">
- <em>产品ID:</em>
- <b >{$product_ids}</b>
- </li>
-
- <li class="lengththree">
- <em>Subtotal:</em>
- <b >{$sub_total}</b>
- </li>
- <li class="lengththree">
- <em>Row Total:</em>
- <b >{$row_total}</b>
- </li>
- <li class="lengththree">
- <em >Quantity:</em>
- <b {if $qc > 0}style="color:#F00"{/if}>{$fullorder['quantity']}</b>
- </li>
- <li class="lengththree">
- <em style="width: 80px;">转单号:</em>
- <input style="width: 60%;" name="waybillid" value="{$fullorder['waybillid']}" type="text">
- </li>
- <li class="lengththree">
- <em style="width: 80px;">运单号:</em>
- <input style="width: 60%;" name="waybill" value="{$fullorder['waybill']}" type="text">
- </li>
- <li class="length">
- <em>客户留言:</em>
- <b style="color:#F00">{$fullorder['clientremarks']}</b>
- </li>
- {else}
- <li class="length">
- <em>运单号:</em>
- <input name="waybill" value="{$fullorder['waybill']}" type="text">
- </li>
- {/if}
- <li class="length remark">
- <em>订单备注:</em>
- <textarea name="orderremarks" style="height:25px;">{$fullorder['orderremarks']}</textarea>
- </li>
- <li class="length remark">
- <em>仓库品名:</em>
- <textarea name="shipremarks">{$fullorder['shipremarks']}</textarea>
- </li>
- <li class="length remark">
- <em>是否加急:</em>
- <select id="is_jiaji_id" name="is_jiaji" class="select" >
- <option value="0" {if $fullorder['is_jiaji'] == 0}selected="selected"{/if}>否</option>
- <option value="1" {if $fullorder['is_jiaji'] == 1}selected="selected"{/if}>是</option>
- </select>
- <span id="isjiaji_flag" class="isjiaji {if $fullorder['is_jiaji'] == 0} isjiaji_hid{/if}">*</span>
- </li>
- <li style="position:relative;overflow:visible">
- <em>交易号:</em>
- {if $power ==1 && $fullorder['source'] == 1}<input name="paypal" value="{$fullorder['paypal']}" type="text" {$klarnacolor}>{else}<b {$klarnacolor}>{$fullorder['paypal']}{/if}</b>
- {if $fullorder['pay'] == 22 || $fullorder['pay'] == 23 || $fullorder['pay'] == 26 || $fullorder['pay'] == 27 || $fullorder['pay'] == 28 || $fullorder['pay'] == 29 || $fullorder['pay'] == 1211 || $fullorder['pay'] == 7}
- {if $klarnadata == '' && ($fullorder['pay'] == 22 || $fullorder['pay'] == 23 || $fullorder['pay'] == 26 || $fullorder['pay'] == 27 || $fullorder['pay'] == 28 || $fullorder['pay'] == 29 || $fullorder['pay'] == 1211 || $fullorder['pay'] == 7)}
- <i class="fa fa-random fa-rotate-90" id="hqklarna" style="position:absolute;z-index:1;right:60px;top:8px;"></i>
- {else}
- <i class="fa fa-plus" id="klarnadata" style="position:absolute;z-index:1;right:60px;top:8px;"></i>
- {/if}
- {/if}
- </li>
- <li class="lengthfour">
- <em>支付方式:</em>
- {if $vip == '1' && $fullorder['source'] == 1}
- <select name="pay" class="select class">
- {loop typeclass(4,3,100) as $val}
- <option value="{$val['id']}" {if $fullorder['pay'] == $val['id']}selected="selected"{/if}>{$val['title']}</option>
- {/loop}</select>
- {else}
- <b>{loop typeclass(4,3,100) as $val}{if $fullorder['pay'] == $val['id']}{$val['title']}{/if}{/loop}</b>
- {/if}
- </li>
- <li class="lengthfour">
- <em>卖家保障:</em>
- <b style="width:38%;color:#F00">{$fullorder['guarantee']}</b>
- </li>
- {if isset($klarnadata[1]) && $fullorder['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($fullorder['saddress']))} style="color:#f00"{/if}>{$klarnadata[3]}</b>
- </li>
- </div>
- {/if}
- {if isset($klarnadata[1]) && ($fullorder['pay'] == 26 || $fullorder['pay'] == 27 || $fullorder['pay'] == 28 || $fullorder['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]) && ($fullorder['pay'] == 22 || $fullorder['pay'] == 7)}
- <div class="klarnadata none">
- <li class="length">
- <em>name:</em>
- <b {if str_replace(' ','',strtoupper($klarnadata[1]['name'])) != str_replace(' ','',strtoupper($fullorder['sname'])) || str_replace(' ','',strtoupper($klarnadata[1]['name'])) != str_replace(' ','',strtoupper($fullorder['bname']))}style="color:#f00"{/if}>{$klarnadata[1]['name']}</b>
- </li>
- <li class="length">
- <em>address:</em>
- <b {if str_replace(array(' ','.',','),'',strtoupper($fullorder['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($fullorder['email'])}style="color:#f00"{/if}>{$klarnadata[1]['email']}</b>
- </li>
- </div>
- {/if}
- {if isset($klarnadata[1]) && $fullorder['pay'] == 1211}
- <div class="klarnadata none">
- <li class="length">
- <em>Stripe Amount:</em>
- <b>{$klarnadata[1]['shouldmoney']}</b>
- </li>
- </div>
- {/if}
- <li>
- <em>Bill Name:</em>
- <b>{$fullorder['bname']}</b>
- </li>
- <li>
- <em>Ship Name:</em>
- <b>{$fullorder['sname']}</b>
- </li>
- <li class="length">
- <em>Bill Address:</em>
- <b {if strcasecmp($fullorder['baddress'],$fullorder['saddress']) != 0}style="color:#09F"{/if}>{$fullorder['baddress']}</b>
- </li>
- <li class="length">
- <em>Ship Address:</em>
- <b>{$fullorder['saddress']}</b>
- </li>
- <li>
- <em>邮箱:</em>
- {if empty($fullorder['send_email'])}
- <input name="send_email" value="{$fullorder['email'] }" type="text">
- {else}
- <input name="send_email" value="{$fullorder['send_email']}" type="text">
- {/if}
- <input type="hidden" name="email" value="{$fullorder['email']}" >
- </li>
- <li>
- <em>国家:</em>
- <select name="country" class="select class">
- {loop $country as $val}
- <option value="{$val['id']}" {if $fullorder['country'] == $val['id']}selected="selected"{/if}>{$val['name']}</option>
- {/loop}
- </select>
- </li>
- <li>
- <em>联系方式:</em>
- <input name="phone" class="must" value="{$fullorder['phone']}" type="text">
- </li>
- <li>
- <em>省州:</em>
- <input value="{$fullorder['province']}" name="province" type="text" {if (($fullorder['city'] == 'Newark' || $fullorder['city'] == 'Camden') && ($fullorder['province'] == 'New Jersey' || $fullorder['province'] == 'NJ')) || $fullorder['province'] == 'Jersey'}style="color:#F00"{/if}>
- </li>
- <li>
- <em>公司名:</em>
- <input name="client" value="{$fullorder['client']}" type="text">
- </li>
- <li>
- <em>城市:</em>
- <input class="must" value="{$fullorder['city']}" name="city" type="text" {if ($fullorder['city'] == 'Newark' || $fullorder['city'] == 'Camden') && ($fullorder['province'] == 'New Jersey' || $fullorder['province'] == 'NJ')}style="color:#F00"{/if}>
- </li>
- <li>
- <em>收货人姓名:</em>
- <input name="name" class="must" value="{$fullorder['name']}" type="text">
- </li>
- <li>
- <em>邮编:</em>
- <input value="{$fullorder['zipcode']}" name="zipcode" type="text">
- </li>
- {if $is == 5}
- <li class="length">
- <em>街道:</em>
- <input value="{$fullorder['street']}" name="street" type="text">
- </li>
- {/if}
- <li class="length">
- <em>地址2:</em>
- <input value="{$fullorder['address2']}" name="address2" type="text">
- </li>
- <li class="length">
- <em>地址1:</em>
- <input value="{$fullorder['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 $fullorder['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 $fullorder['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 $fullorder['hgbm'] == $val['bname']}selected="selected"{/if}>{$val['bname']}</option>
- {/loop}
- </select>
- </li>
- <li class="lengththree">
- <em>条数:</em>
- <input name="ts" class="must" value="{$fullorder['ts']}" type="text">
- </li>
- <li class="lengththree">
- <em>单条申报价:</em>
- <input name="dtsbjz" class="must" value="{$fullorder['dtsbjz']}" type="text">
- </li>
- <li class="lengththree">
- <em>总申报价:</em>
- <input name="zsbjz" class="must" value="{$fullorder['zsbjz']}" type="text" readonly style="background-color: #ebebe4;">
- </li>
- <li class="lengththree">
- <em>申报重量:</em>
- <input name="zzl" class="must" value="{$fullorder['zzl']}" type="text"> <font class="zzldw">{$zzhl}</font>
- </li>
- <li class="lengththree">
- <em>总件数:</em>
- <input name="zjs" class="must" value="{$fullorder['zjs']}" type="text" readonly style="background-color: #ebebe4;">
- </li>
- <li class="lengththree" style="position:relative;overflow:visible">
- {if $fullorder["source"] != 1}<i class="fa fa-exclamation-circle" id="method" style="position:absolute;z-index:1;left:-15px;top:8px;{if stripos($fullorder["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-sbpm="{$val['sbpm']}" data-ts="{$val['xxts']}" data-type="{$val['type']}" {if $fullorder['express'] == $val['id']}selected="selected"{/if}>{$val['servicename']}</option>
- {/loop}
- </select>
- <font class="expressfa"><i id="show_express" class="fa fa-question-circle " style="display: none;" ></i></font>
- </li>
- <li class="lengththree">
- <em>打印类型:</em>
- <select name="printtype" class="printtype select class">
- {if $fullorder['type'] == 5}
- <option value="1" {if $fullorder['printtype'] == 1}selected="selected"{/if}>运单</option>
- <option value="2" {if $fullorder['printtype'] == 2}selected="selected"{/if}>发货单</option>
- <option value="3" {if $fullorder['printtype'] == 3}selected="selected"{/if}>不打印单据</option>
- {else}
- <option value="2" {if $fullorder['printtype'] == 2}selected="selected"{/if}>发货单</option>
- <option value="1" {if $fullorder['printtype'] == 1}selected="selected"{/if}>运单</option>
- <option value="3" {if $fullorder['printtype'] == 3}selected="selected"{/if}>不打印单据</option>
- {/if}
- </select>
- </li>
- <li class="none">
- <em>发送留言:</em>
- <select name="msg" class="printtype select class">
- <option value="1" {if $fullorder['msg'] == 1}selected="selected"{/if}>1</option>
- <option value="2" {if $fullorder['msg'] == 2}selected="selected"{/if}>2</option>
- </select>
- </li>
- <li class="lengththree">
- <em>审核状态:</em>
- <b>
- {if $fullorder['review'] == 1}
- 未送审
- {else if $fullorder['review'] == 2}
- 待审核
- {else if $fullorder['review'] == 3}
- 不通过
- {else if $fullorder['review'] == 4}
- 取消重审
- {else if $fullorder['review'] == 5}
- 审核通过
- {else if $fullorder['review'] == 6 && $fullorder['reviewtime']!= ''}
- {date('Y-m-d H:i',$fullorder['reviewtime'])}
- {/if}
- </b>
- </li>
- <li class="lengththree">
- <em>IOSS:</em>
- <select name="ioss" class="select class">
- <option value="" {if $fullorder['ioss'] == ''}selected="selected"{/if}>未选择</option>
- {loop ioss(100) as $val}
- <option value="{$val['ioss']}" {if $fullorder['ioss'] == $val['ioss']}selected="selected"{/if}>{$val['title']}</option>
- {/loop}
- </select>
- </li>
- <li class="lengththree">
- <em>购买保险:</em>
- {if $fullorder['print'] != 99}
- <input name="bx" class="must" value="{$fullorder['bx']}" type="text"> USD
- {else}
- <b>{$fullorder['bx']}</b> USD
- {/if}
- </li>
- <li class="lengththree">
- <em>是否签名:</em>
- {if ($fullorder['review'] < 5 || $vip == '1') && ($fullorder['express'] == 2 || $fullorder['express'] == 24 || $fullorder['express'] == 31)}
- {if $fullorder['express'] == 2}
- <select name="qm" class="printtype select class">
- <option value="0" {if $fullorder['qm'] == 0}selected="selected"{/if}>默认</option>
- <option value="1" {if $fullorder['qm'] == 1}selected="selected"{/if}>签名</option>
- </select>
- {else}
- <select name="qm" class="printtype select class">
- <option value="0" {if $fullorder['qm'] == 0}selected="selected"{/if}>默认</option>
- <option value="1" {if $fullorder['qm'] == 1}selected="selected"{/if}>成人签名</option>
- </select>
- {/if}
- {else}
- <select name="qm" class="printtype select class">
- <option value="0">无</option>
- </select>
- <!--
- <b>{if $fullorder['express'] != 24 && $fullorder['express'] != 31}{if $fullorder['qm'] == 0}不需要{else if $fullorder['qm'] == 1}需要{/if}{else}{if $fullorder['qm'] == 0}默认{else if $fullorder['qm'] == 1}成人签名{else if $fullorder['qm'] == 2}必须签名但可代签{/if}{/if}</b>
- -->
- {/if}
- </li>
- <!--<li class="lengththree">-->
- <!--<em>服务类型:</em>-->
- <!--{if $fullorder['print'] != 3 || ($fullorder['print'] == 3 && $vip == '1')}-->
- <!--<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>-->
- <!--{else}-->
- <!--<b>{if $fullorder['js'] == 0}Ground Advantage{else if $fullorder['js'] == 1}PRIORITY{else if $fullorder['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 if $fullorder['express'] == 1}
- <select name="js" class="printtype select class">
- <option value="5" {if $fullorder['js'] != 6}selected="selected"{/if}>无 </option>
- <option value="6" {if $fullorder['js'] == 6}selected="selected"{/if}>从发件方付税 </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 if $fullorder['express'] == 1}
- <b>{if ($fullorder['js'] == 6)} 从发件方付税 {else } 无 {/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>
- <!-- DHL官方 如果是墨西哥或巴西 必须填写收件人的税号 -->
- {if ( in_array($fullorder['country'],[119 ]) && $fullorder['express'] == 1)}
- <li class = "r_tax_id " >
- <em style="width: 120px !important;">收件人税号填写:</em>
- <input value="{$fullorder['r_tax_id']}" name="r_tax_id" type="text">
- </li>
- {else}
- <li class = "r_tax_id none">
- <em style="width: 120px !important;">收件人税号填写:</em>
- <input value="{$fullorder['r_tax_id']}" name="r_tax_id" type="text">
- </li>
- {/if}
- <!--
- <li class="lengththree">
- <em>延迟发货:</em>
- {if $fullorder['print'] != 3}
- <select name="yc" class="printtype select class">
- <option value="0" {if $fullorder['yc'] == 0}selected="selected"{/if}>0</option>
- <option value="1" {if $fullorder['yc'] == 1}selected="selected"{/if}>1</option>
- <option value="2" {if $fullorder['yc'] == 2}selected="selected"{/if}>2</option>
- <option value="3" {if $fullorder['yc'] == 3}selected="selected"{/if}>3</option>
- <option value="4" {if $fullorder['yc'] == 4}selected="selected"{/if}>4</option>
- <option value="5" {if $fullorder['yc'] == 5}selected="selected"{/if}>5</option>
- <option value="6" {if $fullorder['yc'] == 6}selected="selected"{/if}>6</option>
- <option value="7" {if $fullorder['yc'] == 7}selected="selected"{/if}>7</option>
- </select>
- {else}
- <b>{$fullorder['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="{$fullorder['customs']}" name="customs" type="text"> <font class="currency">CNY</font>
- </li>
- -->
- <li class="length">
- <em>不合格原因</em>
- <b>{$fullorder['failed']}</b>
- </li>
- <li class="lengththree">
- <em>打印状态:</em>
- <b>
- {if $fullorder['print'] == 1}
- 不可打印
- {else if $fullorder['print'] == 2}
- 未打印
- {else if $fullorder['print'] == 3}
- 已打印
- {/if}
- </b>
- </li>
- <li class="lengththree">
- <em>打印时间:</em>
- <b>{if $fullorder['printtime'] != 0}{date('Y-m-d H:i',$fullorder['printtime'])}{else}无{/if}
- </li>
- <li class="lengththree">
- <em>打印次数:</em>
- <b>{$fullorder['printnumber']}</b>
- </li>
- <li class="lengththree">
- <em>出库状态:</em>
- <b class="clearreturnedit1">
- {if $fullorder['library'] == 1}
- 未出库
- {else if $fullorder['library'] == 2}
- 已出库
- {else if $fullorder['library'] == 3}
- 已退库
- {/if}
- </b>
- </li>
- <li class="lengththree">
- <em>出库时间:</em>
- <b>
- {if $fullorder['librarytime'] != 0}{date('Y-m-d H:i',$fullorder['librarytime'])}{else}无{/if}
- </b>
- </li>
- <li class="lengththree clearreturnedit2">
- {if $fullorder['library'] == 3}
- <em>退库时间:</em>
- {else}
- <em>允许发货:</em>
- {/if}
- <b>
- {if $fullorder['library'] == 3}
- {date('Y-m-d H:i',$fullorder['retreattime'])}
- {else}
- {if $fullorder['libraryconfirm'] == 1}
- 不允许出库
- {else if $fullorder['libraryconfirm'] == 2}
- 允许出库
- {/if}
- {/if}
- </b>
- </li>
- <li class="length">
- <em>不能出库原因:</em>
- <b>{$fullorder['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">{$fullorder['returndata']}</b>
- </li>
- <li class="length">
- <em>生产追踪:</em>
- <b>{loop $systemwigsout as $val}{$val}{/loop}</b>
- </li>
- {if $fullorder['waybill2'] != ''}
- <!-- <li class="length">
- <em>GES转DHL单号:</em>
- <b>{$fullorder['waybill2']}</b>
- </li> -->
- {/if}
- </div>
- <div style="clear:both;"></div>
- </ul>
- <div class="need"><input type="hidden" name="id" value="{$fullorder['id']}" />
- <input type="hidden" name="purchase" value="{$fullorder['purchase']}" />
- <input type="hidden" name="cost" value="{$fullorder['cost']}" /></div>
- <input type="hidden" name="et" value="{isset($et) ?$et : '0'}" />
- <input type="hidden" name="shop" value="{$fullorder['shop']}" />
- <input type="hidden" name="whlabel" value="{$fullorder['whlabel']}" />
- <input type="hidden" name="number" value="{$fullorder['number']}" />
- <input type="hidden" name="data_shipremarks" value="{$fullorder['shipremarks']}" />
- <input type="hidden" name="jgyc" value="1" />
- <div class="button">{if $power ==1}<font class="power" style="float:left;">重置</font>{if $userid == 10}<font class="clearreturn" style="float:left;margin-left:20px;">清除退货信息</font>{/if}{/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="javascript:void(0)" onclick="addShouhu(this)" data-uu="/returngoods/add/{$fullorder['orderinfo']}/{$fullorder['id']}">售后登记</a></font>{else}<font style="float:left;margin-left:20px;" class="tz_returngoods" data-url="/returngoods?orderinfo={$fullorder['orderinfo']}">已登记售后</font>{/if}<font class="ddcf" data-f="fullorder" 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 src="{$theme}js/tishi/mTips.js?v=20250916"></script>
- <script type="text/javascript">var addedit="/fullorder/edit/";var fh="/fullorder";
- $(".yzxx").click(function() {
- var zsbjz = "{$fullorder['zsbjz']}";
- var data_shipremarks = $("input[name='data_shipremarks']").val();
- var shipremarks = $("textarea[name='shipremarks']").val();
- // 判断下上边的数据改变没有
- let e = "";
- $(".datatext tr").each(function() {
- var td0 = $(this).find("td:eq(0)").text().replace(/\+/g, "%2B");
- var td0 = td0.replace(/&/g, "%26");
- var td8 = '';
- if ($(this).find("td:eq(8)").length > 0) {
- if ($(this).find("td:eq(8)").text() == '') {
- td8 = '0';
- } else {
- td8 = $(this).find("td:eq(8)").text();
- }
- } else {
- td8 = '0';
- }
- e = e + $(this).attr("data-list") + "|" + td0 + "|" + $(this).find("td:eq(1)").text() + "|" + $(
- this).find("td:eq(2)").text() + "|" + $(this).find("td:eq(3)").text() + "|" + $(this)
- .find("td:eq(5)").text() + "|" + $(this).find("td:eq(6)").text() + "|" + $(this).find(
- "td:eq(7)").text() + "|" + td8 + "|" + $(this).find("td:eq(9)").text() + ";";
- });
- e = e.replace(/(有可用特殊库存|已选择特殊库存|有可用现货库存|已选择现货库存|已选择库存)/g, '');
- if(!e){
- layx.alert('提示',"没有产品不允许提交");
- return ;
- }
- let fpdata = $("#check_fpdata").val();
-
- if(zsbjz == 0 || data_shipremarks != shipremarks || e != fpdata)
- {
-
- $.ajax({
- url: "/choice/check_pm_sku/",
- data: "fpdata="+encodeURI(e)+"&shipremarks="+shipremarks,
- type: "POST",
- dataType: "json",
- success: function(a) {
- if(a.flag){
- $(".fullorderdata-ts").click();
- }else{
- yzxx(a)
- }
-
- }
- });
- }
- else
- {
- $(".fullorderdata-ts").click();
- }
-
- });
- function yzxx(a) {
- let pmen_list = a.pmen_list;
- let str = "";
- str = "<p style='margin:10px 0;font-weight: bold;text-align: center;font-size: 18px;'>请确认商品是否和仓库品名一致";
- str += '<table class="datatext_bak data_bak" border="0" style="border-collapse:collapse;">';
- str += "<tr data-list='0'><td style='padding:10px'><b>商品名称</b></td><td style='padding:10px'><b>数量</b></td></tr>";
- for(var i in pmen_list){
- str += '<tr data-list="'+pmen_list[i].feature+'">';
- str += '<td style="padding:10px">'+pmen_list[i].title+'</td>';
- str += '<td style="padding:10px">'+pmen_list[i].qty+'</td>';
- str += '</tr>';
- }
-
- str += '</table>';
- str +="<div><p style='margin:10px 0;font-weight: bold;'>仓库品名:</p>";
- str +=" "+$("textarea[name='shipremarks']").val()+" ";
- str +="</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>";
- $(".addful .addwp").html(str);
- str = ""
- $(".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 = '{$fullorder["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 if(eid == 1){
- $("select[name='js']").html('<option value="5">无</option><option value="6">从发件方付税</option>');
- if(jsxz == 6){
- $("select[name='js']").find('option[value="6"]').prop('selected','selected');
- }else{
- $("select[name='js']").find('option[value="5"]').prop('selected','selected');
- }
- }
- else
- {
- $("select[name='js']").html('<option value="0" selected="selected">无</option>');//<option value="1">需要</option>
- }
- if(eid*1 > 0 ){
-
-
-
-
- //$('#tipdata').attr('title', a.msg);
- let msg = $("select[name='express']").children("option:selected").data('ts')
- $("#show_express").css("display","inline-block")
- showExpressTiShi(msg)
-
- }
- /**
- 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 $fullorder["qm"] == 0}selected="selected"{/if}>默认</option><option value="1" {if $fullorder["qm"] == 1}selected="selected"{/if}>成人签名</option>');
- }
- else
- {
- $("select[name='qm']").html('<option value="0" {if $fullorder["qm"] == 0}selected="selected"{/if}>不需要</option><option value="1" {if $fullorder["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: "/fullorder/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();
- }
- let printtype = "{$fullorder['printtype']}";
- console.log("=====================")
-
- if(printtype*1 == 0){
- let tmp_express = $("select[name=express]").find("option:selected").val();
- if(tmp_express){
- $("select[name=printtype]").val($("select[name=express]").find("option:selected").data('type'))
- }else{
- let tmp_first_express = $("select[name=express] option")[0].data('type');
- console.log(tmp_first_express)
- $("select[name=printtype]").val(tmp_first_express)
- }
- }
- let sbpm = "{$fullorder['sbpm']}";
-
- if(sbpm.length == 0){
- let tmp_express = $("select[name=express]").find("option:selected").val();
- console.log(tmp_express)
- let tmp_sbpm = ""
- if(tmp_express){
- tmp_sbpm = $("select[name=express]").find("option:selected").data('sbpm');
-
- }else{
- tmp_sbpm = $("select[name=express] option")[0].data('sbpm');
- }
- if(tmp_sbpm.length > 0){
- $("select[name=sbpm]").val(tmp_sbpm).trigger('change')
- }
-
- }
- console.log("--------------------------")
- });
- 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;
- let regex = /^-?\d+(\.\d+)+$/;
- if(regex.test(dtsbjz)){
- //直接把单挑申报价改为 2位
- dtsbjz = (dtsbjz.toFixed(2))*1
- $("input[name=dtsbjz]").val(dtsbjz)
- }else{
- dtsbjz = dtsbjz*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;
- let regex = /^-?\d+(\.\d+)+$/;
- if(regex.test(dtsbjz)){
- //直接把单挑申报价改为 2位
- dtsbjz = (dtsbjz.toFixed(2))*1
- $("input[name=dtsbjz]").val(dtsbjz)
- }else{
- dtsbjz = dtsbjz*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('订单物流类型:{$fullorder["shippingmethod"]}',document.getElementById('method'),'bottom');
- $("#klarnadata").click(function() {
- $(".klarnadata").fadeToggle(300);
- });
- $("#hqklarna").click(function() {
- layx.load('loadId','获取中');
- $.ajax({
- url: "/fullorder/klarnadata/",
- data: "number="+$("input[name=number]").val(),
- type: "POST",
- dataType: "json",
- success: function(a) {
- layx.destroy('loadId');
- if (a && a.success) {
- layx.alert('提示',a.msg);
- } else {
- layx.alert('提示',a.msg);
- }
- }
- });
- });
- $('.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();
- }
- });
- $(".tz_returngoods").on("click",function(){
- let url = $(this).data("url")
- window.parent.open(url,'_blank')
- //window.parent.location.href=url
- });
- function addShouhu(that){
- let url = $(that).data("uu")
- layx.load('loadId','请求中。。。');
- url =url.replace(/#/g, '%23');
- location.href=url
- }
- $("#is_jiaji_id").on('change',function(){
- $("#isjiaji_flag").toggle()
- });
- </script>
- <script src="{$theme}js/fullorder-addedit.js?v=2025111009"></script>
- <script type="text/javascript" src="{$theme}js/time.js"></script>
- {Template footer}
|