陈战涛
2023-03-14 c29ed2aa867b00eccfdc7c3a68f431008b13ea7d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>质量详情</title>
        <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
        <link href="./css/mui.min.css" rel="stylesheet" />
 
        <style>
            .mui-bar-nav {
                background: #245ca7;
                -webkit-box-shadow: none;
                box-shadow: none;
            }
 
            .mui-title {
                color: #FFFFFF;
            }
 
            .mui-icon-back:before,
            .mui-icon-left-nav:before {
                color: #FFFFFF;
            }
 
            .depot_detail {
                background: #fff;
                width: 94%;
                margin: auto;
                margin-top: 12px;
                margin-bottom: 10px;
                border-top-left-radius: 5px;
                border-top-right-radius: 5px;
            }
 
            .depot_detail_title {
                background: #6b9ddf;
                height: 36px;
                border-top-left-radius: 10px;
                border-top-right-radius: 10px;
                text-align: center;
                font-size: 18px;
                padding: 6px 0;
                color: #fff
            }
 
            .depot_detail_body {
                padding-left: 15px;
            }
 
            .depot_detail_body table {
                width: 100%;
            }
 
            .depot_detail_body tr {
                border-bottom: 1px #efefef solid;
                height: 32px;
                line-height: 32px;
            }
 
            .depot_detail_img {
                width: 8px;
                margin-right: 3px;
            }
 
            .depot_detail_one {
                color: rgb(102, 102, 102);
                font-size: 15px;
                width: 35%;
            }
 
            .depot_detail_two {
                color: black;
                font-size: 16px;
                font-weight: 510;
            }
        </style>
    </head>
    <body>
        <header class="mui-bar mui-bar-nav">
            <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
            <h1 class="mui-title">质量详情</h1>
        </header>
        <div class="mui-content">
 
            <div class="depot_detail">
                <div class="depot_detail_title"><span id="depotName"></span>质量信息</div>
                <div class="depot_detail_body">
                    <table>
                        <tr class="depot_detail_tr">
                            <td class="depot_detail_one">仓库类型:</td>
                            <td class="depot_detail_two" id="depotTypeName"></td>
                        </tr>
                        <tr>
                            <td class="depot_detail_one">粮食品种:</td>
                            <td class="depot_detail_two" id="foodVarietyName"></td>
                        </tr>
                        <tr>
                            <td class="depot_detail_one">粮食性质:</td>
                            <td class="depot_detail_two" id="foodTypeName"></td>
                        </tr>
                        <tr>
                            <td class="depot_detail_one">粮食年份:</td>
                            <td class="depot_detail_two" id="foodYear"></td>
                        </tr>
                        <tr>
                            <td class="depot_detail_one">入库年份:</td>
                            <td class="depot_detail_two" id="storeDate"></td>
                        </tr>
                        <tr>
                            <td class="depot_detail_one">实际储量:</td>
                            <td class="depot_detail_two" id="storageReal"></td>
                        </tr>
                        <tr>
                            <td class="depot_detail_one">保管员:</td>
                            <td class="depot_detail_two" id="storeKeeperName"></td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
        <script src="./js/mui.js"></script>
        <script src="./js/jquery.min.js"></script>
        <script src="./js/echarts.min.js"></script>
        <script type="text/javascript" charset="utf-8">
            mui.init();
            mui.plusReady(function() {
                //获取仓库参数,如仓库Id,仓库类型和仓库名称
                var curr = plus.webview.currentWebview();
                $("#depotName").html(curr.item.depotName);
                $("#depotTypeName").html(curr.item.depotTypeName);
                $("#foodVarietyName").html(curr.item.foodVarietyName);
                $("#foodTypeName").html(curr.item.foodTypeName);
                $("#foodYear").html(curr.item.foodYear);
                $("#storeDate").html(curr.item.storeDate);
                $("#storageReal").html(curr.item.storageReal);
                $("#storeKeeperName").html(curr.item.storeKeeperName);
            })
        </script>
    </body>
</html>