|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en" xmlns:th="http://www.thymeleaf.org">
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<title>layui</title>
|
|
|
|
|
<meta name="renderer" content="webkit">
|
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
|
|
|
|
<link rel="stylesheet" href="/static/lib/layui-v2.6.3/css/layui.css" media="all">
|
|
|
|
|
<link rel="stylesheet" href="/static/css/public.css" media="all">
|
|
|
|
|
<link rel="stylesheet" href="/static/lib/font-awesome-4.7.0/css/font-awesome.min.css" media="all">
|
|
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<div class="layuimini-container">
|
|
|
|
|
<div class="layuimini-main">
|
|
|
|
|
<a id="refresh" href="javascript:" data-refresh="刷新"><i class="fa fa-refresh"></i></a>
|
|
|
|
|
|
|
|
|
|
<div class="layui-fluid">
|
|
|
|
|
<div class="layui-card">
|
|
|
|
|
<div class="layui-card-body" style="padding-top: 40px;">
|
|
|
|
|
<div id="stepForm" lay-filter="stepForm" style="margin: 0 auto;">
|
|
|
|
|
<div style="margin-top: 30px">
|
|
|
|
|
<table id="demo" class="layui-table"
|
|
|
|
|
style="margin: 0 auto;max-width: 800px;padding-top: 40px;">
|
|
|
|
|
<colgroup>
|
|
|
|
|
<col width="150">
|
|
|
|
|
<col width="200">
|
|
|
|
|
</colgroup>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>物料名称</td>
|
|
|
|
|
<td id="materialName" th:text="${inventory.getMname()}">骁龙888芯片</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>物料品牌</td>
|
|
|
|
|
<td id="brand" th:text="${inventory.getBrand()}">骁龙888芯片</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>物料型号</td>
|
|
|
|
|
<td id="version" th:text="${inventory.getVersion()}">骁龙888芯片</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>存货编码</td>
|
|
|
|
|
<td id="mcode" th:text="${inventory.getCode()}"></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>库存</td>
|
|
|
|
|
<td id="quantity" th:text="${(record.getQuantity() / 100)+':'+inventory.getUnit()}">
|
|
|
|
|
409
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr th:each="splitInventory,iterStar: ${splitInventoryList}">
|
|
|
|
|
<td>库存</td>
|
|
|
|
|
<td th:text="${(splitInventory.getSaveQuantity() / 100 )+':'+splitInventory.getSplitInfo().getNewUnit()}">
|
|
|
|
|
409
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<script src="/static/lib/layui-v2.6.3/layui.js" charset="utf-8"></script>
|
|
|
|
|
<script src="/static/js/lay-config.js?v=1.0.4" charset="utf-8"></script>
|
|
|
|
|
<script>
|
|
|
|
|
layui.use(['form', 'layer'], function () {
|
|
|
|
|
var $ = layui.jquery,
|
|
|
|
|
form = layui.form,
|
|
|
|
|
layer = layui.layer;
|
|
|
|
|
$('body').on('click', '[data-refresh]', function () {
|
|
|
|
|
location.reload();
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
</script>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|