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.
377 lines
14 KiB
377 lines
14 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">
|
|
<div class="container-div">
|
|
<div class="row">
|
|
<div class="col-sm-12 search-collapse">
|
|
<form id="formId">
|
|
<div class="select-list">
|
|
<ul>
|
|
<li>
|
|
<label>入库编号:</label>
|
|
<input type="text" name="inputNO"/>
|
|
</li>
|
|
<li>
|
|
<label>批次:</label>
|
|
<input type="text" name="poNo"/>
|
|
</li>
|
|
<!-- <li>-->
|
|
<!-- <label>公司编号:</label>-->
|
|
<!-- <input type="text" name="pCode"/>-->
|
|
<!-- </li>-->
|
|
<!-- <li>-->
|
|
<!-- <label>公司名称:</label>-->
|
|
<!-- <input type="text" name="pName"/>-->
|
|
<!-- </li>-->
|
|
<!-- <li>-->
|
|
<!-- <label>联系人:</label>-->
|
|
<!-- <input type="text" name="pLinkman"/>-->
|
|
<!-- </li>-->
|
|
<!-- <li>-->
|
|
<!-- <label>联系号码:</label>-->
|
|
<!-- <input type="text" name="pTel"/>-->
|
|
<!-- </li>-->
|
|
<!-- <li>-->
|
|
<!-- <label>固话:</label>-->
|
|
<!-- <input type="text" name="pFax"/>-->
|
|
<!-- </li>-->
|
|
<li>
|
|
<label>区域:</label>
|
|
<input type="text" name="StockNO"/>
|
|
</li>
|
|
<li>
|
|
<label>区域名称:</label>
|
|
<input type="text" name="StockName"/>
|
|
</li>
|
|
<!-- <li>-->
|
|
<!-- <label>仓库管理人:</label>-->
|
|
<!-- <input type="text" name="Stockman"/>-->
|
|
<!-- </li>-->
|
|
<li>
|
|
<label>入库方式:</label>
|
|
<input type="text" name="inputclass"/>
|
|
</li>
|
|
<li>
|
|
<label>入库日期:</label>
|
|
<input type="text" class="time-input" placeholder="请选择入库日期" name="inputdate"/>
|
|
</li>
|
|
<!-- <li>-->
|
|
<!-- <label>出产或内销:</label>-->
|
|
<!-- <input type="text" name="chinaInOrOut"/>-->
|
|
<!-- </li>-->
|
|
<!-- <li>-->
|
|
<!-- <label>:</label>-->
|
|
<!-- <input type="text" name="cancelFlag"/>-->
|
|
<!-- </li>-->
|
|
<!-- <li>-->
|
|
<!-- <label>类型:</label>-->
|
|
<!-- <input type="text" name="Itemclass"/>-->
|
|
<!-- </li>-->
|
|
<li>
|
|
<label>工单号:</label>
|
|
<input type="text" name="workNo"/>
|
|
</li>
|
|
<!-- <li>-->
|
|
<!-- <label>:</label>-->
|
|
<!-- <input type="text" name="piNo"/>-->
|
|
<!-- </li>-->
|
|
<!-- <li>-->
|
|
<!-- <label>:</label>-->
|
|
<!-- <input type="text" name="inputvoice"/>-->
|
|
<!-- </li>-->
|
|
<!-- <li>-->
|
|
<!-- <label>出产内销:</label>-->
|
|
<!-- <input type="text" name="NWX"/>-->
|
|
<!-- </li>-->
|
|
<!-- <li>-->
|
|
<!-- <label>年月:</label>-->
|
|
<!-- <input type="text" name="ym"/>-->
|
|
<!-- </li>-->
|
|
<!-- <li>-->
|
|
<!-- <label>:</label>-->
|
|
<!-- <input type="text" name="pqcId"/>-->
|
|
<!-- </li>-->
|
|
<li>
|
|
<label>单号:</label>
|
|
<input type="text" name="poId"/>
|
|
</li>
|
|
<!-- <li>-->
|
|
<!-- <label>:</label>-->
|
|
<!-- <input type="text" name="auditingFlag"/>-->
|
|
<!-- </li>-->
|
|
<!-- <li>-->
|
|
<!-- <label>:</label>-->
|
|
<!-- <input type="text" name="approveFlag"/>-->
|
|
<!-- </li>-->
|
|
<!-- <li>-->
|
|
<!-- <label>:</label>-->
|
|
<!-- <input type="text" name="machineno"/>-->
|
|
<!-- </li>-->
|
|
<!-- <li>-->
|
|
<!-- <label>:</label>-->
|
|
<!-- <input type="text" name="machinename"/>-->
|
|
<!-- </li>-->
|
|
<li>
|
|
<label>签收人:</label>
|
|
<input type="text" name="writeman"/>
|
|
</li>
|
|
<!-- <li>-->
|
|
<!-- <label>:</label>-->
|
|
<!-- <input type="text" name="inqcId"/>-->
|
|
<!-- </li>-->
|
|
<!-- <li>-->
|
|
<!-- <label>:</label>-->
|
|
<!-- <input type="text" name="qcId"/>-->
|
|
<!-- </li>-->
|
|
<!-- <li>-->
|
|
<!-- <label>:</label>-->
|
|
<!-- <input type="text" class="time-input" placeholder="请选择" name="InsertTime"/>-->
|
|
<!-- </li>-->
|
|
<!-- <li>-->
|
|
<!-- <label>:</label>-->
|
|
<!-- <input type="text" name="DayWriteFlag"/>-->
|
|
<!-- </li>-->
|
|
<!-- <li>-->
|
|
<!-- <label>产线:</label>-->
|
|
<!-- <input type="text" name="worklineNo"/>-->
|
|
<!-- </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:receipt:add">
|
|
<i class="fa fa-plus"></i> 添加
|
|
</a>
|
|
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="stock:receipt:edit">
|
|
<i class="fa fa-edit"></i> 修改
|
|
</a>
|
|
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="stock:receipt:remove">
|
|
<i class="fa fa-remove"></i> 删除
|
|
</a>
|
|
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="stock:receipt:export">
|
|
<i class="fa fa-download"></i> 导出
|
|
</a>
|
|
</div>
|
|
<div class="col-sm-12 select-table table-striped" style="padding-bottom: 100px;">
|
|
<table id="bootstrap-table"></table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<th:block th:include="include :: footer" />
|
|
<script th:inline="javascript">
|
|
var editFlag = [[${@permission.hasPermi('stock:receipt:edit')}]];
|
|
var removeFlag = [[${@permission.hasPermi('stock:receipt:remove')}]];
|
|
var prefix = ctx + "stock/receipt";
|
|
|
|
$(function() {
|
|
var options = {
|
|
url: prefix + "/list",
|
|
createUrl: prefix + "/add",
|
|
updateUrl: prefix + "/edit/{id}",
|
|
removeUrl: prefix + "/remove",
|
|
exportUrl: prefix + "/export",
|
|
modalName: "入库列表",
|
|
columns: [{
|
|
checkbox: true
|
|
},
|
|
{
|
|
field: 'inputID',
|
|
title: '',
|
|
visible: false
|
|
},
|
|
{
|
|
field: 'inputNO',
|
|
title: '入库编号'
|
|
},
|
|
{
|
|
field: 'poNo',
|
|
title: '批次',
|
|
visible: false
|
|
|
|
},
|
|
{
|
|
field: 'pCode',
|
|
title: '批号',
|
|
},
|
|
{
|
|
field: 'pName',
|
|
title: '公司名称',
|
|
visible: false
|
|
|
|
},
|
|
{
|
|
field: 'pLinkman',
|
|
title: '联系人',
|
|
visible: false
|
|
|
|
},
|
|
{
|
|
field: 'pTel',
|
|
title: '联系号码',
|
|
visible: false
|
|
},
|
|
{
|
|
field: 'pFax',
|
|
title: '固话',
|
|
visible: false
|
|
|
|
},
|
|
{
|
|
field: 'stockNO',
|
|
title: '区域',
|
|
visible: false
|
|
|
|
},
|
|
{
|
|
field: 'stockName',
|
|
title: '区域名称',
|
|
visible: false
|
|
|
|
},
|
|
{
|
|
field: 'stockman',
|
|
title: '仓库管理人',
|
|
visible: false,
|
|
|
|
},
|
|
{
|
|
field: 'inputclass',
|
|
title: '入库方式'
|
|
},
|
|
{
|
|
field: 'inputdate',
|
|
title: '入库日期'
|
|
},
|
|
{
|
|
field: 'chinaInOrOut',
|
|
title: '出产或内销',
|
|
visible: false
|
|
},
|
|
{
|
|
field: 'bzMemo',
|
|
title: '备注'
|
|
},
|
|
{
|
|
field: 'cancelFlag',
|
|
title: '',
|
|
visible: false
|
|
|
|
},
|
|
{
|
|
field: 'itemclass',
|
|
title: '类型'
|
|
},
|
|
{
|
|
field: 'workNo',
|
|
title: '工单号',
|
|
|
|
},
|
|
{
|
|
field: 'piNo',
|
|
title: '',
|
|
visible: false
|
|
|
|
},
|
|
{
|
|
field: 'inputvoice',
|
|
title: '',
|
|
visible: false
|
|
|
|
},
|
|
{
|
|
field: 'nWX',
|
|
title: '出产内销',
|
|
visible: false
|
|
|
|
},
|
|
{
|
|
field: 'ym',
|
|
title: '年月',
|
|
visible: false
|
|
},
|
|
{
|
|
field: 'pqcId',
|
|
title: '',
|
|
visible: false
|
|
},
|
|
{
|
|
field: 'poId',
|
|
title: '单号',
|
|
visible: false
|
|
},
|
|
{
|
|
field: 'auditingFlag',
|
|
title: '',
|
|
visible: false
|
|
|
|
},
|
|
{
|
|
field: 'approveFlag',
|
|
title: '',
|
|
visible: false
|
|
|
|
},
|
|
{
|
|
field: 'machineno',
|
|
title: '',
|
|
visible: false
|
|
|
|
},
|
|
{
|
|
field: 'machinename',
|
|
title: '',
|
|
visible: false
|
|
|
|
},
|
|
{
|
|
field: 'writeman',
|
|
title: '签收人'
|
|
},
|
|
{
|
|
field: 'inqcId',
|
|
title: '',
|
|
visible: false
|
|
|
|
},
|
|
{
|
|
field: 'qcId',
|
|
title: '',
|
|
visible: false
|
|
|
|
},
|
|
{
|
|
field: 'InsertTime',
|
|
title: '',
|
|
visible: false
|
|
|
|
},
|
|
{
|
|
field: 'worklineNo',
|
|
title: '产线',
|
|
visible: false
|
|
|
|
},
|
|
{
|
|
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.inputID + '\')"><i class="fa fa-edit"></i>编辑</a> ');
|
|
return actions.join('');
|
|
}
|
|
}]
|
|
};
|
|
$.table.init(options);
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|