试验管理
This commit is contained in:
parent
9407df74bb
commit
0a9295ff9b
|
|
@ -75,15 +75,15 @@ function initTable(dataList, limit, page) {
|
|||
return (page - 1) * limit + d.LAY_NUM;
|
||||
}
|
||||
},
|
||||
{field: "customName", title: "送样单位", unresize: true, align: "center"},
|
||||
{field: "sampleTime", title: "送样时间", unresize: true, align: "center"},
|
||||
{field: "sampleDev", title: "送样设备", unresize: true, align: "center"},
|
||||
{field: "customNum", title: "送样数量", unresize: true, align: "center"},
|
||||
{field: "sampleUserName", title: "收样人", unresize: true, align: "center"},
|
||||
{field: "sampleDate", title: "收样时间", unresize: true, align: "center"},
|
||||
{field: "dispatchUserName", title: "派工人", unresize: true, align: "center"},
|
||||
{field: "teamName", title: "试验班组", unresize: true, align: "center"},
|
||||
{field: "", title: "状态", unresize: true, align: "center",
|
||||
{field: "customName", title: "送样单位", unresize: true, align: "center",width: 150},
|
||||
{field: "sampleTime", title: "送样时间", unresize: true, align: "center",width: 150},
|
||||
{field: "sampleDev", title: "送样设备", unresize: true, align: "center",width: 150},
|
||||
{field: "customNum", title: "送样数量", unresize: true, align: "center",width: 150},
|
||||
{field: "sampleUserName", title: "收样人", unresize: true, align: "center",width: 150},
|
||||
{field: "sampleDate", title: "收样时间", unresize: true, align: "center",width: 150},
|
||||
{field: "dispatchUserName", title: "派工人", unresize: true, align: "center",width: 150},
|
||||
{field: "teamName", title: "试验班组", unresize: true, align: "center",width: 150},
|
||||
{field: "", title: "状态", unresize: true, align: "center",width: 150,
|
||||
templet: function (d) {
|
||||
if (d.audtiStatus == "待试验") {
|
||||
var html = " <span style='color: #9BB0FF'>待试验</span>";
|
||||
|
|
@ -127,7 +127,7 @@ function initTable(dataList, limit, page) {
|
|||
}
|
||||
}
|
||||
},*/
|
||||
{title: "操作", unresize: true, width: 300, align: "center",
|
||||
{title: "操作", unresize: true, width: 150, align: "center",
|
||||
templet: function (d) {
|
||||
var id = d.id;
|
||||
var customNum = d.customNum
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@
|
|||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" href="../../../../js/layui-v2.6.8/css/layui.css" media="all">
|
||||
<link rel="stylesheet" href="../../../../js/layui-v2.6.8/dtree/dtree.css">
|
||||
<link rel="stylesheet" href="../../../../js/layui-v2.6.8/dtree/font/dtreefont.css">
|
||||
<link rel="stylesheet" href="../../../../css/dataForm.css">
|
||||
<link rel="stylesheet" href="../../../../css/font.css">
|
||||
<link rel="stylesheet" href="../../../../css/basis/originalRecord.css">
|
||||
<script src="../../../../js/libs/jquery-2.1.1.min.js" charset="UTF-8" type="text/javascript"></script>
|
||||
<script src="../../../../js/layui-v2.6.8/layui.js" charset="UTF-8" type="text/javascript"></script>
|
||||
<script src="../../../../js/publicJs.js"></script>
|
||||
|
|
@ -41,7 +41,11 @@
|
|||
}
|
||||
|
||||
.table-cell-wide {
|
||||
width: 340px !important;
|
||||
width: 200vw !important;
|
||||
}
|
||||
|
||||
.layui-table th, .layui-table td {
|
||||
white-space: nowrap;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
|
@ -161,28 +165,7 @@
|
|||
<input type="text" class="layui-input" lay-verify="required" id="devContractDate" name="devContractDate" placeholder="请选择日期">
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-inline">
|
||||
<label class="layui-form-label"><i style="padding: 0 10px;">*</i>试验标准</label>
|
||||
<div class="layui-input-inline" >
|
||||
<input type="text" id="experStand" name="experStand" lay-verify="required" class="layui-input" placeholder="请输入试验标准" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<div class="layui-inline">
|
||||
<label class="layui-form-label"><i style="padding: 0 10px;">*</i>试验结论</label>
|
||||
<div class="layui-input-inline" >
|
||||
<input type="text" id="experConclu" name="experConclu" lay-verify="required" class="layui-input" placeholder="请输入试验结论" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-inline">
|
||||
<label class="layui-form-label"><i style="padding: 0 10px;">*</i>备注</label>
|
||||
<div class="layui-input-inline" >
|
||||
<input type="text" id="remarsk" name="remarsk" lay-verify="required" class="layui-input" placeholder="请输入备注" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item" style="margin-top: 2%;" >
|
||||
|
|
@ -192,34 +175,65 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="btn-box">
|
||||
<button class="layui-btn layui-btn-norma save" onclick="basisAdd()">新增试验依据</button>
|
||||
<button class="layui-btn layui-btn-primary cancel" onclick="basisDel()">删除试验依据</button>
|
||||
<button class="layui-btn layui-btn-norma save" onclick="basisAdd()">+</button>
|
||||
<button class="layui-btn layui-btn-primary cancel" onclick="basisDel()">-</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item" style="margin-top: 2%;overflow: auto;width: 100%;">
|
||||
<table class="layui-table" id="dynamicTable">
|
||||
<thead >
|
||||
<tr>
|
||||
<th style="width: 240px !important;" rowspan="2" class="center-aligned ">编号</th>
|
||||
<th style="width: 240px !important;" rowspan="2" class="center-aligned ">客户自编号</th>
|
||||
<th style="width: 240px !important;" colspan="3" class="center-aligned ">样品信息</th>
|
||||
<th style="width: 240px !important;" rowspan="2" class="center-aligned ">外观状态</th>
|
||||
<th style="width: 240px !important;" rowspan="2" class="center-aligned ">金额</th>
|
||||
<th style="width: 240px !important;" rowspan="2" class="center-aligned ">备注</th>
|
||||
</tr>
|
||||
<div style="width: 100%;">
|
||||
<div style="overflow: auto;width: 100%;">
|
||||
<table class="layui-table" id="dynamicTable">
|
||||
<thead >
|
||||
<tr>
|
||||
<th rowspan="2" class="center-aligned ">编号</th>
|
||||
<th rowspan="2" class="center-aligned ">客户自编号</th>
|
||||
<th colspan="3" class="center-aligned ">样品信息</th>
|
||||
<th rowspan="2" class="center-aligned ">外观状态</th>
|
||||
<th rowspan="2" class="center-aligned ">金额</th>
|
||||
<th rowspan="2" class="center-aligned ">备注</th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th style="width: 240px !important;" class="center-aligned ">生产厂家</th>
|
||||
<th style="width: 240px !important;" class="center-aligned ">生产日期</th>
|
||||
<th style="width: 240px !important;" class="center-aligned ">规格型号</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="center-aligned ">生产厂家</th>
|
||||
<th class="center-aligned ">生产日期</th>
|
||||
<th class="center-aligned ">规格型号</th>
|
||||
</tr>
|
||||
|
||||
</thead>
|
||||
<tbody>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<div class="layui-inline">
|
||||
<label class="layui-form-label"><i style="padding: 0 10px;">*</i>试验标准</label>
|
||||
<div class="layui-input-inline" >
|
||||
<textarea id="experStand" name="experStand" lay-verify="required" class="layui-textarea" placeholder="请输入试验标准" ></textarea>
|
||||
<!-- <input type="text" id="experStand" name="experStand" lay-verify="required" class="layui-input" placeholder="请输入试验标准" />-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-form-item">
|
||||
<div class="layui-inline">
|
||||
<label class="layui-form-label"><i style="padding: 0 10px;">*</i>试验结论</label>
|
||||
<div class="layui-input-inline" >
|
||||
<textarea id="experConclu" name="experConclu" lay-verify="required" class="layui-textarea" placeholder="请输入试验结论" ></textarea>
|
||||
<!-- <input type="text" id="experConclu" name="experConclu" lay-verify="required" class="layui-input" placeholder="请输入试验结论" />-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<div class="layui-inline">
|
||||
<label class="layui-form-label"><i style="padding: 0 10px;">*</i>备注</label>
|
||||
<div class="layui-input-inline" >
|
||||
<textarea id="remark" name="remark" lay-verify="required" class="layui-textarea" placeholder="请输入备注" ></textarea>
|
||||
<!-- <input type="text" id="remarsk" name="remarsk" lay-verify="required" class="layui-input" placeholder="请输入备注" />-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button type="submit" id="formSubmit" class="layui-btn" lay-submit="" lay-filter="formData"
|
||||
|
|
|
|||
|
|
@ -181,7 +181,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div >
|
||||
<div style="width: 100%;">
|
||||
<div style="overflow: auto;width: 100%;">
|
||||
<table class="layui-table" id="dynamicTable">
|
||||
<thead >
|
||||
|
|
|
|||
Loading…
Reference in New Issue