<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>该月盘点</title>
    <link rel="stylesheet" type="text/css" href="../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../css/common.css" />
</head>

<body>
    <header class="aui-bar aui-bar-nav" id="header">
        <a class="aui-pull-left aui-btn" tapmode onclick="closeWin()">
            <span class="aui-iconfont aui-icon-left"></span>
        </a>
        <div class="aui-title" data-i18n="6660068"></div>

    </header>

    <div class="container">
        <section class="aui-content-padded " id="list">
            <script id="DotTemplate" type="text/x-dot-template">
                {{~it.data:val:ind}}
                <div class="aui-card-list aui-padded-b-15 open-win" style="margin-bottom:0rem;" win="pandian_detail" param='{"id":"{{= val.id}}"}'>
                    <div class="aui-card-list-header aui-card-list-user">
                        <div class="aui-card-list-user-name">
                            <div class="aui-font-size-16">
                                <b>{{= val.order_number}}</b> &nbsp;
                                <span style="color:#ccc;"></span>&nbsp;
                            </div>
                            <small class="changestatus" data-id="{{= val.id}}" data-status="1">{{=lang('700096')}}</small><i class="aui-iconfont aui-icon-right aui-font-size-12"></i>
                        </div>
                    </div>
                    <div class="aui-card-list-content aui-border-t" style="margin-left: 1rem;">
                        <ul class="aui-list aui-list-noborder">
                            <div class="aui-card-list-user-avatar dotcon" style="{{ if(val.markself!=1){ }} display:none; {{ } }}">
                                <div class="dotflag"></div>
                            </div>
                            <div class="aui-list-item aui-padded-l-0 aui-padded-r-15" style="min-height: 1.2rem;">
                                <div class="aui-list-item-title aui-font-size-14 goods-title">{{=lang('6660069')}}{{= val.creatername}}</div>
                                <div class="aui-list-item-title aui-font-size-14 goods-title">{{=lang('6660070')}}{{= val.create_time}}</div>
                            </div>
                            <div class="aui-list-item aui-padded-l-0 aui-padded-r-15" style="min-height: 1.2rem;">
                                <div class="aui-list-item-title aui-font-size-14 goods-title">{{=lang('6660071')}}{{= val.auditname}}</div>
                                <div class="aui-list-item-title aui-font-size-14 goods-title">{{=lang('6660072')}}{{= val.audittime}}</div>
                            </div>
                            <div class="aui-list-item aui-padded-l-0 aui-padded-r-15" style="min-height: 1.2rem;">
                                <div class="aui-list-item-title aui-font-size-14 goods-title">{{=lang('6660073')}}{{= val.id}}</div>
                                <div class="aui-list-item-title aui-font-size-14 goods-title">{{=lang('6660074')}}{{= val.checkedCount}}</div>
                            </div>
                        </ul>
                    </div>
                </div>
                {{~}}
            </script>
        </section>

    </div>








</body>

<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript" src="../script/md5.js"></script>
<script type="text/javascript" src="../script/common.js"></script>
<script type="text/javascript" src="../script/swipe.js"></script>
<script type="text/javascript" src="../script/SHA1.js"></script>
<script type="text/javascript" src="../script/doT.min.js"></script>
<script type="text/javascript" src="../script/remotedb.js"></script>
<script type="text/javascript" src="../script/list.js"></script>
<script type="text/javascript" src="../script/aui-tab.js"></script>
<script type="text/javascript" src="../script/aui-toast.js"></script>
<script type="text/javascript" src="../script/zepto.min.js"></script>
<script type="text/javascript" src="../script/jquery.min.js"></script>
<script type="text/javascript" src="../script/CryptoJS/core.js"></script>
<script type="text/javascript" src="../script/CryptoJS/cipher-core.js"></script>
<script type="text/javascript" src="../script/CryptoJS/mode-ecb.js"></script>
<script type="text/javascript" src="../script/CryptoJS/aes.js"></script>
<script type="text/javascript" src="../script/aui-collapse.js"></script>

<script type="text/javascript" src="../script/i18next-12.0.0.min.js"></script>
<script type="text/javascript" src="../script/i18nextLocizeBackend.min.js"></script>
<script type="text/javascript" src="../script/jquery-i18next.min.js"></script>
<script type="text/javascript" src="../script/jquery.cookie.js"></script>
<script type="text/javascript" src="../script/i18n-app.js"></script>

<script type="text/javascript">
    var host;
    apiready = function() {
        fnReady();
        initRequire();
        ajaxsetup();
        host = $api.getStorage('host');
        api.parseTapmode();
        load_i18n(function(t, i18n) {
            lang = t;
            i18next = i18n;
            // getList();
        });

    };
    //var host = 'http://61.177.28.246:8100';//
    // getHost();
    // ajaxsetup();
    // autologin();

    // getList();

    function getList() {

        $.ajax({
            url: host + '/tpm/AppRepair/MouthSubmitRepairList',
            //  data:JSON.stringify({
            //     "machineID":402
            // }),
            type: 'POST',
            success: function(result) {
                console.log(JSON.stringify(result));
                api.hideProgress();
                if (result.ret == 1) {

                    var testTemplate = doT.template($("#DotTemplate").text());
                    $("#list").html(testTemplate(result));
                    fnReadyOpenWin();
                } else {
                    customToast(lang(result.msg), 2000);
                }
            }
        })
    }


    function closeWin() {
        api.closeFrame();
    }
</script>

</html>
