123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
- <!DOCTYPE HTML>
- <html>
- <head>
- <meta charset="utf-8">
- <meta name="renderer" content="webkit|ie-comp|ie-stand">
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <meta name="viewport"
- content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
- <meta http-equiv="Cache-Control" content="no-siteapp"/>
- <#include "/base/add_base.ftl">
- <link href="${path}/common/lib/jquery.ui/jquery-ui.css" rel="stylesheet" type="text/css"/>
- <style>
- .content { width: 100%; margin: 0 auto;font-size: 12px;}
- .my-title{font-weight: 500;padding-left: 15px;position: relative;}
- .my-title:after{content: '';position: absolute;left: 0;top:12%;width: 3px;height: 80%;background: #32a3d8;}
- .my-input{padding: 5px 10px;width: 80%;border:1px solid rgba(0,0,0,.1);}
- .my-span{padding: 5px 10px;width: 80%;}
- .my-input-date{padding: 5px 10px;border:1px solid rgba(0,0,0,.1);width: 80%;background: url(${path}/common/images/pts//rili-1.png) 98.5% center no-repeat; background-size:auto 80%;}
- .input-box{margin: 18px 0;}
- .input-dic{float: left;margin:5px 10px 0 0;font-size: 12px;}
- .add-list{list-style-type: none;padding: 10px;background-color: #f5f5f5;width: 60%;float: left;margin: 0;}
- .add-list>li{margin: 10px 0;}
- .my-textarea{padding: 5px 10px;width: 80%;border:1px solid rgba(0,0,0,.1);}
- .my-btn-reset{padding: 6px 20px;width: 150px; background-color: #fff;color: #32a3d8;border: 1px solid #32a3d8;cursor:pointer;margin: 10px 10px 0 10px;}
- .my-btn-submit{padding: 6px 20px;width: 150px; background-color: #32a3d8;color: #fff;border: 1px solid #32a3d8;cursor:pointer;margin: 10px 10px 0 10px;}
- .my-select{border: 1px solid rgba(0,0,0,.1);padding:6px 50px 6px 15px;width: 60%; height: 34px;margin: 0 10px; -webkit-appearance:none;appearance:none;background: url(${path}/common/images/pts/select-1.png) right center no-repeat #fff;background-size:auto 100%;}
- input[type=radio]{-webkit-appearance:none;appearance:none;background: url(/common/images/pts/radio-1.png) center center no-repeat;background-size:auto 100%;width: 20px;height: 20px;margin-right: 10px;}
- input[type=radio]:checked{-webkit-appearance:none;appearance:none;background: url(/common/images/pts/radio-2.png) center center no-repeat;background-size:auto 100%;width: 20px;height: 20px;margin-right: 10px;}
- .my-con-right{width: 80px;float: left; text-align: right; }
- .my-con-left{width: 80%; display: block; float: left;padding-left: 20px; font-size: 14px;line-height: 20px;}
- .my-con-text{width: 80%; padding-left: 8px; }
- .my-btn-search{border: 1px solid #32a3d8;padding: 1px 25px;height: 32px;background-color: #32a3d8;color: #fff;}
- </style>
- <title>Bom单详情 - Bom管理 - RST</title>
- </head>
- <body>
- <nav class="breadcrumb"><i class="Hui-iconfont"></i> 首页
- <span class="c-gray en">></span> Bom管理
- <span class="c-gray en">></span> Bom单详情
- <a class="btn radius r"
- style="line-height:1.6em;margin-top:3px;background: #32a3d8;color: #fff;border:1px solid #32a3d8;"
- href="javascript:location.replace(location.href);" title="刷新"><i class="Hui-iconfont"></i></a>
- </nav>
- <article class="page-container">
- <form action="${path}/admin/bom/update_bom" method="post" class="form form-horizontal" id="form-bom-update">
- <button type="button" style="cursor:pointer; float: left;" class="my-btn-search" onclick="reback();"><<返回Bom列表</button></br></br>
- <div style="padding: 10px;">
- <div class="my-title">Bom单详情</div>
- <input type="hidden" value="${ptsBom.bomId}" id="bomId" name="bomId">
- <input type="hidden" value="${ptsBom.produceId}" id="produceId" name="produceId">
- <div class="input-box">
- <span class="my-con-right content">所属产品:</span>
- <span class="my-con-left content">${ptsBom.produceName}</span>
- </div>
- <div class="input-box">
- <span class="my-con-right content">Bom名称:</span>
- <span class="my-con-left content">${ptsBom.bomName}</span>
- </div>
- <div class="input-box">
- <span class="my-con-right content">硬件版本:</span>
- <span class="my-con-left content">${ptsBom.bomVersion}</span>
- </div>
- <div class="input-box">
- <span class="my-con-right content">Bom备注:</span>
- <span class="my-con-text content">${ptsBom.bomRemarks ! ''}</span>
- </div>
- <div class="input-box">
- <span class="my-con-right content">零件总成本:</span>
- <span class="my-con-text content"><#if ptsBom.allComponentsCost?? >${ptsBom.allComponentsCost/100}</#if>(元)</span>
- </div>
- <div class="input-box">
- <span class="my-con-right content">零件总重量:</span>
- <span class="my-con-text content">${ptsBom.allComponentsWeight ! ''}(g)</span>
- </div>
- <div class="my-title">Bom零件清单</div>
- <div class="row cl" style="margin-left: 20px">
- <div class="formControls col-xs-8 col-sm-9 components" style=" padding-left: 0px;">
- <input type="hidden" id="bomComponentJson" name="bomComponentJson">
- <table class="table table-border table-bordered table-bg table-hover table-sort">
- <thead>
- <tr class="text-c">
- <th width="80">零件编号</th>
- <th width="">零件名称</th>
- <th width="">零件数量</th>
- <th width="">零件成本(元)</th>
- <th width="">零件净重(g)</th>
- <th width="">零件规格</th>
- <th width="">零件供应商</th>
- </tr>
- </thead>
- <tbody id="componentaAll">
- <#if ptsBom.ptsBomComponentsList?? && (ptsBom.ptsBomComponentsList?size > 0) >
- <#list ptsBom.ptsBomComponentsList as bomComponents>
- <#assign compont = bomComponents.ptsComponents/>
- <tr class="text-c">
- <td>
- ${compont.componentsNo}
- </td>
- <td>
- ${compont.componentsName}
- </td>
- <td>
- ${bomComponents.bomComponentsQuantity}
- </td>
- <td>
- <#if compont.componentsCost?? >${compont.componentsCost/100}</#if>
- </td>
- <td>
- ${compont.componentsWeight}
- </td>
- <td>
- ${compont.componentsSpecification}
- </td>
- <td>
- ${compont.supplierName}
- </td>
- </tr>
- </#list>
- </#if>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </form>
- </article>
- <script type="text/javascript">
- /*返回列表*/
- function reback() {
- window.history.back();
- }
- </script>
- <!--/请在上方写此页面业务相关的脚本-->
- </body>
- </html>
|