Browse Source

[fix]

修改选择物料controller接口,去除权限;
新增物料搜索栏加工方式下拉框搜索功能;
dev
王晓迪 2 months ago
parent
commit
cda04b972b
  1. 2
      ruoyi-admin/src/main/java/com/ruoyi/erp/controller/ErpMaterialController.java
  2. 7
      ruoyi-admin/src/main/resources/templates/erp/material/material.html

2
ruoyi-admin/src/main/java/com/ruoyi/erp/controller/ErpMaterialController.java

@ -114,7 +114,7 @@ public class ErpMaterialController extends BaseController
} }
/** /**
* 物料信息审核通过物料查询*/ * 物料信息审核通过物料查询*/
@RequiresPermissions("erp:material:list") // @RequiresPermissions("erp:material:list")
@PostMapping("/selectList") @PostMapping("/selectList")
@ResponseBody @ResponseBody
public TableDataInfo selectList(ErpMaterialVo erpMaterialVo) public TableDataInfo selectList(ErpMaterialVo erpMaterialVo)

7
ruoyi-admin/src/main/resources/templates/erp/material/material.html

@ -19,6 +19,13 @@
<label>物料名称:</label> <label>物料名称:</label>
<input type="text" name="materialName"/> <input type="text" name="materialName"/>
</li> </li>
<li>
<label>加工方式:</label>
<select name="processMethod" th:with="type=${@dict.getType('processMethod')}">
<option value="">所有</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
</select>
</li>
<li> <li>
<label>审核状态:</label> <label>审核状态:</label>
<select name="auditStatus" th:with="type=${@dict.getType('auditStatus')}"> <select name="auditStatus" th:with="type=${@dict.getType('auditStatus')}">

Loading…
Cancel
Save