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.
217 lines
8.6 KiB
217 lines
8.6 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="container-div">
|
|
<div class="from-box select-form" th:object="${Saleorderlist}">
|
|
<form>
|
|
<div class="row" >
|
|
<div class="col-sm-6">
|
|
<div class="col-sm-12 form-group" >
|
|
<label>订单号:</label>
|
|
<input type="text" th:field="*{SaleorderNO}" name="SaleorderNO" >
|
|
</div>
|
|
<div class="col-sm-12 form-group" >
|
|
<label>预约单号:</label>
|
|
<input type="text" >
|
|
</div>
|
|
<div class="col-sm-12 form-group" >
|
|
<label>客户代码:</label>
|
|
<input type="text" th:field="*{pCode}" name="pCode" >
|
|
</div>
|
|
<div class="col-sm-12 form-group" >
|
|
<label>客户名称:</label>
|
|
<input type="text" th:field="*{pName}" name="pName" ></input>
|
|
</div>
|
|
<div class="col-sm-12 form-group" >
|
|
<label>开单日期时间:</label>
|
|
<input type="text" class="time-input" th:value="${#dates.format(Saleorderlist.Plandate,'yyyy-MM-dd HH:mm:ss')}" placeholder="请选择" name="Plandate"/>
|
|
</div>
|
|
<div class="col-sm-12 form-group" >
|
|
<label>联系人:</label>
|
|
<input type="text" th:field="*{pLinkman}" name="pLinkman"/>
|
|
</div>
|
|
<div class="col-sm-12 form-group" >
|
|
<label>客户厂房:</label>
|
|
<input type="text" th:field="*{Factory}" name="Factory"/>
|
|
</div>
|
|
<div class="col-sm-12 form-group" >
|
|
<label>联系电话:</label>
|
|
<input type="text" th:field="*{pTel}" name="pTel"/>
|
|
</div>
|
|
<div class="col-sm-12 form-group" >
|
|
<label>交货地点:</label>
|
|
<input type="text" th:field="*{sendAddress}" name="sendAddress"/>
|
|
</div>
|
|
<div class="col-sm-12 form-group" >
|
|
<label>订单编号:</label>
|
|
<input type="text" th:field="*{SaleorderID}" name="SaleorderID"/>
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-6" >
|
|
<div class="col-sm-12 form-group" >
|
|
<label>付款条件:</label>
|
|
<input type="text" th:field="*{GetMoneyMemo}" name="GetMoneyMemo" >
|
|
</div>
|
|
<div class="col-sm-12 form-group" >
|
|
<label>交货条件:</label>
|
|
<select type="text" name="" >
|
|
</select>
|
|
</div>
|
|
<div class="col-sm-12 form-group" >
|
|
<label>交货方式:</label>
|
|
<select name="" >
|
|
</select>
|
|
</div>
|
|
<div class="col-sm-12 form-group" >
|
|
<label>接单日期:</label>
|
|
<input type="text" class="time-input" th:value="${#dates.format(Saleorderlist.writeDatetime,'yyyy-MM-dd')}" placeholder="请选择" name="writeDatetime"/>
|
|
</div>
|
|
<div class="col-sm-12">
|
|
<div class="col-sm-6 form-group" >
|
|
<label>修改日期:</label>
|
|
<input type="text" class="time-input" th:value="${#dates.format(Saleorderlist.editDate,'yyyy-MM-dd')}" placeholder="请选择" name="editDate" style="width: 130px"/>
|
|
</div>
|
|
<div class="col-sm-6 form-group" >
|
|
<label>确认日期:</label>
|
|
<input type="text" class="time-input" th:value="${#dates.format(Saleorderlist.comfirmDate,'yyyy-MM-dd')}" placeholder="请选择" name="comfirmDate" style="width: 130px"/>
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-12 form-group" >
|
|
<label>接单方式:</label>
|
|
<select name="" >
|
|
</select>
|
|
</div>
|
|
<div class="col-sm-12 form-group" >
|
|
<label>业务人员:</label>
|
|
<select th:field="*{Saler}" name="Saler" >
|
|
</select>
|
|
</div>
|
|
<div class="col-sm-12 form-group" style="display: flex">
|
|
<label>备注 :</label>
|
|
<textarea class="form-control" style="width: 300px"></textarea>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-sm-12 select-table">
|
|
<table id="bootstrap-table"></table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<th:block th:include="include :: footer" />
|
|
<th:block th:include="include :: datetimepicker-js" />
|
|
<script th:inline="javascript">
|
|
var prefix = ctx + "finance/saleorderlist"
|
|
|
|
|
|
$(function(){
|
|
var options = {
|
|
url: prefix + "/list",
|
|
modalName: "销售订单明细单",
|
|
queryParams:queryParams,
|
|
columns: [
|
|
{
|
|
field: 'wlCode',
|
|
title: '成品代码',
|
|
|
|
},
|
|
{
|
|
field: 'itemname',
|
|
title: '成品名称'
|
|
},
|
|
{
|
|
field: 'itemstandard',
|
|
title: '规格型号'
|
|
},
|
|
{
|
|
field: 'machineNo',
|
|
title: '机种',
|
|
},
|
|
{
|
|
field: 'stockDw',
|
|
title: '单位'
|
|
},
|
|
{
|
|
field: 'qty',
|
|
title: '数量'
|
|
},
|
|
{
|
|
field: 'weight',
|
|
title: '重量'
|
|
},
|
|
{
|
|
field: 'crlName',
|
|
title: '币别'
|
|
},
|
|
{
|
|
field: 'price',
|
|
title: '单价'
|
|
},
|
|
{
|
|
field: 'amt',
|
|
title: '金额'
|
|
},
|
|
{
|
|
field: 'piNo',
|
|
title: 'Line#'
|
|
},
|
|
{
|
|
field: '',
|
|
title: '版本号'
|
|
},
|
|
{
|
|
field: '',
|
|
title: '说明'
|
|
}]
|
|
};
|
|
$.table.init(options);
|
|
});
|
|
|
|
function queryParams(params){
|
|
var search = $.table.queryParams(params);
|
|
search.saleOrderID = $("input[name='SaleorderID']").val();
|
|
return search
|
|
|
|
}
|
|
|
|
$("#form-lsalesOrder-add").validate({
|
|
focusCleanup: true
|
|
});
|
|
|
|
function submitHandler() {
|
|
if ($.validate.form()) {
|
|
$.operate.save(prefix + "/add", $('#form-lsalesOrder-add').serialize());
|
|
}
|
|
}
|
|
</script>
|
|
</body>
|
|
<style>
|
|
.from-box{
|
|
width: 1000px;
|
|
}
|
|
.from-box select{
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
background: transparent;
|
|
outline: none;
|
|
height: 30px;
|
|
width: 300px;
|
|
}
|
|
.from-box input{
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
background: transparent;
|
|
outline: none;
|
|
height: 30px;
|
|
width: 300px;
|
|
padding-left: 5px;
|
|
}
|
|
</style>
|
|
</html>
|