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")
@ResponseBody
public TableDataInfo selectList(ErpMaterialVo erpMaterialVo)

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

@ -19,6 +19,13 @@
<label>物料名称:</label>
<input type="text" name="materialName"/>
</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>
<label>审核状态:</label>
<select name="auditStatus" th:with="type=${@dict.getType('auditStatus')}">

Loading…
Cancel
Save