You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
251 lines
12 KiB
251 lines
12 KiB
<!DOCTYPE html>
|
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
|
|
<head>
|
|
<th:block th:include="include :: header('制造入库通知查询列表')" />
|
|
</head>
|
|
<body class="gray-bg" style="background-color: #E5E5E5">
|
|
<div class="container-div">
|
|
<div style="margin-left:-15px ; margin-right: -15px ">
|
|
<div class="col-sm-12 search-collapse ">
|
|
<h4>入库-制造入库通知查询</h4>
|
|
<!-- 此处为页面标题-功能-->
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-sm-12 search-collapse">
|
|
<form id="formId">
|
|
<h4>搜索关键字</h4>
|
|
<hr>
|
|
<div class="select-list">
|
|
<ul>
|
|
<li>
|
|
<label>通知单号:</label>
|
|
<input type="text" name="warehousingmanufacturenoticeNo"/>
|
|
</li>
|
|
<li>
|
|
<label>客户号:</label>
|
|
<input type="text" name="customerId"/>
|
|
</li>
|
|
<li>
|
|
<label>客户名称:</label>
|
|
<input type="text" name="customerName"/>
|
|
</li>
|
|
<li>
|
|
<label>入库类型:</label>
|
|
<select name="warehousingType" th:with="type=${@dict.getType('dock_warehousing_purchase_type')}">
|
|
<option value="">所有</option>
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
|
|
</select>
|
|
</li>
|
|
<li class="select-time">
|
|
<label>入库日期:</label>
|
|
<input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginWarehousingDate]"/>
|
|
<span>-</span>
|
|
<input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endWarehousingDate]"/>
|
|
</li>
|
|
<li>
|
|
<label>工单号:</label>
|
|
<input type="text" name="workorderNo"/>
|
|
</li>
|
|
<li>
|
|
<label>内外销:</label>
|
|
<select name="domesticOrExport" th:with="type=${@dict.getType('sys_NWX_class')}">
|
|
<option value="">所有</option>
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
|
|
</select>
|
|
</li>
|
|
<li>
|
|
<label>仓库号:</label>
|
|
<select name="warehouseNo">
|
|
<option value="">所有</option>
|
|
<option value="-1">代码生成请选择字典属性</option>
|
|
</select>
|
|
</li>
|
|
<li>
|
|
<label>仓库名称:</label>
|
|
<select name="warehouseName">
|
|
<option value="">所有</option>
|
|
<option value="-1">代码生成请选择字典属性</option>
|
|
</select>
|
|
</li>
|
|
<li>
|
|
<label>项次:</label>
|
|
<input type="text" name="projectTimes"/>
|
|
</li>
|
|
<!-- <li>-->
|
|
<!-- <label>入库单号:</label>-->
|
|
<!-- <input type="text" name="warehousingmanufactureNo"/>-->
|
|
<!-- </li>-->
|
|
<li>
|
|
<label>物料代码:</label>
|
|
<input type="text" name="itemNo"/>
|
|
</li>
|
|
<li>
|
|
<label>物料名称:</label>
|
|
<input type="text" name="itemName"/>
|
|
</li>
|
|
<li>
|
|
<label>规格型号:</label>
|
|
<input type="text" name="specificationModel"/>
|
|
</li>
|
|
<li>
|
|
<label>机种:</label>
|
|
<input type="text" name="machineType"/>
|
|
</li>
|
|
<li>
|
|
<label>单位:</label>
|
|
<input type="text" name="unit"/>
|
|
</li>
|
|
<li>
|
|
<label>入库数量:</label>
|
|
<input type="text" name="warehousingAmt"/>
|
|
</li>
|
|
<li class="select-time">
|
|
<label>通知时间:</label>
|
|
<input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginNoticeTime]"/>
|
|
<span>-</span>
|
|
<input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endNoticeTime]"/>
|
|
</li>
|
|
<li>
|
|
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i> 搜索</a>
|
|
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i> 重置</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
|
|
<div class="btn-group-sm" id="toolbar" role="group">
|
|
<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="stock:warehousingManufactureNotice:add">
|
|
<i class="fa fa-plus"></i> 添加
|
|
</a>
|
|
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="stock:warehousingManufactureNotice:edit">
|
|
<i class="fa fa-edit"></i> 修改
|
|
</a>
|
|
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="stock:warehousingManufactureNotice:remove">
|
|
<i class="fa fa-remove"></i> 删除
|
|
</a>
|
|
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="stock:warehousingManufactureNotice:export">
|
|
<i class="fa fa-download"></i> 导出
|
|
</a>
|
|
</div>
|
|
<div class="col-sm-12 select-table table-striped">
|
|
<h4>详细数据</h4>
|
|
<hr>
|
|
<table id="bootstrap-table"></table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<th:block th:include="include :: footer" />
|
|
<script th:inline="javascript">
|
|
var editFlag = [[${@permission.hasPermi('stock:warehousingManufactureNotice:edit')}]];
|
|
var removeFlag = [[${@permission.hasPermi('stock:warehousingManufactureNotice:remove')}]];
|
|
var warehousingTypeDatas = [[${@dict.getType('dock_warehousing_purchase_type')}]];
|
|
var domesticOrExportDatas = [[${@dict.getType('sys_NWX_class')}]];
|
|
var prefix = ctx + "stock/warehousingManufactureNotice";
|
|
|
|
$(function() {
|
|
var options = {
|
|
url: prefix + "/list",
|
|
createUrl: prefix + "/add",
|
|
updateUrl: prefix + "/edit/{id}",
|
|
removeUrl: prefix + "/remove",
|
|
exportUrl: prefix + "/export",
|
|
modalName: "制造入库通知查询",
|
|
columns: [{
|
|
checkbox: true
|
|
},
|
|
{
|
|
field: 'warehousingmanufacturenoticeNo',
|
|
title: '制造入库通知单号'
|
|
},
|
|
{
|
|
field: 'customerId',
|
|
title: '客户号'
|
|
},
|
|
{
|
|
field: 'customerName',
|
|
title: '客户名称'
|
|
},
|
|
{
|
|
field: 'warehousingType',
|
|
title: '入库类型',
|
|
formatter: function(value, row, index) {
|
|
return $.table.selectDictLabel(warehousingTypeDatas, value);
|
|
}
|
|
},
|
|
{
|
|
field: 'warehousingDate',
|
|
title: '入库日期'
|
|
},
|
|
{
|
|
field: 'workorderNo',
|
|
title: '工单号'
|
|
},
|
|
{
|
|
field: 'domesticOrExport',
|
|
title: '内外销',
|
|
formatter: function(value, row, index) {
|
|
return $.table.selectDictLabel(domesticOrExportDatas, value);
|
|
}
|
|
},
|
|
{
|
|
field: 'warehouseNo',
|
|
title: '仓库号'
|
|
},
|
|
{
|
|
field: 'warehouseName',
|
|
title: '仓库名称'
|
|
},
|
|
{
|
|
field: 'projectTimes',
|
|
title: '项次'
|
|
},
|
|
{
|
|
field: 'warehousingmanufactureNo',
|
|
title: '制造入库单号'
|
|
},
|
|
{
|
|
field: 'itemNo',
|
|
title: '物料代码'
|
|
},
|
|
{
|
|
field: 'itemName',
|
|
title: '物料名称'
|
|
},
|
|
{
|
|
field: 'specificationModel',
|
|
title: '规格型号'
|
|
},
|
|
{
|
|
field: 'machineType',
|
|
title: '机种'
|
|
},
|
|
{
|
|
field: 'unit',
|
|
title: '单位'
|
|
},
|
|
{
|
|
field: 'warehousingAmt',
|
|
title: '入库数量'
|
|
},
|
|
{
|
|
field: 'noticeTime',
|
|
title: '通知时间'
|
|
},
|
|
{
|
|
title: '操作',
|
|
align: 'center',
|
|
formatter: function(value, row, index) {
|
|
var actions = [];
|
|
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.warehousingmanufacturenoticeNo + '\')"><i class="fa fa-edit"></i>编辑</a> ');
|
|
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.warehousingmanufacturenoticeNo + '\')"><i class="fa fa-remove"></i>删除</a>');
|
|
return actions.join('');
|
|
}
|
|
}]
|
|
};
|
|
$.table.init(options);
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|