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.
881 lines
39 KiB
881 lines
39 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-saleorderhead-edit" th:object="${saleorderhead}">
|
|
<h4 class="form-header h4">销售订单表信息</h4>
|
|
<input name="SaleorderID" th:field="*{SaleorderID}" type="hidden">
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label is-required">:</label>
|
|
<div class="col-sm-8">
|
|
<input name="SaleorderID" th:field="*{SaleorderID}" 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="SaleorderNO" th:field="*{SaleorderNO}" 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="saleplanNO" th:field="*{saleplanNO}" 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="pCode" th:field="*{pCode}" 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="pName" th:field="*{pName}" 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="pLinkman" th:field="*{pLinkman}" 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="pTel" th:field="*{pTel}" 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="pFax" th:field="*{pFax}" 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="sendAddress" th:field="*{sendAddress}" 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="GetMoneyMemo" th:field="*{GetMoneyMemo}" 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="Sendmemo" th:field="*{Sendmemo}" 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="Sendway" th:field="*{Sendway}" 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="Plandate" th:value="${#dates.format(saleorderhead.Plandate, '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="Playway" th:field="*{Playway}" 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="Saler" th:field="*{Saler}" 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="bzMemo" class="form-control">[[*{bzMemo}]]</textarea>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">:</label>
|
|
<div class="col-sm-8">
|
|
<input name="endFlag" th:field="*{endFlag}" 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="isDelete" th:field="*{isDelete}" 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="NWX" th:field="*{NWX}" 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="comfirmFlag" th:field="*{comfirmFlag}" 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="writeDatetime" th:value="${#dates.format(saleorderhead.writeDatetime, '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">
|
|
<div class="input-group date">
|
|
<input name="editDate" th:value="${#dates.format(saleorderhead.editDate, '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">
|
|
<div class="input-group date">
|
|
<input name="comfirmDate" th:value="${#dates.format(saleorderhead.comfirmDate, '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="soClass" th:field="*{soClass}" 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="gpYn" th:field="*{gpYn}" 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="dowayCong" th:field="*{dowayCong}" 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="dowayTiao" th:field="*{dowayTiao}" 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="dowayPrint" th:field="*{dowayPrint}" 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="dowayOther" th:field="*{dowayOther}" 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="mouldNo" th:field="*{mouldNo}" 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="majorSize" th:field="*{majorSize}" 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="workline" class="form-control">[[*{workline}]]</textarea>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">:</label>
|
|
<div class="col-sm-8">
|
|
<textarea name="doMajorMemo" class="form-control">[[*{doMajorMemo}]]</textarea>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">:</label>
|
|
<div class="col-sm-8">
|
|
<input name="amtClass" th:field="*{amtClass}" 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="useYllist" class="form-control">[[*{useYllist}]]</textarea>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">:</label>
|
|
<div class="col-sm-8">
|
|
<input name="lastAccountAmt" th:field="*{lastAccountAmt}" 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="sendcpStock" th:field="*{sendcpStock}" 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="mouldFlag" th:field="*{mouldFlag}" 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="comfirmMan" th:field="*{comfirmMan}" 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="approveFlag" th:field="*{approveFlag}" 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="approveDate" th:value="${#dates.format(saleorderhead.approveDate, '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="approveMan" th:field="*{approveMan}" 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="auditingFlag" th:field="*{auditingFlag}" 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="auditingMan" th:field="*{auditingMan}" 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="auditingDatetime" th:value="${#dates.format(saleorderhead.auditingDatetime, '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="preMaterialFlag" th:field="*{preMaterialFlag}" 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="Factory" th:field="*{Factory}" 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="jaFlag" th:field="*{jaFlag}" 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="jaMan" th:field="*{jaMan}" 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="jaTime" th:value="${#dates.format(saleorderhead.jaTime, '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="returnProgress" th:field="*{returnProgress}" 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="madeSource" th:field="*{madeSource}" 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="sendtoTime" th:value="${#dates.format(saleorderhead.sendtoTime, '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">
|
|
<div class="input-group date">
|
|
<input name="planDoOkTime" th:value="${#dates.format(saleorderhead.planDoOkTime, '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="cpVersionNo" th:field="*{cpVersionNo}" 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="RD" th:field="*{RD}" 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="ypState" th:field="*{ypState}" 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="factOkTime" th:value="${#dates.format(saleorderhead.factOkTime, '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="qcMan" th:field="*{qcMan}" 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="MemoTEXT" class="form-control">[[*{MemoTEXT}]]</textarea>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">:</label>
|
|
<div class="col-sm-8">
|
|
<textarea name="laterSource" class="form-control">[[*{laterSource}]]</textarea>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">:</label>
|
|
<div class="col-sm-8">
|
|
<textarea name="mappath" class="form-control">[[*{mappath}]]</textarea>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">:</label>
|
|
<div class="col-sm-8">
|
|
<input name="producehelp" th:field="*{producehelp}" 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="customRd" th:field="*{customRd}" 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="madeClass" th:field="*{madeClass}" 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="ypOrderqty" th:field="*{ypOrderqty}" 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="dowayCongFlag" th:field="*{dowayCongFlag}" 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="dowayTiaoFlag" th:field="*{dowayTiaoFlag}" 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="dowayPrintFlag" th:field="*{dowayPrintFlag}" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
<h4 class="form-header h4">订单产品明细信息</h4>
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
<button type="button" class="btn btn-white btn-sm" onclick="addColumn()"><i class="fa fa-plus"> 增加</i></button>
|
|
<button type="button" class="btn btn-white btn-sm" onclick="sub.delColumn()"><i class="fa fa-minus"> 删除</i></button>
|
|
<div class="col-sm-12 select-table table-striped">
|
|
<table id="bootstrap-table"></table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<th:block th:include="include :: footer" />
|
|
<th:block th:include="include :: datetimepicker-js" />
|
|
<script th:inline="javascript">
|
|
var prefix = ctx + "finance/saleorderhead";
|
|
$("#form-saleorderhead-edit").validate({
|
|
focusCleanup: true
|
|
});
|
|
|
|
function submitHandler() {
|
|
if ($.validate.form()) {
|
|
$.operate.save(prefix + "/edit", $('#form-saleorderhead-edit').serialize());
|
|
}
|
|
}
|
|
|
|
$("input[name='Plandate']").datetimepicker({
|
|
format: "yyyy-mm-dd",
|
|
minView: "month",
|
|
autoclose: true
|
|
});
|
|
|
|
$("input[name='writeDatetime']").datetimepicker({
|
|
format: "yyyy-mm-dd",
|
|
minView: "month",
|
|
autoclose: true
|
|
});
|
|
|
|
$("input[name='editDate']").datetimepicker({
|
|
format: "yyyy-mm-dd",
|
|
minView: "month",
|
|
autoclose: true
|
|
});
|
|
|
|
$("input[name='comfirmDate']").datetimepicker({
|
|
format: "yyyy-mm-dd",
|
|
minView: "month",
|
|
autoclose: true
|
|
});
|
|
|
|
$("input[name='approveDate']").datetimepicker({
|
|
format: "yyyy-mm-dd",
|
|
minView: "month",
|
|
autoclose: true
|
|
});
|
|
|
|
$("input[name='auditingDatetime']").datetimepicker({
|
|
format: "yyyy-mm-dd",
|
|
minView: "month",
|
|
autoclose: true
|
|
});
|
|
|
|
$("input[name='jaTime']").datetimepicker({
|
|
format: "yyyy-mm-dd",
|
|
minView: "month",
|
|
autoclose: true
|
|
});
|
|
|
|
$("input[name='sendtoTime']").datetimepicker({
|
|
format: "yyyy-mm-dd",
|
|
minView: "month",
|
|
autoclose: true
|
|
});
|
|
|
|
$("input[name='planDoOkTime']").datetimepicker({
|
|
format: "yyyy-mm-dd",
|
|
minView: "month",
|
|
autoclose: true
|
|
});
|
|
|
|
$("input[name='factOkTime']").datetimepicker({
|
|
format: "yyyy-mm-dd",
|
|
minView: "month",
|
|
autoclose: true
|
|
});
|
|
|
|
$(function() {
|
|
var options = {
|
|
data: [[${saleorderhead.saleorderlistList}]],
|
|
pagination: false,
|
|
showSearch: false,
|
|
showRefresh: false,
|
|
showToggle: false,
|
|
showColumns: false,
|
|
sidePagination: "client",
|
|
columns: [{
|
|
checkbox: true
|
|
},
|
|
{
|
|
field: 'index',
|
|
align: 'center',
|
|
title: "序号",
|
|
formatter: function (value, row, index) {
|
|
var columnIndex = $.common.sprintf("<input type='hidden' name='index' value='%s'>", $.table.serialNumber(index));
|
|
return columnIndex + $.table.serialNumber(index);
|
|
}
|
|
},
|
|
{
|
|
field: 'SaleOrderID',
|
|
align: 'center',
|
|
title: '',
|
|
formatter: function(value, row, index) {
|
|
var html = $.common.sprintf("<input class='form-control' type='text' name='saleorderlistList[%s].SaleOrderID' value='%s'>", index, value);
|
|
return html;
|
|
}
|
|
},
|
|
{
|
|
field: 'PNO',
|
|
align: 'center',
|
|
title: '',
|
|
formatter: function(value, row, index) {
|
|
var html = $.common.sprintf("<input class='form-control' type='text' name='saleorderlistList[%s].PNO' value='%s'>", index, value);
|
|
return html;
|
|
}
|
|
},
|
|
{
|
|
field: 'wlCode',
|
|
align: 'center',
|
|
title: '',
|
|
formatter: function(value, row, index) {
|
|
var html = $.common.sprintf("<input class='form-control' type='text' name='saleorderlistList[%s].wlCode' value='%s'>", index, value);
|
|
return html;
|
|
}
|
|
},
|
|
{
|
|
field: 'Itemname',
|
|
align: 'center',
|
|
title: '',
|
|
formatter: function(value, row, index) {
|
|
var html = $.common.sprintf("<input class='form-control' type='text' name='saleorderlistList[%s].Itemname' value='%s'>", index, value);
|
|
return html;
|
|
}
|
|
},
|
|
{
|
|
field: 'Itemstandard',
|
|
align: 'center',
|
|
title: '',
|
|
formatter: function(value, row, index) {
|
|
var html = $.common.sprintf("<input class='form-control' type='text' name='saleorderlistList[%s].Itemstandard' value='%s'>", index, value);
|
|
return html;
|
|
}
|
|
},
|
|
{
|
|
field: 'machineNo',
|
|
align: 'center',
|
|
title: '',
|
|
formatter: function(value, row, index) {
|
|
var html = $.common.sprintf("<input class='form-control' type='text' name='saleorderlistList[%s].machineNo' value='%s'>", index, value);
|
|
return html;
|
|
}
|
|
},
|
|
{
|
|
field: 'stockDw',
|
|
align: 'center',
|
|
title: '',
|
|
formatter: function(value, row, index) {
|
|
var html = $.common.sprintf("<input class='form-control' type='text' name='saleorderlistList[%s].stockDw' value='%s'>", index, value);
|
|
return html;
|
|
}
|
|
},
|
|
{
|
|
field: 'Qty',
|
|
align: 'center',
|
|
title: '',
|
|
formatter: function(value, row, index) {
|
|
var html = $.common.sprintf("<input class='form-control' type='text' name='saleorderlistList[%s].Qty' value='%s'>", index, value);
|
|
return html;
|
|
}
|
|
},
|
|
{
|
|
field: 'Weight',
|
|
align: 'center',
|
|
title: '',
|
|
formatter: function(value, row, index) {
|
|
var html = $.common.sprintf("<input class='form-control' type='text' name='saleorderlistList[%s].Weight' value='%s'>", index, value);
|
|
return html;
|
|
}
|
|
},
|
|
{
|
|
field: 'crlName',
|
|
align: 'center',
|
|
title: '',
|
|
formatter: function(value, row, index) {
|
|
var html = $.common.sprintf("<input class='form-control' type='text' name='saleorderlistList[%s].crlName' value='%s'>", index, value);
|
|
return html;
|
|
}
|
|
},
|
|
{
|
|
field: 'Price',
|
|
align: 'center',
|
|
title: '',
|
|
formatter: function(value, row, index) {
|
|
var html = $.common.sprintf("<input class='form-control' type='text' name='saleorderlistList[%s].Price' value='%s'>", index, value);
|
|
return html;
|
|
}
|
|
},
|
|
{
|
|
field: 'Amt',
|
|
align: 'center',
|
|
title: '',
|
|
formatter: function(value, row, index) {
|
|
var html = $.common.sprintf("<input class='form-control' type='text' name='saleorderlistList[%s].Amt' value='%s'>", index, value);
|
|
return html;
|
|
}
|
|
},
|
|
{
|
|
field: 'SendDate',
|
|
align: 'center',
|
|
title: '',
|
|
formatter: function(value, row, index) {
|
|
var html = $.common.sprintf("<input class='form-control' type='text' name='saleorderlistList[%s].SendDate' value='%s'>", index, value);
|
|
return html;
|
|
}
|
|
},
|
|
{
|
|
field: 'MemoList',
|
|
align: 'center',
|
|
title: '',
|
|
formatter: function(value, row, index) {
|
|
var html = $.common.sprintf("<input class='form-control' type='text' name='saleorderlistList[%s].MemoList' value='%s'>", index, value);
|
|
return html;
|
|
}
|
|
},
|
|
{
|
|
field: 'OrderQty',
|
|
align: 'center',
|
|
title: '',
|
|
formatter: function(value, row, index) {
|
|
var html = $.common.sprintf("<input class='form-control' type='text' name='saleorderlistList[%s].OrderQty' value='%s'>", index, value);
|
|
return html;
|
|
}
|
|
},
|
|
{
|
|
field: 'qQty',
|
|
align: 'center',
|
|
title: '',
|
|
formatter: function(value, row, index) {
|
|
var html = $.common.sprintf("<input class='form-control' type='text' name='saleorderlistList[%s].qQty' value='%s'>", index, value);
|
|
return html;
|
|
}
|
|
},
|
|
{
|
|
field: 'wldm',
|
|
align: 'center',
|
|
title: '',
|
|
formatter: function(value, row, index) {
|
|
var html = $.common.sprintf("<input class='form-control' type='text' name='saleorderlistList[%s].wldm' value='%s'>", index, value);
|
|
return html;
|
|
}
|
|
},
|
|
{
|
|
field: 'piNo',
|
|
align: 'center',
|
|
title: '',
|
|
formatter: function(value, row, index) {
|
|
var html = $.common.sprintf("<input class='form-control' type='text' name='saleorderlistList[%s].piNo' value='%s'>", index, value);
|
|
return html;
|
|
}
|
|
},
|
|
{
|
|
field: 'rmbHuilv',
|
|
align: 'center',
|
|
title: '',
|
|
formatter: function(value, row, index) {
|
|
var html = $.common.sprintf("<input class='form-control' type='text' name='saleorderlistList[%s].rmbHuilv' value='%s'>", index, value);
|
|
return html;
|
|
}
|
|
},
|
|
{
|
|
field: 'rmbAmt',
|
|
align: 'center',
|
|
title: '',
|
|
formatter: function(value, row, index) {
|
|
var html = $.common.sprintf("<input class='form-control' type='text' name='saleorderlistList[%s].rmbAmt' value='%s'>", index, value);
|
|
return html;
|
|
}
|
|
},
|
|
{
|
|
field: 'nowYm',
|
|
align: 'center',
|
|
title: '',
|
|
formatter: function(value, row, index) {
|
|
var html = $.common.sprintf("<input class='form-control' type='text' name='saleorderlistList[%s].nowYm' value='%s'>", index, value);
|
|
return html;
|
|
}
|
|
},
|
|
{
|
|
field: 'ylMrp',
|
|
align: 'center',
|
|
title: '',
|
|
formatter: function(value, row, index) {
|
|
var html = $.common.sprintf("<input class='form-control' type='text' name='saleorderlistList[%s].ylMrp' value='%s'>", index, value);
|
|
return html;
|
|
}
|
|
},
|
|
{
|
|
field: 'zzgdOrderqty',
|
|
align: 'center',
|
|
title: '',
|
|
formatter: function(value, row, index) {
|
|
var html = $.common.sprintf("<input class='form-control' type='text' name='saleorderlistList[%s].zzgdOrderqty' value='%s'>", index, value);
|
|
return html;
|
|
}
|
|
},
|
|
{
|
|
field: 'zzgdQQty',
|
|
align: 'center',
|
|
title: '',
|
|
formatter: function(value, row, index) {
|
|
var html = $.common.sprintf("<input class='form-control' type='text' name='saleorderlistList[%s].zzgdQQty' value='%s'>", index, value);
|
|
return html;
|
|
}
|
|
},
|
|
{
|
|
field: 'returnQty',
|
|
align: 'center',
|
|
title: '',
|
|
formatter: function(value, row, index) {
|
|
var html = $.common.sprintf("<input class='form-control' type='text' name='saleorderlistList[%s].returnQty' value='%s'>", index, value);
|
|
return html;
|
|
}
|
|
},
|
|
{
|
|
field: 'jaQty',
|
|
align: 'center',
|
|
title: '',
|
|
formatter: function(value, row, index) {
|
|
var html = $.common.sprintf("<input class='form-control' type='text' name='saleorderlistList[%s].jaQty' value='%s'>", index, value);
|
|
return html;
|
|
}
|
|
},
|
|
{
|
|
field: 'jaFlag',
|
|
align: 'center',
|
|
title: '',
|
|
formatter: function(value, row, index) {
|
|
var html = $.common.sprintf("<input class='form-control' type='text' name='saleorderlistList[%s].jaFlag' value='%s'>", index, value);
|
|
return html;
|
|
}
|
|
},
|
|
{
|
|
field: 'jaMan',
|
|
align: 'center',
|
|
title: '',
|
|
formatter: function(value, row, index) {
|
|
var html = $.common.sprintf("<input class='form-control' type='text' name='saleorderlistList[%s].jaMan' value='%s'>", index, value);
|
|
return html;
|
|
}
|
|
},
|
|
{
|
|
field: 'jaTime',
|
|
align: 'center',
|
|
title: '',
|
|
formatter: function(value, row, index) {
|
|
var html = $.common.sprintf("<input class='form-control' type='text' name='saleorderlistList[%s].jaTime' value='%s'>", index, value);
|
|
return html;
|
|
}
|
|
},
|
|
{
|
|
field: 'versionNo',
|
|
align: 'center',
|
|
title: '',
|
|
formatter: function(value, row, index) {
|
|
var html = $.common.sprintf("<input class='form-control' type='text' name='saleorderlistList[%s].versionNo' value='%s'>", index, value);
|
|
return html;
|
|
}
|
|
|
|
}]
|
|
};
|
|
$.table.init(options);
|
|
});
|
|
|
|
function addColumn() {
|
|
var count = $("#" + table.options.id).bootstrapTable('getData').length;
|
|
sub.editColumn();
|
|
|
|
$("#" + table.options.id).bootstrapTable('insertRow', {
|
|
index: count,
|
|
row: {
|
|
index: $.table.serialNumber(count),
|
|
SaleOrderID: "",
|
|
PNO: "",
|
|
wlCode: "",
|
|
Itemname: "",
|
|
Itemstandard: "",
|
|
machineNo: "",
|
|
stockDw: "",
|
|
Qty: "",
|
|
Weight: "",
|
|
crlName: "",
|
|
Price: "",
|
|
Amt: "",
|
|
SendDate: "",
|
|
MemoList: "",
|
|
OrderQty: "",
|
|
qQty: "",
|
|
wldm: "",
|
|
piNo: "",
|
|
rmbHuilv: "",
|
|
rmbAmt: "",
|
|
nowYm: "",
|
|
ylMrp: "",
|
|
zzgdOrderqty: "",
|
|
zzgdQQty: "",
|
|
returnQty: "",
|
|
jaQty: "",
|
|
jaFlag: "",
|
|
jaMan: "",
|
|
jaTime: "",
|
|
versionNo: ""
|
|
}
|
|
});
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|