123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343 |
- {Template header}
- <body>
- <div class="warp">
- <div class="title">修改订单</div>
- <div class="packing">
- <table class="datatitle data" border="0" style="border-collapse:collapse;">
- <tr>
- <td>产品ID</td>
- <td>产品编码</td>
- <td>主图</td>
- <td>商品名称</td>
- <td>每包条数</td>
- <td>数量</td>
- <td>每包单价</td>
- <td>总条数</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>{$val['3']}</td>
- <td>{$val['4']}</td>
- <td>{$val['5']}</td>
- <td>{$val['6']}</td>
- <td>{$val['7']}</td>
- <td>{$val['8']}</td>
- <td>{$val['9']}</td>
- <td>{$fullordersmt['currencytitle']}</td>
- </tr>
- {/loop}
- </table>
- </div>
- <ul class="setting">
- <div class="need">
- <li>
- <em>发货仓库:</em>
- <b>{loop warehouse(100) as $val}{if $fullordersmt['type'] == $val['id']}{$val['title']}{/if}{/loop}</b>
- </li>
- <li>
- <em>结算币种:</em>
- <b>{loop typeclass(30) as $val}{if $fullordersmt['currency'] == $val['id']}{$val['title']}{/if}{/loop}</b>
- </li>
- <li>
- <em>订单号:</em>
- <b>{$fullordersmt['orderinfo']}</b>
- </li>
- <li>
- <em>编号:</em>
- <b>{$fullordersmt['number']}</b>
- </li>
- <li>
- <em>付款时间:</em>
- <b>{date('Y-m-d H:i:s',$fullordersmt['buytime'])}</b>
- </li>
- <li>
- <em>预估到帐金额:</em>
- <b class="currencymoney budget">{$fullordersmt['budget']}</b> {$fullordersmt['currencytitle']}
- </li>
- <li>
- <em>订单状态:</em>
- <b>
- {loop typeclass(29) as $val}
- {if $fullordersmt['state'] == $val['id']}
- {$val['title']}
- {/if}
- {/loop}
- </b>
- </li>
- <li>
- <em>资金状态:</em>
- <b>
- {if $fullordersmt['capital']==1}暂未支付
- {else if $fullordersmt['capital']==2}部分支付
- {else if $fullordersmt['capital']==3}全部支付
- {else}无{/if}
- </b>
- </li>
- <li class="lengththree">
- <em>运费:</em>
- <b>{$fullordersmt['freight']}</b>
- {$fullordersmt['currencytitle']}
- </li>
- <li class="lengththree">
- <em>物流金额:</em>
- <b>{$fullordersmt['expressmoney']}</b>
- {$fullordersmt['currencytitle']}
- </li>
- <li class="lengththree">
- <em>订单金额:</em>
- <b>{$fullordersmt['shouldmoney']}</b>
- {$fullordersmt['currencytitle']}
- </li>
- <li class="length">
- <em>客户备注:</em>
- <b>{$fullordersmt['clientremarks']}</b>
- </li>
- <li class="length remark">
- <em>订单备注:</em>
- <b>{$fullordersmt['orderremarks']}</b>
- </li>
- <li class="length remark">
- <em>发货备注:</em>
- <b>{$fullordersmt['shipremarks']}</b>
- </li>
- <li>
- <em>客户姓名:</em>
- <b>{$fullordersmt['client']}</b>
- </li>
- <li>
- <em>邮箱:</em>
- <b>{$fullordersmt['email']}</b>
- </li>
- <li>
- <em>收货人姓名:</em>
- <b>{$fullordersmt['name']}</b>
- </li>
- <li>
- <em>联系方式:</em>
- <b>{$fullordersmt['phone']}</b>
- </li>
- <li>
- <em>国家:</em>
- <b>{loop $country as $val}{if $fullordersmt['country'] == $val['id']}{$val['name']}{/if}{/loop}</b>
- </li>
- <li>
- <em>省州:</em>
- <b>{$fullordersmt['province']}</b>
- </li>
- <li>
- <em>城市:</em>
- <b>{$fullordersmt['city']}</b>
- </li>
- <li>
- <em>邮编:</em>
- <b>{$fullordersmt['zipcode']}</b>
- </li>
- <li class="length">
- <em>街道:</em>
- <b>{$fullordersmt['street']}</b>
- </li>
- <li class="length">
- <em>地址2:</em>
- <b>{$fullordersmt['address2']}</b>
- </li>
- <li class="length">
- <em>地址:</em>
- <b>{$fullordersmt['address']}</b>
- </li>
- <li>
- <em>快递公司:</em>
- <b>{loop express(100) as $val}{if $fullordersmt['express'] == $val['id']}{$val['title']}{/if}{/loop}</b>
- </li>
- <li>
- <em>打印类型:</em>
- <b>
- {if $fullordersmt['printtype'] == 1}运单
- {else if $fullordersmt['printtype'] == 2}发货单
- {else if $fullordersmt['printtype'] == 3}不打印单据
- {/if}
- </b>
- </li>
- <li class="productdescription none">
- <em>产品描述:</em>
- <b>{$fullordersmt['productdescription']}</b>
- </li>
- <li class="customs none">
- <em>海关价值:</em>
- <b>{$fullordersmt['customs']}</b>
- {$fullordersmt['currencytitle']}
- </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}
- 自动通过
- {/if}
- </b>
- </li>
- <li>
- <em>审核备注</em>
- <b>{$fullordersmt['reviewremarks']}</b>
- </li>
- <li class="length">
- <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',$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}
- 已出库
- {/if}
- </b>
- </li>
- <li class="lengththree">
- <em>出库时间:</em>
- <b>
- {if $fullordersmt['librarytime'] != 0}{date('Y-m-d',$fullordersmt['librarytime'])}{else}无{/if}
- </b>
- </li>
- <li class="lengththree">
- <em>允许发货:</em>
- <b>
- {if $fullordersmt['library'] == 1}
- 不允许出库
- {else if $fullordersmt['library'] == 2}
- 允许已出库
- {/if}
- </b>
- </li>
- <li class="length">
- <em>不能出库原因:</em>
- <b>{$fullordersmt['librarynot']}</b>
- </li>
- </div>
- <div style="clear:both;"></div>
- </ul>
- <div class="need"><input type="hidden" name="id" value="{$fullordersmt['id']}" /><input type="hidden" name="cost" value="{$fullordersmt['cost']}" /></div>
- <input type="hidden" name="et" value="{isset($et) ?$et : '0'}" />
- <div class="button"><font class="fh" onclick="javascript:history.back(-1);">返 回</font></div>
- </div>
- <div class="zm none"></div>
- <script type="text/javascript">var addedit="/fullordersmt/editoff/";var fh="/fullordersmt/data/";
- $(document).ready(function() {
- datasort();
- 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();
- $.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 datasort() {
- var num = $('.packing .datatitle tr').children().length;
- $('.data tr td').css("width","5%");
- $(".data tr").each(function() {
- $(this).find('td:eq(0)').css("width","8%");
- $(this).find('td:eq(1)').css("width","8%");
- $(this).find('td:eq(3)').css("width","35%");
- });}
- </script>
- <script src="{$theme}js/fullordersmt-addedit.js?v=2018010190001"></script>
- {Template footer}
|