From 410861661b6e5b54ab3102c92f98c8e85c212b0d Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期三, 01 六月 2022 16:48:16 +0800
Subject: [PATCH] #
---
src/main/webapp/views/wrkMastLog/wrkDetlLog.html | 22 ++++++++++++++++------
1 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/src/main/webapp/views/wrkMastLog/wrkDetlLog.html b/src/main/webapp/views/wrkMastLog/wrkDetlLog.html
index af87049..2b8cee5 100644
--- a/src/main/webapp/views/wrkMastLog/wrkDetlLog.html
+++ b/src/main/webapp/views/wrkMastLog/wrkDetlLog.html
@@ -13,13 +13,20 @@
</style>
</head>
<body>
-<div class="layui-inline" style="width:31%;margin-top: 20px">
+<div class="layui-inline" style="width:20%;margin-top: 20px">
<label class="layui-form-label">宸� 浣� 鍙凤細</label>
<div class="layui-input-inline">
<input id="wrkNo" class="layui-input" type="text" disabled="disabled">
</div>
</div>
-<table class="layui-hide" id="wrkDetlByMast" lay-filter="wrkDetlByMast"></table>
+<div class="layui-inline" style="width:20%;margin-top: 20px">
+ <label class="layui-form-label">宸ヤ綔鏃堕棿锛�</label>
+ <div class="layui-input-inline">
+ <input id="ioTime" class="layui-input" type="text" disabled="disabled">
+ </div>
+</div>
+
+<table class="layui-hide" id="wrkDetlLogByMast" lay-filter="wrkDetlLogByMast"></table>
</body>
<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
@@ -31,9 +38,11 @@
function getCol() {
var cols = [
{field: 'wrkNo', align: 'center',title: '宸ヤ綔鍙�'}
- ,{field: 'ioTime$', align: 'center',title: '宸ヤ綔鏃堕棿'}
+ ,{field: 'ioTime$', align: 'center',title: '宸ヤ綔鏃堕棿',width:160}
];
cols.push.apply(cols, detlCols);
+ cols.push({field: 'billNo', title:'鍗曟嵁缂栧彿', align: 'center', hide:true}
+ ,{field: 'seqNo', title:'搴忓彿', align: 'center', width:80, hide:true});
return cols;
}
layui.use(['table','laydate', 'form'], function() {
@@ -42,12 +51,13 @@
var form = layui.form;
$('#wrkNo').val(parent.wrkNo);
+ $('#ioTime').val(top.dateToStrM(parent.ioTime));
// 鏁版嵁娓叉煋
tableIns1 = table.render({
- elem: '#wrkDetlByMast',
+ elem: '#wrkDetlLogByMast',
headers: {token: localStorage.getItem('token')},
- url: baseUrl+'/wrkDetl/list/auth',
- where: {wrk_no: parent.wrkNo},
+ url: baseUrl+'/wrkDetlLogByMast/list/auth',
+ where: {wrk_no: parent.wrkNo,ioTime: top.dateToStrM(parent.ioTime)},
page: true,
limit: 16,
limits: [16, 30, 50, 100, 200, 500],
--
Gitblit v1.9.1