第二期基本完成
parent
c2d73ad9ca
commit
77935b5153
|
@ -13,8 +13,8 @@
|
||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<input style="display: none" name="orderId" class="form-control" readonly type="text" required>
|
<input style="display: none" name="orderId" class="form-control" readonly type="text" required>
|
||||||
<input name="orderName" class="form-control" type="text" onclick="selectOrder()" required>
|
<input name="orderName" class="form-control" readonly type="text" onclick="openList()" required>
|
||||||
<span class="input-group-addon"><i class="fa fa-search"></i></span>
|
<span class="input-group-addon"><i class="fa fa-search" onclick="openList()"></i></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -14,8 +14,8 @@
|
||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<input style="display: none" th:orderId="*{orderId}" name="orderId" class="form-control" readonly type="text" required>
|
<input style="display: none" th:orderId="*{orderId}" name="orderId" class="form-control" readonly type="text" required>
|
||||||
<input name="orderName" th:orderName="*{orderName}" class="form-control" type="text" onclick="selectOrder()" required>
|
<input name="orderName" th:orderName="*{orderName}" readonly class="form-control" type="text" onclick="openList()" required>
|
||||||
<span class="input-group-addon"><i class="fa fa-search"></i></span>
|
<span class="input-group-addon"><i class="fa fa-search" onclick="openList()"></i></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -3,6 +3,11 @@
|
||||||
<head>
|
<head>
|
||||||
<th:block th:include="include :: header('修改合同档案')" />
|
<th:block th:include="include :: header('修改合同档案')" />
|
||||||
<th:block th:include="include :: datetimepicker-css" />
|
<th:block th:include="include :: datetimepicker-css" />
|
||||||
|
<style>
|
||||||
|
.hideTd{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body class="white-bg">
|
<body class="white-bg">
|
||||||
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
||||||
|
@ -215,6 +220,7 @@
|
||||||
field: 'id',
|
field: 'id',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
title: "id",
|
title: "id",
|
||||||
|
class:'hideTd',
|
||||||
formatter: function (value, row, index) {
|
formatter: function (value, row, index) {
|
||||||
var html = $.common.sprintf("<input type='hidden' name='orderListList[%s].id' value='%s'>", index, value);
|
var html = $.common.sprintf("<input type='hidden' name='orderListList[%s].id' value='%s'>", index, value);
|
||||||
return html;
|
return html;
|
||||||
|
|
|
@ -37,6 +37,7 @@
|
||||||
label {
|
label {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
width: 80px;
|
width: 80px;
|
||||||
|
font-weight: 600;
|
||||||
|
|
||||||
}
|
}
|
||||||
input[type="text"] {
|
input[type="text"] {
|
||||||
|
@ -74,7 +75,7 @@
|
||||||
display: flex;justify-content: flex-start;flex-direction: column;align-items: center
|
display: flex;justify-content: flex-start;flex-direction: column;align-items: center
|
||||||
}
|
}
|
||||||
.table-striped thead{
|
.table-striped thead{
|
||||||
background: #ccc;
|
background: #f5f5f5 !important;
|
||||||
}
|
}
|
||||||
.table-striped thead th{
|
.table-striped thead th{
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
@ -84,8 +85,10 @@
|
||||||
}
|
}
|
||||||
.tabBtn{
|
.tabBtn{
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 10px;
|
padding:8px 10px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
width: 80px;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
@ -108,7 +111,7 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div style="font-size: 20px;text-align: left;width: 70vw;margin: 10px 0">查询结果</div>
|
<div style="font-size: 20px;text-align: left;width: 70vw;margin: 10px 0">查询结果</div>
|
||||||
<div style="font-size: 16px;text-align: left;width: 70vw;font-weight: 600;">产品信息</div>
|
<div style="font-size: 16px;text-align: left;width: 70vw;font-weight: 600;"><blockquote style="border-left-color: #dd242a">产品信息</blockquote> </div>
|
||||||
<table class="tableBOx" id="tableBOx">
|
<table class="tableBOx" id="tableBOx">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -169,7 +172,7 @@
|
||||||
});
|
});
|
||||||
function getData() {
|
function getData() {
|
||||||
let serialNumber=$('#serialNumber').val()
|
let serialNumber=$('#serialNumber').val()
|
||||||
$.operate.get(`/system/product/product=${serialNumber}`, function (res){
|
$.operate.get(`/manage/service/product?serialNumber=${serialNumber}`, function (res){
|
||||||
let str=`<tr><td colspan="5" style="text-align: center">暂无数据</td></tr>`
|
let str=`<tr><td colspan="5" style="text-align: center">暂无数据</td></tr>`
|
||||||
if(res.data.length){
|
if(res.data.length){
|
||||||
str=``
|
str=``
|
||||||
|
@ -185,7 +188,7 @@ let serialNumber=$('#serialNumber').val()
|
||||||
}
|
}
|
||||||
$('#tableBOx tbody').html(str)
|
$('#tableBOx tbody').html(str)
|
||||||
})
|
})
|
||||||
$.operate.get(`/manage/service/order=${serialNumber}`, function (res){
|
$.operate.get(`/manage/service/order?serialNumber=${serialNumber}`, function (res){
|
||||||
let str=`<tr><td colspan="9" style="text-align: center">暂无数据</td></tr>`
|
let str=`<tr><td colspan="9" style="text-align: center">暂无数据</td></tr>`
|
||||||
if(res.data.length){
|
if(res.data.length){
|
||||||
str=``
|
str=``
|
||||||
|
@ -207,6 +210,25 @@ let serialNumber=$('#serialNumber').val()
|
||||||
}
|
}
|
||||||
$('#tableBOx2 tbody').html(str)
|
$('#tableBOx2 tbody').html(str)
|
||||||
})
|
})
|
||||||
|
$.operate.get(`/manage/service/query?serialNumber=${serialNumber}`, function (res){
|
||||||
|
let str=`<tr><td colspan="9" style="text-align: center">暂无数据</td></tr>`
|
||||||
|
if(res.data.length){
|
||||||
|
str=``
|
||||||
|
res.data.forEach((ele)=>{
|
||||||
|
str+=`<tr>
|
||||||
|
<td></td>
|
||||||
|
<td></td>
|
||||||
|
<td>${ele.startDate}</td>
|
||||||
|
<td></td>
|
||||||
|
<td></td>
|
||||||
|
|
||||||
|
<td>${ele.statua == 0 ? '有效' : '无效'}</td>
|
||||||
|
|
||||||
|
</tr>`
|
||||||
|
})
|
||||||
|
}
|
||||||
|
$('#tableBOx3 tbody').html(str)
|
||||||
|
})
|
||||||
}
|
}
|
||||||
function changeTab(show) {
|
function changeTab(show) {
|
||||||
if(!show){
|
if(!show){
|
||||||
|
|
Loading…
Reference in New Issue