| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175 |
- {Template header}
- <style>
- .btn {
- display: inline-block;
- padding: 6px 12px;
- margin-bottom: 0;
- font-size: 14px;
- font-weight: 400;
- line-height: 1.42857143;
- text-align: center;
- white-space: nowrap;
- vertical-align: middle;
- -ms-touch-action: manipulation;
- touch-action: manipulation;
- cursor: pointer;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- background-image: none;
- border: 1px solid transparent;
- border-radius: 4px;
- }
- .btn-success {
- color: #fff !important;
- background-color: #5cb85c !important;
- border-color: #4cae4c;
- }
- .btn-info {
- color: #fff;
- background-color: #5bc0de;
- border-color: #46b8da;
- }
- .btn-xs {
- padding: 1px 5px;
- font-size: 12px;
- line-height: 1.5;
- border-radius: 3px;
- }
- </style>
- <body>
- <div class="warp">
- <div class="fixed">
- <div class="numberprint">
- <ul class="searchtop" style="text-align: center;padding: 10px 0;" style="font-size: 18px;">
- <ul class="searchtop" style="text-align: center;padding: 10px 0;">
- <li><a href="/outerrors/scan/" style="height: 56px;line-height: 56px;padding: 0 88px;font-size: 26px;color: #fff;background-color: #2084db;float: left;margin-right: 50px;border-radius: 5px;display: block;cursor: pointer;">扫描禁止出库单</a></li>
-
- </div>
- <ul class="search">
- <li>订单编号:<input value="" name="number" type="text"></li>
- <li>扫描时间:<input id="timetk" value="{date('Y-m-d',time()-14*24*3600)} 0:00" name="timetk" type="text" onClick="laydate({istime: true,format:'YYYY-MM-DD hh:mm'})">
- 至 <input id="timetj" value="{date('Y-m-d',time()+24*3600)} 0:00" name="timetj" type="text" onClick="laydate({istime: true,format:'YYYY-MM-DD hh:mm'})"></li>
- <li><span>确 定</span></li>
- <li>
- <font class="cona lv_cpkxz">EXCEL下载</font>
- </li>
- </ul>
- <table class="datatitle data" border="0" style="border-collapse:collapse;">
- <tr>
- <td><label onClick="swapCheck()"><input name="checkbox" type="checkbox" class="regular-checkbox"></label></td>
- <td>日期</td>
- <td>编号</td>
- <td>店员处理</td>
- <td>仓库处理</td>
- <td>情况备注</td>
- <td>操作</td>
- </tr>
- </table>
- </div>
- <table class="datatext data" border="0" style="border-collapse:collapse;">
- </table>
- <div class="bomf"></div>
- </div>
- <div class="print none"></div>
- <div class="ts"><p class="tsn"></p></div>
- <div class="systemwindow">
- <div>
- <p></p>
- <p><font class="button">确 定</font><font class="esc">取 消</font></p>
- </div>
- </div>
- <div class="boundtj">
- <div>
- <p></p>
- <p></p>
- </div>
- </div>
- <div class="tyrows"><div><p></p><p></p></div></div>
- <audio id="music_d">
- <source src="{$theme}music/d.mp3" type="audio/mpeg">
- </audio>
- <audio id="music_c">
- <source src="{$theme}music/c.mp3" type="audio/mpeg">
- </audio>
- <audio id="music_print">
- <source src="{$theme}music/print.mp3" type="audio/mpeg">
- </audio>
- <audio id="music_print_error">
- <source src="{$theme}music/print_error.mp3" type="audio/mpeg">
- </audio>
- <audio id="music_print_ok">
- <source src="{$theme}music/print_ok.mp3" type="audio/mpeg">
- </audio>
- <script>
- var sysprint = 1;var transfer = 1;
- var dataurl = "/outerrors/";
- var customon = 1;
- function dycz(that){
- $(".boundtj div p:eq(0)").html('<textarea name="operate_remark" rows="6" cols="50" style="border:1px solid #ccc;border-radius:5px;" placeholder="请输入处理意见"></textarea> <input type="hidden" name="operate_type" value="'+$(that).data('type')+'" /><input type="hidden" name="id" value="'+$(that).data('id')+'" />');
- $(".boundtj div p:eq(1)").html("<font class='obaddgo'>确 定</font><font class='esc'>取 消</font>");
- $(".boundtj").show();
- }
- $(".boundtj").on('click', ".obaddgo", function() {
- let obj = {
- id:$(".boundtj input[name='id']").val(),
- operate_type:$(".boundtj input[name='operate_type']").val(),
- operate_remark:$(".boundtj textarea[name='operate_remark']").val()
- };
- $.ajax({
- url: dataurl+"operate/",
- data: obj,
- type: "POST",
- dataType: "json",
- success: function(c) {
- console.log(c);
- if (c && c.code) {
- searchspan(1);
- $(".boundtj p").html("");
- $(".boundtj").hide();
-
- } else {
- $(".ts p").html(c.msg);
- $(".ts").show();
- setTimeout('$(".ts").fadeOut()', 1000);
- }
- }
- });
- });
- $(".boundtj").on('click', ".esc", function() {
- $(".boundtj p").html("");
- $(".boundtj").hide();
- });
- $(".lv_cpkxz").on('click', function() {
- let f = "";
- let number = $("input[name='number']").val();
- let timetk = $("input[name='timetk']").val();
- let timetj = $("input[name='timetj']").val();
- if(number){
- f += "number="+number+"&";
- }
- if(timetk){
- f += "timetk="+timetk+"&";
- }
- if(timetj){
- f += "timetj="+timetj+"&";
- }
- f += "excel=2"
- window.location.href = dataurl+"excel/?"+f;
- });
- </script>
- <script type="text/javascript" src="{$theme}js/laydate.js"></script>
- {Template footer}
|