| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684 | {Template header}<style type="text/css">.calendar{POSITION:absolute;}</style><body><div class="warp"><div class="packing"><div class="control"><a href="javascript:void(0);" class="exptj">添 加</a><a href="javascript:void(0);" class="expxg">修 改</a><a href="javascript:void(0);" class="expsc">删 除</a>{if $thfpdata != ''}<a href="javascript:void(0);" class="ckthfpdata">查看替换内容</a>{/if}</div><table class="datatitle data" border="0" style="border-collapse:collapse;"><tr><td>商品名称</td><td>数量</td><td class="none">单价</td><td class="none">总价</td><td class="none">币种</td><td class="none"></td><td class="none"></td><td class="none"></td><td class="none"></td><td class="none"></td><td>占单</td><td>操作</td></tr></table><table class="datatext data" border="0" style="border-collapse:collapse;">{loop $fpdata as $val}<tr data-list="{$val['0']}"><td>{$val['1']}</td><td>{$val['2']}</td><td class="none">{$val['3']}</td><td class="none">{$val['4']}</td><td class="none">CNY</td><td class="none">{$val['5']}</td><td class="none">{$val['6']}</td><td class="none">{$val['7']}</td><td class="none">{$val['8']}</td><td class="none val9">{if isset($val['9'])}{$val['9']}{else}0{/if}</td><td {if isset($val['zd']) && $fullorderxw['type'] == 13}style="color:#f00"{/if}>{if isset($val['zd'])}{$val['zd']}{/if}</td><td class="czzd">{if $val['9'] != 'DNOTO'}<font class="jzzd">禁止占单</font>{else}<font class="yxzd">允许占单<font>{/if}</td></tr>{/loop}</table>{if $thfpdata != ''}<table class="thfpdata data" border="0" style="border-collapse:collapse;margin-top:30px;display: none;"><tr style="background: #ececec;"><td>替换详情</td><td>数量</td><td>说明</td></tr><tr>{loop $thfpdata as $val}<tr><td>{$val['0']}</td><td>{$val['1']}</td><td>{$val['2']}</td></tr>{/loop}</tr></table>{/if}</div><ul class="setting"><div class="need"><li><em>发货仓库:</em><select name="warehouse" id="warehouse" class="select class">{loop warehouse(100) as $val}<option value="{$val['id']}" {if $fullorderxw['type'] == $val['id']}selected="selected"{/if} data-e="{$val['express']}">{$val['title']}</option>{/loop}</select></li><!-- 独立站使用下单时间,平台使用付款时间 -->{if $is == 1}<li><em>订单时间:</em><b>{date('Y-m-d H:i:s',$fullorderxw['dtime'])}</b></li>{else}<li><em>付款时间:</em><b>{date('Y-m-d H:i:s',$fullorderxw['buytime'])}</b></li>{/if}<li class="none"><em>结算币种:</em><b>{$fullorderxw['currencytitle']}</b></li><li><em>订单号:</em><b class="orderinfo">{$fullorderxw['orderinfo']}</b></li><li><em>编号:</em><b>{$fullorderxw['number']}</b></li><li><em>订单状态:</em><select name="state" class="select class">{loop typeclass(29,2) as $val}<option value="{$val['id']}" {if $fullorderxw['state'] == $val['id']}selected="selected"{/if}>{$val['spare']}</option>{/loop}<option value="283" {if $fullorderxw['state'] == '283'}selected="selected"{/if}>null</option></select></li><li><em>资金状态:</em><b>{$capital}</b></li><li><em>丢件险:</em><b>{$fullorderxw['insurance']}</b></li><li><em>预估到帐金额:</em><input name="newbudget" class="must" value="{$fullorderxw['budget']}" type="text"></li><!--<li class="lengthfour"><em>物流金额:</em><b>{$fullorderxw['expressmoney']}</b></li>--><li class="lengththree"><em>补/退款原额:</em><input name="refundy" class="must currencymoney" value="{$fullorderxw['refundy']}" type="text"></li><li class="lengththree"><em>补/退净额:</em><input name="refundj" class="must currencymoney" value="{$fullorderxw['refundj']}" type="text"></li><li class="lengththree"><em>订单金额:</em><b {if $fullorderxw['shouldmoney'] > 499}style="color:#F00"{/if}>{$fullorderxw['shouldmoney']}</b></li><div class="refund {if $fullorderxw['refundy'] == 0}none{/if}"><li><em>日 期:</em><input name="rtime" id="refundtime" value="{$fullorderxw['rtime']!=0?date('Y-m-d',$fullorderxw['rtime']):''}" type="text"></li><li><em>交易号:</em><input name="rpaypal" value="{$fullorderxw['rpaypal']}" type="text"></li><li class="length"><em>原 因:</em><textarea name="rtext" style="height:46px;">{$fullorderxw['rtext']}</textarea></li></div><li class="length"><em>产品标题:</em><b>{$product}</b></li><li class="length"><em>SKU:</em><b>{$fullorderxw['issku']}</b></li><li><em>Quantity:</em><b {if $qc > 0}style="color:#F00"{/if}>{$fullorderxw['quantity']}</b></li><li><em>运单号:</em><b>{$fullorderxw['waybill']}</b></li>{if $fullorderxw['source'] != 1}<li class="length"><em>客户留言:</em><b>{$fullorderxw['clientremarks']}</b></li>{/if}<li class="length remark"><em>订单备注:</em><textarea name="orderremarks" style="height:25px;">{$fullorderxw['orderremarks']}</textarea></li><li class="length remark"><em>仓库品名:</em><b>{$fullorderxw['shipremarks']}</b></li>{if isset($klarnadata[1]) && $fullorderxw['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($fullorderxw['saddress']))} style="color:#f00"{/if}>{$klarnadata[3]}</b></li></div>{/if}{if isset($klarnadata[1]) && ($fullorderxw['pay'] == 26 || $fullorderxw['pay'] == 27)}<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]) && $fullorderxw['pay'] == 22}<div class="klarnadata none"><li class="length"><em>name:</em><b {if str_replace(' ','',strtoupper($klarnadata[1]['name'])) != str_replace(' ','',strtoupper($fullorderxw['sname'])) || str_replace(' ','',strtoupper($klarnadata[1]['name'])) != str_replace(' ','',strtoupper($fullorderxw['bname']))}style="color:#f00"{/if}>{$klarnadata[1]['name']}</b></li><li class="length"><em>address:</em><b {if str_replace(array(' ','.',','),'',strtoupper($fullorderxw['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($fullorderxw['email'])}style="color:#f00"{/if}>{$klarnadata[1]['email']}</b></li></div>{/if}{if isset($klarnadata[1]) && $fullorderxw['pay'] == 1211}<div class="klarnadata none"><li class="length"><em>Stripe Amount:</em><b>{$klarnadata[1]['shouldmoney']}</b></li></div>{/if}<li><em>邮箱:</em><b>{$fullorderxw['email']}</b></li><li><em>国家:</em><b>{$country}</b></li><li><em>联系方式:</em><b>{$fullorderxw['phone']}</b></li><li><em>省州:</em><b {if (($fullorderxw['city'] == 'Newark' || $fullorderxw['city'] == 'Camden') && ($fullorderxw['province'] == 'New Jersey' || $fullorderxw['province'] == 'NJ')) || $fullorderxw['province'] == 'Jersey'}style="color:#F00"{/if}>{$fullorderxw['province']}</b></li><li><em>公司名:</em><b>{$fullorderxw['client']}</b></li><li><em>城市:</em><b {if ($fullorderxw['city'] == 'Newark' || $fullorderxw['city'] == 'Camden') && ($fullorderxw['province'] == 'New Jersey' || $fullorderxw['province'] == 'NJ')}style="color:#F00"{/if}>{$fullorderxw['city']}</b></li><li><em>收货人姓名:</em><b>{$fullorderxw['name']}</b></li><li><em>邮编:</em><b>{$fullorderxw['zipcode']}</b></li>{if $is == 5}<li class="length"><em>街道:</em><b>{$fullorderxw['street']}</b></li>{/if}<li class="length"><em>地址2:</em><b>{$fullorderxw['address2']}</b></li><li class="length"><em>地址:</em><b>{$fullorderxw['address']}</b></li><li class="lengththree"><em>申报品名:</em><b style="width:59%">{$fullorderxw['sbpm']}</b></li><li class="lengththree"><em>中文品名:</em><b style="width:50%">{$fullorderxw['zwpm']}</b></li><li class="lengththree"><em>海关编码:</em><b>{$fullorderxw['hgbm']}</b></li><li class="lengththree"><em>条数:</em><b>{$fullorderxw['ts']}</b></li><li class="lengththree"><em>单条申报价:</em><b>{$fullorderxw['dtsbjz']}</b></li><li class="lengththree"><em>总申报价:</em><b>{$fullorderxw['zsbjz']}</b></li><li class="lengththree"><em>总重量:</em><b>{$fullorderxw['zzl']}</b></li><li class="lengththree"><em>总件数:</em><b>{$fullorderxw['zjs']}</b></li><li class="lengththree" style="position:relative;overflow:visible">{if $fullorderxw["source"] != 1}<i class="fa fa-exclamation-circle" id="method" style="position:absolute;z-index:1;left:-15px;top:8px;"></i>{/if}<em>快递公司:</em><select name="express" class="select class">{loop xwexpress(100) as $val}<option value="{$val['id']}" data-type="{$val['type']}" {if $fullorderxw['express'] == $val['id']}selected="selected"{/if}>{$val['servicename']}</option>{/loop}</select></li><li><em>打印类型:</em><select name="printtype" class="printtype select class"><option value="1" {if $fullorderxw['printtype'] == 1}selected="selected"{/if}>运单</option><option value="2" {if $fullorderxw['printtype'] == 2}selected="selected"{/if}>发货单</option><option value="3" {if $fullorderxw['printtype'] == 3}selected="selected"{/if}>不打印单据</option></select></li><li class="none"><em>发送留言:</em><select name="msg" class="printtype select class"><option value="1" {if $fullorderxw['msg'] == 1}selected="selected"{/if}>1</option><option value="2" {if $fullorderxw['msg'] == 2}selected="selected"{/if}>2</option></select></li><li class="lengththree"><em>审核状态:</em><b>{if $fullorderxw['review'] == 1}未送审{else if $fullorderxw['review'] == 2}待审核{else if $fullorderxw['review'] == 3}不通过{else if $fullorderxw['review'] == 4}取消重审{else if $fullorderxw['review'] == 5}审核通过{else if $fullorderxw['review'] == 6}{date('Y-m-d H:i',$fullorderxw['reviewtime'])}{/if}</b></li><li class="lengththree"><em>IOSS:</em><!--<select name="ioss" class="select class"><option value="" {if $fullorderxw['ioss'] == ''}selected="selected"{/if}>未选择</option>{loop ioss(100) as $val}<option value="{$val['ioss']}" {if $fullorderxw['ioss'] == $val['ioss']}selected="selected"{/if}>{$val['title']}</option>{/loop}</select>--><b>{loop ioss(100) as $val}{if $fullorderxw['ioss'] == $val['ioss']}{$val['title']}{/if}{/loop}</b></li><li class="lengththree"><em>购买保险:</em>{if $fullorderxw['print'] != 3}<input name="bx" class="must" value="{$fullorderxw['bx']}" type="text"> USD{else}<b>{$fullorderxw['bx']}</b> USD{/if}</li><li class="lengththree"><em>是否签名:</em>{if $fullorderxw['review'] < 5 || $vip == '1'}<select name="qm" class="printtype select class"><option value="0" {if $fullorderxw['qm'] == 0}selected="selected"{/if}>不需要</option><option value="1" {if $fullorderxw['qm'] == 1}selected="selected"{/if}>需要</option></select>{else}<b>{if $fullorderxw['express'] != 24 && $fullorderxw['express'] != 31}{if $fullorderxw['qm'] == 0}不需要{else if $fullorderxw['qm'] == 1}需要{/if}{else}{if $fullorderxw['qm'] == 0}默认{else if $fullorderxw['qm'] == 1}成人签名{else if $fullorderxw['qm'] == 2}必须签名但可代签{/if}{/if}</b>{/if}</li><li class="lengththree"><em>服务类型:</em>{if $fullorderxw['print'] != 3}<select name="js" class="printtype select class"><option value="0" {if $fullorderxw['js'] == 0}selected="selected"{/if}>Ground Advantage</option><option value="1" {if $fullorderxw['js'] == 1}selected="selected"{/if}>PRIORITY</option><option value="2" {if $fullorderxw['js'] == 2}selected="selected"{/if}>EXPRESS</option><option value="3" {if $fullorderxw['js'] == 3}selected="selected"{/if}>ENVELOPE</option></select>{else}<b>{if $fullorderxw['js'] == 0}Ground Advantage{else if $fullorderxw['js'] == 1}PRIORITY{else if $fullorderxw['js'] == 2}EXPRESS{/if}</b>{/if}</li><!-- <li class="lengthfour"><em>延迟发货:</em>{if $fullorderxw['print'] != 3}<select name="yc" class="printtype select class"><option value="0" {if $fullorderxw['yc'] == 0}selected="selected"{/if}>0</option><option value="1" {if $fullorderxw['yc'] == 1}selected="selected"{/if}>1</option><option value="2" {if $fullorderxw['yc'] == 2}selected="selected"{/if}>2</option><option value="3" {if $fullorderxw['yc'] == 3}selected="selected"{/if}>3</option><option value="4" {if $fullorderxw['yc'] == 4}selected="selected"{/if}>4</option><option value="5" {if $fullorderxw['yc'] == 5}selected="selected"{/if}>5</option><option value="6" {if $fullorderxw['yc'] == 6}selected="selected"{/if}>6</option><option value="7" {if $fullorderxw['yc'] == 7}selected="selected"{/if}>7</option></select>{else}<b>{$fullorderxw['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="{$fullorderxw['customs']}" name="customs" type="text"> <font class="currency">CNY</font></li>--><li class="length"><em>不合格原因</em><b>{$fullorderxw['failed']}</b></li><li class="lengththree"><em>打印状态:</em><b>{if $fullorderxw['print'] == 1}不可打印{else if $fullorderxw['print'] == 2}未打印{else if $fullorderxw['print'] == 3}已打印{/if}</b></li><li class="lengththree"><em>打印时间:</em><b>{if $fullorderxw['printtime'] != 0}{date('Y-m-d H:i',$fullorderxw['printtime'])}{else}无{/if}</li><li class="lengththree"><em>打印次数:</em><b>{$fullorderxw['printnumber']}</b></li><li class="lengththree"><em>出库状态:</em><b>{if $fullorderxw['library'] == 1}未出库{else if $fullorderxw['library'] == 2}已出库{else if $fullorderxw['library'] == 3}已退库{/if}</b></li><li class="lengththree"><em>出库时间:</em><b>{if $fullorderxw['librarytime'] != 0}{date('Y-m-d H:i',$fullorderxw['librarytime'])}{else}无{/if}</b></li><li class="lengththree">{if $fullorderxw['library'] == 3}<em>退库时间:</em>{else}<em>允许发货:</em>{/if}<b>{if $fullorderxw['library'] == 3}{date('Y-m-d H:i',$fullorderxw['retreattime'])}{else}{if $fullorderxw['libraryconfirm'] == 1}不允许出库{else if $fullorderxw['libraryconfirm'] == 2}允许出库{/if}{/if}</b></li><li class="length"><em>不能出库原因:</em><b>{$fullorderxw['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">{$fullorderxw['returndata']}</b></li><li class="length"><em>生产追踪:</em><b>{loop $systemwigsout as $val}{$val}{/loop}</b></li>{if $fullorderxw['waybill2'] != ''}<li class="length"><em>GES转DHL单号:</em><b>{$fullorderxw['waybill2']}</b></li>{/if}</div><div style="clear:both;"></div></ul><div class="need"><input type="hidden" name="id" value="{$fullorderxw['id']}" /><input type="hidden" name="purchase" value="{$fullorderxw['purchase']}" /><input type="hidden" name="cost" value="{$fullorderxw['cost']}" /><input type="hidden" name="shop" value="{$fullorderxw['shop']}" /><input type="hidden" name="whlabel" value="{$fullorderxw['whlabel']}" /><input type="hidden" name="number" value="{$fullorderxw['number']}" /><input type="hidden" name="jgyc" value="1" /></div><div class="button"><font class="power" style="float:left;">重置</font><font class="fullorderdata">保 存</font> <font class="fh">关 闭</font></div></div><select name="warehouse" id="warehouse" class="select class none">{loop warehouse(100) as $val}<option value="{$val['id']}" {if $fullorderxw['type'] == $val['id']}selected="selected"{/if}>{$val['title']}</option>{/loop}</select><script>$(document).ready(function() { $("#refundtime").calendar();custom();pptskc('2');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 $fullorderxw["qm"] == 0}selected="selected"{/if}>默认</option><option value="1" {if $fullorderxw["qm"] == 1}selected="selected"{/if}>成人签名</option>');		}		else		{			 $("select[name='qm']").html('<option value="0" {if $fullorderxw["qm"] == 0}selected="selected"{/if}>不需要</option><option value="1" {if $fullorderxw["qm"] == 1}selected="selected"{/if}>需要</option>');		}});function custom() {var num = $('.packing .datatitle tr').children().length;$('.data tr td').css("width","5%");$(".data tr").each(function() {$(this).find('td:eq(0)').css("width","30%");$(this).find('td:eq(1)').css("width","3%");$(this).find('td:eq(10)').css("width","10%");});}$("input[name=refundy]").bind("input propertychange",function(event){	var refundy = $("input[name=refundy]").val();	if(refundy != 0)	{		$(".refund").show();		$("input[name=rtime]").addClass("must");		$("input[name=rpaypal]").addClass("must");		$("input[name=rtext]").addClass("must");	}	else	{		$("input[name=rtime]").val("");		$("input[name=rpaypal]").val("");		$("input[name=rtext]").val("");		$("input[name=rtime]").removeClass("must");		$("input[name=rpaypal]").removeClass("must");		$("input[name=rtext]").removeClass("must");		$(".refund").hide();	}});layx.tip('订单物流类型:{$fullorderxw["shippingmethod"]}',document.getElementById('method'),'bottom');$("#klarnadata").click(function() {	$(".klarnadata").fadeToggle(300);});$("#hqklarna").click(function() { $.ajax({        url: "/fullorderxw/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")});  });</script><script type="text/javascript">var addedit="/fullorderxw/readonly/";var fh="/fullorderxw";</script><script src="{$theme}js/fullorder-addedit.js?v=202207060002"></script><script type="text/javascript" src="{$theme}js/time.js"></script>{Template footer}
 |