bklLiudl
2024-07-23 675b8bcc4a3630d95e3d0b97d933e63442075ecb
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
@*  *@
@{
    Layout = null;
}
 
<!DOCTYPE html>
 
<html>
 
<body>
    <div class="widget box light-grey">
        <div class="widget-body">
            <div id="sampel_1_wrapper" class="dataTables_wrapper form-inline">
                <div class="row-fluid" style="padding: 5px 0px 10px 5px">
                    <div class="span12 search">
                        <label id="Ling_No">
                            生产令号:
                            <input name="Ling_No" type="text" class="input-small" placeholder="" />
                        </label>
                        <label id="MatNo">
                            物料编码:
                            <input name="MatNo" type="text" class="input-small" placeholder="" />
                        </label>
                        <label id="MatName">
                            物料名称:
                            <input name="MatName" type="text" class="input-small" placeholder="" />
                        </label>
                        <label id="PackFormat">
                            规格型号1:
                            <select id="PackFormat" name="PackFormat" class="inpu t-small">@Html.Raw(ViewBag.PackFormat)</select>
                        </label>
                        @*<label>
            项目号:
            <input name="ItemNo" type="text" class="input-small" placeholder="" />
        </label>
        <label>
            项目名称:
            <input name="ItemName" type="text" class="input-small" placeholder="" />
        </label>*@
                        <button class="btn btn-info" href="javascript:void(0)" name="search" data-command="Search">搜索</button>
                    </div>
                </div>
                <div id="tabInfo" class="row-fluid"></div>
                <div class="row-fluid" id="myMinPager" style="vertical-align:top;"></div>
 
            </div>
        </div>
    </div>
    <script type="text/javascript">
        $(document).ready(function () {
            //1是正常出库显示信息2是托盘出库显示搜索栏信息
             var staut = "@ViewBag.type";
            if (@ViewBag.type== "2") {
                document.getElementById("Ling_No").style.display = "none";
                document.getElementById("MatNo").style.display = "none";
                document.getElementById("MatName").style.display = "none";
            } else {
                document.getElementById("PackFormat").style.display = "none";
            }
 
 
        });</script>
</body>
</html>