万材erp项目
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.
 
 
 
 

232 lines
9.1 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="warehousingpurchasenoticeNo"/>
</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">
<option value="">所有</option>
<option value="-1">代码生成请选择字典属性</option>
</select>
</li>
<li>
<label>入库时间:</label>
<input type="text" class="time-input" placeholder="请选择入库时间" name="warehousingNoticeDate"/>
</li>
<li>
<label>采购单号:</label>
<input type="text" name="purchaseorderNo"/>
</li>
<li>
<label>内/外销:</label>
<input type="text" name="domesticOrExport"/>
</li>
<li>
<label>仓库号:</label>
<input type="text" name="warehouseNo"/>
</li>
<li>
<label>仓库名称:</label>
<input type="text" name="warehouseName"/>
</li>
<li>
<label>项次:</label>
<input type="text" name="itemTimes"/>
</li>
<li>
<label>采购物料编号:</label>
<input type="text" name="warehousingpurchaseNo"/>
</li>
<li>
<label>采购物料名称:</label>
<input type="text" name="itemName"/>
</li>
<li>
<label>规格型号:</label>
<input type="text" name="specificationModel"/>
</li>
<li>
<label>机种:</label>
<select name="machineType">
<option value="">所有</option>
<option value="-1">代码生成请选择字典属性</option>
</select>
</li>
<li>
<label>单位:</label>
<input type="text" name="unit"/>
</li>
<li>
<label>数量:</label>
<input type="text" name="warehousingAmt"/>
</li>
<li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i
class="fa fa-search"></i>&nbsp;搜索</a>
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i
class="fa fa-refresh"></i>&nbsp;重置</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:pucharseNotice:add">
<i class="fa fa-plus"></i> 添加
</a>
<a class="btn btn-primary single disabled" onclick="$.operate.edit()"
shiro:hasPermission="stock:pucharseNotice:edit">
<i class="fa fa-edit"></i> 修改
</a>
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()"
shiro:hasPermission="stock:pucharseNotice:remove">
<i class="fa fa-remove"></i> 删除
</a>
<a class="btn btn-warning" onclick="$.table.exportExcel()"
shiro:hasPermission="stock:pucharseNotice:export">
<i class="fa fa-download"></i> 导出
</a>
</div>
<div class="col-sm-12 select-table table-striped">
<table id="bootstrap-table" style="overflow: hidden;text-overflow: ellipsis;white-space: nowrap;"></table>
</div>
</div>
</div>
<th:block th:include="include :: footer"/>
<script th:inline="javascript">
var editFlag = [[${@permission.hasPermi('stock:warehousingPucharseNotice:edit')}]];
var removeFlag = [[${@permission.hasPermi('stock:warehousingPucharseNotice:remove')}]];
var prefix = ctx + "stock/warehousingPucharseNotice";
//添加按钮弹出完整窗口
function addInfo() {
window.location.href = prefix + "/add";
}
$(function () {
var options = {
url: prefix + "/list",
createUrl: prefix + "/add",
updateUrl: prefix + "/edit/{id}",
detailUrl: prefix + "/detail/{id}",
removeUrl: prefix + "/remove",
exportUrl: prefix + "/export",
modalName: "采购入库通知查询",
columns: [{
checkbox: true
},
{
field: 'warehousingpurchasenoticeNo',
title: '入库通知单号'
},
{
field: 'customerId',
title: '客户ID'
},
{
field: 'customerName',
title: '客户名称'
},
{
field: 'warehousingType',
title: '入库类型'
},
{
field: 'warehousingnoticeDate',
title: '入库通知日期'
},
{
field: 'purchaseorderNo',
title: '采购单号'
},
{
field: 'domesticOrExport',
title: '内/外销'
},
{
field: 'warehouseNo',
title: '仓库号'
},
{
field: 'warehouseName',
title: '仓库名称'
},
{
field: 'itemTimes',
title: '项次'
},
{
field: 'itemNo',
title: '物料代码'
},
{
field: 'itemName',
title: '采购物料名称'
},
{
field: 'specificationModel',
title: '规格型号'
},
{
field: 'machineType',
title: '机种'
},
{
field: 'unit',
title: '单位'
},
{
field: 'warehousingAmt',
title: '此次通知入库数量'
},
{
field: 'purchaseorderAmt',
title: '订单订购总数量'
},
{
field: 'spell1',
title: '',
visible: false,
},
{
field: 'spell2',
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.detail(\'' + row.warehousingpurchasenoticeNo + '\')"><i class="fa fa-edit"></i>详细信息</a> ');
return actions.join('');
}
}]
};
$.table.init(options);
});
</script>
</body>
</html>