123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230 |
- {Template header}
- <div class="warp">
- <ul class="search bossout" style="border-bottom: 1px solid #ccc;padding:16px 0">
- <p style="color:#666;font-size: 18px;line-height:50px;">订单出库并指定时间</p>
- <li>运单号:<input value="" name="order" type="text" style="width:268px"></li>
- <li>重 量:<input value="" name="weight" type="text" placeholder="只填数字"></li>
- <li>出库时间:<input id="time" value="" name="time" type="text" onClick="laydate({istime: true,format:'YYYY-MM-DD hh:mm'})"></li>
- <li><font class="bossok" data-c="bossout" data-u="out">确定出库</font></li>
- </ul>
- <ul class="search qczd" style="border-bottom: 1px solid #ccc;padding:16px 0">
- <p style="color:#666;font-size: 18px;line-height:50px;">清除占单</p>
- <li>订单编号:<input value="" name="number" type="text" style="width:150px;text-align: center;"></li>
- <li><font class="bossok" data-c="qczd" data-u="qczd">确定</font></li>
- </ul>
- <ul class="search ggdd" style="border-bottom: 1px solid #ccc;padding:16px 0">
- <p style="color:#666;font-size: 18px;line-height:50px;">更改订单信息(不更改的留空)</p>
- <li>订单编号:<input value="" name="number" type="text" style="width:150px;text-align: center;"></li>
- <li>卖家保障:<input value="" name="guarantee" type="text" style="width:150px;text-align: center;"></li>
- <li>Quantity:<input value="" name="quantity" type="text" style="width:150px;text-align: center;"></li>
- <li><font class="bossok" data-c="ggdd" data-u="ggdd">确定</font></li>
- </ul>
- <ul class="search dpex" style="border-bottom: 1px solid #ccc;padding:16px 0">
- <p style="color:#666;font-size: 18px;line-height:50px;">DPEX运单</p>
- <li style="width:100%;">订单编号:<input value="" name="number" type="text" style="width:268px;"></li>
- <div class="dpexxq">
- <li style="width:100%;">
- <em>申报品名:</em>
- <select name="en" class="select class" style="width:200px">
- {loop customsdeclaration(50) as $val}
- <option value="{$val['ename']}" {if $val['ename'] == 'Synthetic Hair'}selected="selected"{/if}>{$val['ename']}</option>
- {/loop}
- </select>
- <em>中文品名:</em>
- <select name="zh" class="select class" style="width:200px">
- {loop customsdeclaration(50) as $val}
- <option value="{$val['zname']}" {if $val['zname'] == '化纤发'}selected="selected"{/if}>{$val['zname']}</option>
- {/loop}
- </select>
- <em>海关编码:</em>
- <select name="hg" class="select class" style="width:200px">
- {loop customsdeclaration(50) as $val}
- <option value="{$val['bname']}" {if $val['bname'] == '6704190000'}selected="selected"{/if}>{$val['bname']}</option>
- {/loop}
- </select>
- 条数:<input value="1" name="num" type="text" style="width:60px;">
- 单条申报:<input value="10" name="dj" type="text" style="width:60px;">
- <input value="0.1" name="zl" type="text" class="none" style="width:60px;">
- <font class="sc">X</font>
- </li>
- <li style="width:100%;">
- <em>申报品名:</em>
- <select name="en" class="select class" style="width:200px">
- {loop customsdeclaration(50) as $val}
- <option value="{$val['ename']}" {if $val['ename'] == 'Hair Accessories'}selected="selected"{/if}>{$val['ename']}</option>
- {/loop}
- </select>
- <em>中文品名:</em>
- <select name="zh" class="select class" style="width:200px">
- {loop customsdeclaration(50) as $val}
- <option value="{$val['zname']}" {if $val['zname'] == '头饰'}selected="selected"{/if}>{$val['zname']}</option>
- {/loop}
- </select>
- <em>海关编码:</em>
- <select name="hg" class="select class" style="width:200px">
- {loop customsdeclaration(50) as $val}
- <option value="{$val['bname']}" {if $val['bname'] == '9615110000'}selected="selected"{/if}>{$val['bname']}</option>
- {/loop}
- </select>
- 条数:<input value="1" name="num" type="text" style="width:60px;">
- 单条申报:<input value="0.5" name="dj" type="text" style="width:60px;">
- <input value="0.1" name="zl" type="text" class="none" style="width:60px;">
- <font class="sc">X</font>
- </li>
- <li style="width:100%;">
- <em>申报品名:</em>
- <select name="en" class="select class" style="width:200px">
- {loop customsdeclaration(50) as $val}
- <option value="{$val['ename']}" {if $val['ename'] == 'Hairbrush'}selected="selected"{/if}>{$val['ename']}</option>
- {/loop}
- </select>
- <em>中文品名:</em>
- <select name="zh" class="select class" style="width:200px">
- {loop customsdeclaration(50) as $val}
- <option value="{$val['zname']}" {if $val['zname'] == '小刷子'}selected="selected"{/if}>{$val['zname']}</option>
- {/loop}
- </select>
- <em>海关编码:</em>
- <select name="hg" class="select class" style="width:200px">
- {loop customsdeclaration(50) as $val}
- <option value="{$val['bname']}" {if $val['bname'] == '9603290090'}selected="selected"{/if}>{$val['bname']}</option>
- {/loop}
- </select>
- 条数:<input value="1" name="num" type="text" style="width:60px;">
- 单条申报:<input value="0.5" name="dj" type="text" style="width:60px;">
- <input value="0.1" name="zl" type="text" class="none" style="width:60px;">
- <font class="sc">X</font>
- </li>
- <li style="width:100%;">
- <em>申报品名:</em>
- <select name="en" class="select class" style="width:200px">
- {loop customsdeclaration(50) as $val}
- <option value="{$val['ename']}" {if $val['ename'] == 'Satin Bag'}selected="selected"{/if}>{$val['ename']}</option>
- {/loop}
- </select>
- <em>中文品名:</em>
- <select name="zh" class="select class" style="width:200px">
- {loop customsdeclaration(50) as $val}
- <option value="{$val['zname']}" {if $val['zname'] == '袋子'}selected="selected"{/if}>{$val['zname']}</option>
- {/loop}
- </select>
- <em>海关编码:</em>
- <select name="hg" class="select class" style="width:200px">
- {loop customsdeclaration(50) as $val}
- <option value="{$val['bname']}" {if $val['bname'] == '4202320000'}selected="selected"{/if}>{$val['bname']}</option>
- {/loop}
- </select>
- 条数:<input value="1" name="num" type="text" style="width:60px;">
- 单条申报:<input value="0.5" name="dj" type="text" style="width:60px;">
- <input value="0.1" name="zl" type="text" class="none" style="width:60px;">
- <font class="sc">X</font>
- </li>
- <li style="width:100%;">
- <em>申报品名:</em>
- <select name="en" class="select class" style="width:200px">
- {loop customsdeclaration(50) as $val}
- <option value="{$val['ename']}" {if $val['ename'] == 'Eyelashes'}selected="selected"{/if}>{$val['ename']}</option>
- {/loop}
- </select>
- <em>中文品名:</em>
- <select name="zh" class="select class" style="width:200px">
- {loop customsdeclaration(50) as $val}
- <option value="{$val['zname']}" {if $val['zname'] == '假睫毛'}selected="selected"{/if}>{$val['zname']}</option>
- {/loop}
- </select>
- <em>海关编码:</em>
- <select name="hg" class="select class" style="width:200px">
- {loop customsdeclaration(50) as $val}
- <option value="{$val['bname']}" {if $val['bname'] == '6704200000'}selected="selected"{/if}>{$val['bname']}</option>
- {/loop}
- </select>
- 条数:<input value="1" name="num" type="text" style="width:60px;">
- 单条申报:<input value="0.5" name="dj" type="text" style="width:60px;">
- <input value="0.1" name="zl" type="text" class="none" style="width:60px;">
- <font class="sc">X</font>
- </li>
- </div>
- <li class="dpexyd"></li>
- <li><font class="bossdpex" style="height:30px;line-height:30px;background:#2ca8a1;text-align:center;color:#fff;border-radius:5px;display:inline-block;margin-left:20px;padding:0 15px;cursor:pointer;">获取DPEX运单及发票</font></li>
- </ul>
- </div>
- <script type="text/javascript" src="{$theme}js/laydate2.js"></script>
- <script>
- $("select[name='en']").change(function(){
- var index = $(this).find("option:selected").index();
- $(this).parent("li").find("select[name='zh'] option:eq("+index+")").prop('selected','selected');
- $(this).parent("li").find("select[name='hg'] option:eq("+index+")").prop('selected','selected');
- });
- $("select[name='zh']").change(function(){
- var index = $(this).find("option:selected").index();
- $(this).parent("li").find("select[name='en'] option:eq("+index+")").prop('selected','selected');
- $(this).parent("li").find("select[name='hg'] option:eq("+index+")").prop('selected','selected');
- });
- $("select[name='hg']").change(function(){
- var index = $(this).find("option:selected").index();
- $(this).parent("li").find("select[name='zh'] option:eq("+index+")").prop('selected','selected');
- $(this).parent("li").find("select[name='en'] option:eq("+index+")").prop('selected','selected');
- });
-
- $(".sc").click(function() {
- $(this).parent("li").remove();
- });
-
- $(".bossdpex").click(function() {
- var f = {}; var i = 0;
- $(".dpexxq li").each(function() {
- var v = {};
- $(this).find('input').each(function() {
- v[$(this).attr("name")] = $(this).val();
- });
- $(this).find('.select').each(function() {
- v[$(this).attr("name")] = $(this).children("option:selected").val();
- });
- f[i] = v;
- i++;
- });
- var d = "n=" + $(".dpex input[name='number']").val() + "&postdata="+JSON.stringify(f);
-
- layx.load('loadId','处理中,请稍后');
- $.ajax({
- url: "/boss/dpex",
- data: d,
- type: "POST",
- dataType: "json",
- success: function(a) {
- layx.destroy('loadId');
- if (a && a.success) {
- $(".dpexyd").html(a.msg);
- } else {
- $(".express p:eq(0)").html(a.msg);
- $(".express p:eq(1)").html("<font class='esc'>确 定</font>");
- $(".express").show();
- }
- }
- });
-
- });
- </script>
- {Template footer}
|