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.
166 lines
7.7 KiB
166 lines
7.7 KiB
<!DOCTYPE html>
|
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
|
<head>
|
|
<th:block th:include="include :: header('修改委外加工单')" />
|
|
<th:block th:include="include :: datetimepicker-css" />
|
|
</head>
|
|
<body class="white-bg">
|
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
|
<form class="form-horizontal m" id="form-outsourceOrderList-edit" th:object="${outsourceOrderList}">
|
|
<input name="outsourceOrderNo" th:field="*{outsourceOrderNo}" type="hidden">
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label is-required">委外订单编号:</label>
|
|
<div class="col-sm-8">
|
|
<input name="outsourceOrderNo" th:field="*{outsourceOrderNo}" class="form-control" type="text" required>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">生产指令:</label>
|
|
<div class="col-sm-8">
|
|
<input name="productionOrder" th:field="*{productionOrder}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">物料代码:</label>
|
|
<div class="col-sm-8">
|
|
<input name="itemCode" th:field="*{itemCode}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">物料名称:</label>
|
|
<div class="col-sm-8">
|
|
<input name="itemName" th:field="*{itemName}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">规格型号:</label>
|
|
<div class="col-sm-8">
|
|
<input name="itemSpecification" th:field="*{itemSpecification}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">机种:</label>
|
|
<div class="col-sm-8">
|
|
<select name="machineType" class="form-control m-b">
|
|
<option value="">所有</option>
|
|
</select>
|
|
<span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">单位:</label>
|
|
<div class="col-sm-8">
|
|
<input name="unit" th:field="*{unit}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">数量:</label>
|
|
<div class="col-sm-8">
|
|
<input name="qty" th:field="*{qty}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">单价:</label>
|
|
<div class="col-sm-8">
|
|
<input name="price" th:field="*{price}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">加工费:</label>
|
|
<div class="col-sm-8">
|
|
<input name="processingCharges" th:field="*{processingCharges}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">交货日期:</label>
|
|
<div class="col-sm-8">
|
|
<div class="input-group date">
|
|
<input name="sendDate" th:value="${#dates.format(outsourceOrderList.sendDate, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
|
|
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">备注:</label>
|
|
<div class="col-sm-8">
|
|
<input name="remark" th:field="*{remark}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">总价:</label>
|
|
<div class="col-sm-8">
|
|
<input name="totalPrice" th:field="*{totalPrice}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">已完成数量:</label>
|
|
<div class="col-sm-8">
|
|
<input name="finishedQty" th:field="*{finishedQty}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">未完成数量:</label>
|
|
<div class="col-sm-8">
|
|
<input name="unfinishedQty" th:field="*{unfinishedQty}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">:</label>
|
|
<div class="col-sm-8">
|
|
<input name="spare1" th:field="*{spare1}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">:</label>
|
|
<div class="col-sm-8">
|
|
<input name="spare2" th:field="*{spare2}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">:</label>
|
|
<div class="col-sm-8">
|
|
<input name="spare3" th:field="*{spare3}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">:</label>
|
|
<div class="col-sm-8">
|
|
<input name="spare4" th:field="*{spare4}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">:</label>
|
|
<div class="col-sm-8">
|
|
<input name="spare5" th:field="*{spare5}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">:</label>
|
|
<div class="col-sm-8">
|
|
<input name="spare6" th:field="*{spare6}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<th:block th:include="include :: footer" />
|
|
<th:block th:include="include :: datetimepicker-js" />
|
|
<script th:inline="javascript">
|
|
var prefix = ctx + "produce/outsourceOrderList";
|
|
$("#form-outsourceOrderList-edit").validate({
|
|
focusCleanup: true
|
|
});
|
|
|
|
function submitHandler() {
|
|
if ($.validate.form()) {
|
|
$.operate.save(prefix + "/edit", $('#form-outsourceOrderList-edit').serialize());
|
|
}
|
|
}
|
|
|
|
$("input[name='sendDate']").datetimepicker({
|
|
format: "yyyy-mm-dd",
|
|
minView: "month",
|
|
autoclose: true
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|