zhangsiqi
6 months ago
5 changed files with 242 additions and 14 deletions
@ -0,0 +1,212 @@ |
|||||
|
<!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-EstimateChild-edit" th:object="${sysSalesEstimateChild}"> |
||||
|
<input name="id" th:field="*{id}" type="hidden"> |
||||
|
<div class="form-group"> |
||||
|
<label class="col-sm-3 control-label">关联销售估价编号:</label> |
||||
|
<div class="col-sm-8"> |
||||
|
<input name="quoteId" th:field="*{quoteId}" class="form-control" type="text"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="form-group"> |
||||
|
<label class="col-sm-3 control-label">物料表中的id:</label> |
||||
|
<div class="col-sm-8"> |
||||
|
<input name="materialId" th:field="*{materialId}" 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="materialCode" th:field="*{materialCode}" 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="materialName" th:field="*{materialName}" class="form-control" type="text"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="form-group"> |
||||
|
<label class="col-sm-3 control-label">物料相关的BOM编号:</label> |
||||
|
<div class="col-sm-8"> |
||||
|
<input name="materialBom" th:field="*{materialBom}" 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="materialType" 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="processMethod" th:field="*{processMethod}" 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="brand" th:field="*{brand}" 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="photoUrl" th:field="*{photoUrl}" 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="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="describe" th:field="*{describe}" 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="countTax" th:field="*{countTax}" 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="usdTax" th:field="*{usdTax}" 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="materialNum" th:field="*{materialNum}" 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="materialSole" th:field="*{materialSole}" class="form-control" type="text"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="form-group"> |
||||
|
<label class="col-sm-3 control-label">物料的不含税单价(RMB):</label> |
||||
|
<div class="col-sm-8"> |
||||
|
<input name="materialRmb" th:field="*{materialRmb}" class="form-control" type="text"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="form-group"> |
||||
|
<label class="col-sm-3 control-label">物料的含税单价(RMB):</label> |
||||
|
<div class="col-sm-8"> |
||||
|
<input name="materialNoRmb" th:field="*{materialNoRmb}" class="form-control" type="text"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="form-group"> |
||||
|
<label class="col-sm-3 control-label">物料的不含税总价(RMB):</label> |
||||
|
<div class="col-sm-8"> |
||||
|
<input name="materialRmbSum" th:field="*{materialRmbSum}" class="form-control" type="text"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="form-group"> |
||||
|
<label class="col-sm-3 control-label">物料的含税总价(RMB):</label> |
||||
|
<div class="col-sm-8"> |
||||
|
<input name="materialNoRmbSum" th:field="*{materialNoRmbSum}" 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="materialNoUsd" th:field="*{materialNoUsd}" 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="materialUsd" th:field="*{materialUsd}" 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="materialNoUsdSum" th:field="*{materialNoUsdSum}" 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="materialUsdSum" th:field="*{materialUsdSum}" 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="deliveryTime" th:value="${#dates.format(sysSalesEstimateChild.deliveryTime, '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="expiryDay" th:field="*{expiryDay}" class="form-control" type="text"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="form-group"> |
||||
|
<label class="col-sm-3 control-label">备注:</label> |
||||
|
<div class="col-sm-8"> |
||||
|
<textarea name="remark" class="form-control">[[*{remark}]]</textarea> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="form-group"> |
||||
|
<label class="col-sm-3 control-label">删除状态:</label> |
||||
|
<div class="col-sm-8"> |
||||
|
<select name="useStatus" class="form-control m-b" th:with="type=${@dict.getType('useStatus')}"> |
||||
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{useStatus}"></option> |
||||
|
</select> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="form-group"> |
||||
|
<label class="col-sm-3 control-label">审核状态:</label> |
||||
|
<div class="col-sm-8"> |
||||
|
<select name="auditStatus" class="form-control m-b" th:with="type=${@dict.getType('auditStatus')}"> |
||||
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{auditStatus}"></option> |
||||
|
</select> |
||||
|
</div> |
||||
|
</div> |
||||
|
</form> |
||||
|
</div> |
||||
|
<th:block th:include="include :: footer" /> |
||||
|
<th:block th:include="include :: datetimepicker-js" /> |
||||
|
<script th:inline="javascript"> |
||||
|
var prefix = ctx + "sales/EstimateChild"; |
||||
|
$("#form-EstimateChild-edit").validate({ |
||||
|
focusCleanup: true |
||||
|
}); |
||||
|
|
||||
|
function submitHandler() { |
||||
|
if ($.validate.form()) { |
||||
|
$.operate.save(prefix + "/edit", $('#form-EstimateChild-edit').serialize()); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
$("input[name='deliveryTime']").datetimepicker({ |
||||
|
format: "yyyy-mm-dd", |
||||
|
minView: "month", |
||||
|
autoclose: true |
||||
|
}); |
||||
|
</script> |
||||
|
</body> |
||||
|
</html> |
Loading…
Reference in new issue