<!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-TransferDirect-edit" th:object="${kingdeeTransferDirect}">
            <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="FDate" th:field="*{FDate}" 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="FBillNo" th:field="*{FBillNo}" 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="FBillTypeID" th:field="*{FBillTypeID}" 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="FOwnerTypeIdHead" th:field="*{FOwnerTypeIdHead}" 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="FOwnerIdHead" th:field="*{FOwnerIdHead}" 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="FOwnerTypeOutIdHead" th:field="*{FOwnerTypeOutIdHead}" 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="FOwnerOutIdHead" th:field="*{FOwnerOutIdHead}" 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="FTransferDirect" th:field="*{FTransferDirect}" 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="FMaterialId" th:field="*{FMaterialId}" 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="FMaterialName" th:field="*{FMaterialName}" 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="FSrcStockId" th:field="*{FSrcStockId}" 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="FDestStockId" th:field="*{FDestStockId}" 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="FUnitID" th:field="*{FUnitID}" 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="FQty" th:field="*{FQty}" 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="FPrice" th:field="*{FPrice}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">同步状态  0成功   -1 失败：</label>
                <div class="col-sm-8">
                    <input name="sendFlag" th:field="*{sendFlag}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "system/TransferDirect";
        $("#form-TransferDirect-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-TransferDirect-edit').serialize());
            }
        }
    </script>
</body>
</html>