懒羊羊
2023-10-17 92cffc135581ce2cf4aecac745ddb88e739c17de
提交 | 用户 | 时间
4779be 1 @layout("/common/_container.html",{js:["/assets/modular/kb/formula/formulaView.js"]}){
2
3 <div class="layui-fluid">
4     <div class="layui-row layui-col-space15">
5         <div class="layui-col-sm3 layui-col-md3 layui-col-lg3">
6             <div class="layui-card">
7                 <div class="layui-card-header" style="font-weight: bold">
8                     <i class="layui-icon layui-icon-rate-solid"></i>工位配置
9                 </div>
10                 <div class="layui-card-body">
11                     <form class="layui-form" action="">
12                         <div class="layui-form-item">
13                             <div class="layui-col-md12">
14                                 <div class="layui-inline">
15                                     产 线 编 号:
16                                 </div>
17                                 <div class="layui-inline">
18                                     <select id="lineCode" lay-verify="lineCode">
19                                     </select>
20                                 </div>
21                             </div>
22                             <div class="layui-col-md12">
23                                 <div class="layui-inline">
24                                     工 位 编 码:
25                                 </div>
26                                 <div class="layui-inline">
27                                     <select id="locationCode" lay-verify="locationCode">
28                                     </select>
29                                 </div>
30                             </div>
31                         </div>
32                     </form>
33                 </div>
34             </div>
35             <div class="layui-card">
36                 <div class="layui-card-header" style="font-weight: bold">
37                     <i class="layui-icon layui-icon-rate-solid"></i>工单信息
38                 </div>
92cffc 39                 <div class="layui-card-body" style="height: 368px">
4779be 40                     <div class="orderInfo">
41                         <span>工单编号</span>
42                         <span class="mySpan" style="float: right" id="workOrder"></span>
43                     </div>
44                     <div class="orderInfo">
45                         <span>订单编号</span>
46                         <span class="mySpan" style="float: right" id="salesOrderCode"></span>
47                     </div>
48                     <div class="orderInfo">
49                         <span>产品编号</span>
50                         <span class="mySpan" style="float: right" id="productCode"></span>
51                     </div>
52                     <div class="orderInfo">
53                         <span>产品名称</span>
54                         <span class="mySpan" style="float: right" id="productName"></span>
55                     </div>
56                     <div class="orderInfo">
ffeba3 57                         <span>工艺配方</span>
58                         <span class="mySpan" style="float: right" id="recipeCode"></span>
59                     </div>
60                     <div class="orderInfo">
4779be 61                         <span>计划数量</span>
62                         <span class="mySpan" style="float: right" id="planQty"></span>
63                     </div>
64                     <div class="orderInfo">
65                         <span>计划开始时间</span>
66                         <span class="mySpan" style="float: right" id="planStartTime"></span>
67                     </div>
68                     <div class="orderInfo">
69                         <span>计划结束时间</span>
70                         <span class="mySpan" style="float: right" id="planEndTime"></span>
71                     </div>
72                     <hr class="layui-border-orange">
73                     <div class="container">
74                         <input type="radio" id="sex1" name="sex1" value="nan1" title="男">
75                         <span>工件到位</span>
76                         <input style="margin-left: 150px" type="radio" name="sex" value="nan" title="男">
92cffc 77                         <span>工件入站</span>
4779be 78                     </div>
79                     <div class="container">
80                         <input type="radio" name="sex" value="nan" title="男">
92cffc 81                         <span>工件出站</span>
82                         <input style="margin-left: 150px" type="radio" name="test" value="test1" title="男">
83                         <span>工件完成</span>
4779be 84                     </div>
85                 </div>
86             </div>
87         </div>
cd500a 88         <div class="layui-col-sm6 layui-col-md6 layui-col-lg6">
ffeba3 89             <div class="layui-card" style="height: 605px">
4779be 90                 <div class="layui-card-header" style="font-weight: bold">
91                     <i class="layui-icon layui-icon-rate-solid"></i>操作栏
92                 </div>
93                 <div class="layui-card-body">
94                     <div class="layui-tab" lay-filter="test">
95                         <ul class="layui-tab-title">
96                             <li class="layui-this" lay-id="11">首页</li>
92cffc 97                             <li lay-id="22">BOM清单</li>
4779be 98                         </ul>
99                         <div class="layui-tab-content">
100                             <div class="layui-tab-item layui-show">
cd500a 101                                 <table class="layui-table" id="formulaChildInfoTable" lay-filter="formulaChildInfoTable"></table>
92cffc 102                                 <input id="scanCode" name="scanCode" placeholder="请扫描物料条码" type="text" class="layui-input"/>
4779be 103                             </div>
cd500a 104                             <div class="layui-tab-item">
92cffc 105                                 <table class="layui-table" id="productBomChildInfoTable" lay-filter="productBomChildInfoTable"></table>
cd500a 106                             </div>
4779be 107                         </div>
108                     </div>
109                 </div>
110             </div>
111         </div>
cd500a 112         <div class="layui-col-sm3 layui-col-md3 layui-col-lg3">
113             <div class="layui-card" style="height: 605px">
114                 <div class="layui-card-header" style="font-weight: bold">
115                     <i class="layui-icon layui-icon-rate-solid"></i>图片
116                 </div>
117                 <div class="layui-card-body">
118                     <img id="imgs" width="320px" height="270px">
92cffc 119                     <button type="button" class="layui-btn layui-btn-primary" id="clear">入站</button>
cd500a 120                 </div>
121             </div>
122
123         </div>
4779be 124 </div>
cd500a 125 <!--    <img id="imgs" width="400px" height="380px">-->
126     <style>
4779be 127     .orderInfo {
128         margin-bottom: 5px;  /* 设置换行后的下边距 */
129     }
130     .container {
131         display: flex; /* 使用 Flex 布局 */
132         align-items: center; /* 将子元素垂直居中对齐 */
133     }
134 </style>
135 @}