admin
2024-01-08 22f70cc8b2ba603e82bba058db320dced48f9470
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
@layout("/common/_container.html",{js:["/assets/modular/kb/scrapBoard/scrapBoard.js"]}){
<!--<style lang="css">-->
<!--    .layui-form-select .layui-input {-->
<!--        background-color: #00a0e9 !important;-->
<!--    }-->
<!--    .layui-input, .layui-textarea {-->
<!--        background-color: #00a0e9 !important;-->
<!--    }-->
<!--    .layui-table-view .layui-table td, .layui-table-view .layui-table th {-->
<!--        background-color: #00a0e9 !important;-->
<!--    }-->
<!--</style>-->
<div class="layui-body-header">
    <span class="layui-body-header-title">上料看板</span>
</div>
 
<div class="layui-fluid">
 
    <div class="layui-row layui-col-space12">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-header" style="font-weight: bold"><i class="layui-icon layui-icon-rate-solid"></i> 基础配置</div>
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
<!--                        <div class="layui-form-item">-->
                            <div class="layui-form-item layui-row">
                                <div class="layui-col-md4">
                                    <div class="layui-inline" class="testCode">
                                        产 线 编 号:
                                    </div>
                                    <div class="layui-inline">
<!--                                        <input id="lineCode" name="lineCode" placeholder="请输入产线编号" type="text" class="layui-input only" readonly/>-->
                                        <select name="lineCode" id="lineCode">
                                        </select>
                                    </div>
                                </div>
                                <div class="layui-col-md4">
                                    <div class="layui-inline">
                                        工 位 编 码:
                                    </div>
                                    <div class="layui-inline">
<!--                                        <input id="locationCode" name="locationCode" placeholder="请输入工位编码" type="text" class="layui-input only" readonly/>-->
                                        <select name="locationCode" id="locationCode">
                                        </select>
                                    </div>
                                </div>
                                <div class="layui-col-md4">
                                    <div class="layui-inline">
                                        报 废 类 目:
                                    </div>
                                    <div class="layui-inline">
<!--                                        <input id="scrapCategory" name="scrapCategory" placeholder="请输入报废类目" type="text" class="layui-input only" readonly/>-->
                                        <select name="scrapCategory" id="scrapCategory">
                                        </select>
                                    </div>
                                </div>
                                <div class="layui-col-md4">
                                    <div class="layui-inline">
                                        报 废 原 因:
                                    </div>
                                    <div class="layui-inline">
<!--                                        <input id="scrapReason" name="scrapReason" placeholder="请输入报废原因" type="text" class="layui-input only" readonly/>-->
                                        <select name="scrapReason" id="scrapReason">
                                        </select>
                                    </div>
                                </div>
                                <div class="layui-col-md4">
                                    <div class="layui-inline">
                                        数&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;量:
                                    </div>
                                    <div class="layui-inline">
                                        <input id="scrapNumber" name="scrapNumber" placeholder="请输入数量" type="number" class="layui-input"/>
                                    </div>
                                </div>
                                <div class="layui-col-md4">
                                    <div class="layui-inline">
                                        <button id="enter" style="margin-left: 185px" class="layui-btn layui-btn-radius layui-btn-lg">录 入</button>
                                    </div>
                                </div>
                            </div>
<!--                        </div>-->
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-col-sm8 layui-col-md8 layui-col-lg8">
            <div class="layui-card">
                <div class="layui-card-header" style="font-weight: bold"><i class="layui-icon layui-icon-rate-solid"></i> 报废记录</div>
                <div class="layui-card-body" style="height: 350px">
                    <table class="layui-table" id="materialShortageTable" lay-filter="materialShortageTable"></table>
                </div>
            </div>
        </div>
        <div class="layui-col-sm4 layui-col-md4 layui-col-lg4" >
            <div class="layui-card" style="height: 410px">
                <div class="layui-card-header" style="font-weight: bold"><i class="layui-icon layui-icon-rate-solid"></i> 生产工单</div>
                <div class="layui-card-body">
                    <div class="layui-form-item">
                        <input id="orderId" name="orderId" type="hidden"/>
                        <div class="layui-row">
                            <div class="layui-col-md12">
                                <div class="layui-inline">
                                    产 品 名 称:
                                </div>
                                <div class="layui-inline">
                                    <input style="width: 250px" id="materialName" name="materialName"  type="text" class="layui-input only" readonly autocomplete="off"/>
                                </div>
                            </div>
                            <div class="layui-col-md12">
                                <div class="layui-inline">
                                    生 产 工 单:
                                </div>
                                <div class="layui-inline">
                                    <input id="workOrderNo" name="workOrderNo"  type="text" class="layui-input only" readonly autocomplete="off"/>
                                </div>
 
                            </div>
                            <div class="layui-col-md12">
                                <div class="layui-inline">
                                    产 品 编 号:
                                </div>
                                <div class="layui-inline">
                                    <input id="materialCode" name="materialCode" type="text" class="layui-input only" readonly/>
                                </div>
                            </div>
 
<!--                            <div class="layui-col-md12">-->
<!--                                <div class="layui-inline">-->
<!--                                    客 户 编 号:-->
<!--                                </div>-->
<!--                                <div class="layui-inline">-->
<!--                                    <input id="custom" name="custom"  type="text" class="layui-input only" readonly autocomplete="off"/>-->
<!--                                </div>-->
 
<!--                            </div>-->
                            <div class="layui-col-md12">
                                <div class="layui-inline">
                                    计 划 数 量:
                                </div>
                                <div class="layui-inline">
                                    <input id="planQty" name="planQty"  type="text" class="layui-input only" readonly autocomplete="off"/>
                                </div>
                            </div>
                            <div class="layui-col-md12">
                                <div class="layui-inline">
                                    创 建 时 间:
                                </div>
                                <div class="layui-inline">
                                    <input id="createTime" name="createTime"  type="text" class="layui-input only" readonly autocomplete="off"/>
                                </div>
                            </div>
<!--                            <div class="layui-col-md12" style="margin-left: -18px">-->
<!--                                <div class="layui-inline">-->
<!--                                    计划开始时间:-->
<!--                                </div>-->
<!--                                <div class="layui-inline">-->
<!--                                    <input id="planStartTime" name="planStartTime"  type="text" class="layui-input only" readonly autocomplete="off"/>-->
<!--                                </div>-->
<!--                            </div>-->
<!--                            <div class="layui-col-md12" style="margin-left: -18px">-->
<!--                                <div class="layui-inline">-->
<!--                                    计划结束时间:-->
<!--                                </div>-->
<!--                                <div class="layui-inline">-->
<!--                                    <input id="planEndTime" name="planEndTime"  type="text" class="layui-input only" readonly autocomplete="off"/>-->
<!--                                </div>-->
<!--                                <div class="layui-inline">-->
<!--                                    <button id="orderBtnSet" class="layui-btn layui-btn-radius layui-btn-lg">设 置</button>-->
<!--                                </div>-->
<!--                            </div>-->
                            <div class="layui-col-md12">
                                <div class="layui-inline">
                                    完 成 数 量:
                                </div>
                                <div class="layui-inline">
                                    <input id="actualQty" name="actualQty"  type="text" class="layui-input only" readonly autocomplete="off"/>
                                </div>
                                <div class="layui-inline">
                                    <button id="orderBtnSet" class="layui-btn layui-btn-radius layui-btn-lg">设 置</button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
 
    </div>
        <button id="revert" class="layui-btn layui-btn-radius layui-btn-lg" style="float: right">返回首页</button>
    </div>
</div>
 
 
@}
 
<style>
    .only {
        background-color: #eeeeee;
    }
</style>