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.
100 lines
4.7 KiB
100 lines
4.7 KiB
<!DOCTYPE html>
|
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
|
<head>
|
|
<th:block th:include="include :: header('修改国税发票产品')" />
|
|
</head>
|
|
<body class="white-bg">
|
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
|
<form class="form-horizontal m" id="form-taxInvoiceProduct-edit" th:object="${taxInvoiceProduct}">
|
|
<input name="taxInvoiceProductId" th:field="*{taxInvoiceProductId}" type="hidden">
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">发票编号:</label>
|
|
<div class="col-sm-8">
|
|
<input name="taxInvoiceCode" th:field="*{taxInvoiceCode}" 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="taxInvoiceNumber" th:field="*{taxInvoiceNumber}" 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="finishProductCode" th:field="*{finishProductCode}" 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="finishProductName" th:field="*{finishProductName}" 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="specificationModel" th:field="*{specificationModel}" 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="inventoryUnit" th:field="*{inventoryUnit}" 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="commonCurrency" class="form-control m-b" th:with="type=${@dict.getType('sys_coin_class')}">
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{commonCurrency}"></option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">数量:</label>
|
|
<div class="col-sm-8">
|
|
<input name="quantity" th:field="*{quantity}" 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="processPrice" th:field="*{processPrice}" 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="amountOfMoney" th:field="*{amountOfMoney}" 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="standbyOne" th:field="*{standbyOne}" 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="standbyTwo" th:field="*{standbyTwo}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<th:block th:include="include :: footer" />
|
|
<script th:inline="javascript">
|
|
var prefix = ctx + "taxInvoice/taxInvoiceProduct";
|
|
$("#form-taxInvoiceProduct-edit").validate({
|
|
focusCleanup: true
|
|
});
|
|
|
|
function submitHandler() {
|
|
if ($.validate.form()) {
|
|
$.operate.save(prefix + "/edit", $('#form-taxInvoiceProduct-edit').serialize());
|
|
}
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|