已经完成

仓库管理系统修改任务状态
master
森屿海巷 4 years ago
parent 6812478844
commit f2cccc1641

@ -63,9 +63,13 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">任务状态:</label> <label class="col-sm-3 control-label">任务状态:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input name="taskStatus" class="form-control" type="text"> <select name="taskStatus" class="form-control m-b" th:with="type=${@dict.getType('location_status')}">
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
</select>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">返回标识:</label> <label class="col-sm-3 control-label">返回标识:</label>

@ -64,9 +64,13 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">任务状态:</label> <label class="col-sm-3 control-label">任务状态:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input name="taskStatus" th:field="*{taskStatus}" class="form-control" type="text"> <select name="taskStatus" class="form-control m-b" th:with="type=${@dict.getType('location_status')}">
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{locationStatus}"></option>
</select>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">返回标识:</label> <label class="col-sm-3 control-label">返回标识:</label>

@ -50,6 +50,10 @@
<script th:inline="javascript"> <script th:inline="javascript">
var editFlag = [[${@permission.hasPermi('system:recordtask:edit')}]]; var editFlag = [[${@permission.hasPermi('system:recordtask:edit')}]];
var removeFlag = [[${@permission.hasPermi('system:recordtask:remove')}]]; var removeFlag = [[${@permission.hasPermi('system:recordtask:remove')}]];
var locationStatus = [[${@dict.getType('location_status')}]];
var prefix = ctx + "system/recordtask"; var prefix = ctx + "system/recordtask";
$(function() { $(function() {
@ -106,7 +110,10 @@
}, },
{ {
field: 'taskStatus', field: 'taskStatus',
title: '任务状态' title: '任务状态',
formatter: function(value, row, index) {
return $.table.selectDictLabel(locationStatus, value);
}
}, },
{ {
field: 'returnFlag', field: 'returnFlag',

Loading…
Cancel
Save