<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('门店订单表修改')" />
</head>
<body>
<div class="ui-layout-center">
    <form id="form-SDdglOrderStore-edit" class="customize-search-form">

        <div class="customize-form-group-container">
            <input type="hidden" id="id" name="id" th:value="${id}">
            <div class="customize-form-group">
                <label>订单号:</label>
                <input name="orderId" placeholder="订单号" th:value="${orderId}" class="styled-input" type="text" disabled="true">
            </div>
            <div class="customize-form-group">
                <label>配送类型:</label>
                <input name="deliveryType" placeholder="配送类型" th:value="${deliveryType}" class="styled-input" type="text" disabled="true">

            </div>
            <div class="customize-form-group">
                <label>手机号:</label>
                <input name="mobileNumber" placeholder="手机号" th:value="${mobileNumber}" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>渠道名称:</label>
                <input name="channelName" placeholder="渠道名称" th:value="${channelName}" class="styled-input" type="text " disabled="true">
            </div>
            <div class="customize-form-group">
                <label>渠道单号:</label>
                <input name="channelOrderNo" placeholder="渠道单号" th:value="${channelOrderNo}" class="styled-input" type="text" disabled="true">
            </div>
            <div class="customize-form-group">
                <label>PSO销售单号:</label>
                <input name="psoSaleOrderNo" placeholder="PSO销售单号" th:value="${psoSaleOrderNo}" class="styled-input" type="text" disabled="true">
            </div>
            <div class="customize-form-group">
                <label>配送状态:</label>
                <input name="deliveryStatus" placeholder="配送状态" th:value="${deliveryStatus}" class="styled-input" type="text">
            </div>
            <div class="customize-form-group select-time">
                <label>订单日期:</label>
                <input name="orderDate" placeholder="订单日期" th:value="${orderDate}" class="time-input time-input2" type="text" disabled="true">
            </div>
            <div class="customize-form-group">
                <label>门店名称:</label>
                <input name="storeName" placeholder="门店名称" th:value="${storeName}" class="styled-input" type="text" disabled="true">
            </div>
            <div class="customize-form-group">
                <label>下单人:</label>
                <input name="orderPlacer" placeholder="下单人" th:value="${orderPlacer}" class="styled-input" type="text">
            </div>
            <div class="customize-form-group select-time">
                <label>下单时间:</label>
                <input name="orderTime" placeholder="下单时间" th:value="${orderTime}" class="time-input time-input2" type="text" disabled="true">
            </div>
            <div class="customize-form-group">
                <label>药品总数量:</label>
                <input name="totalDrugQuantity" placeholder="药品总数量" th:value="${totalDrugQuantity}" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>发货地址:</label>
                <input name="shippingAddress" placeholder="发货地址" th:value="${shippingAddress}" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>下单地址:</label>
                <input name="orderAddress" placeholder="下单地址" th:value="${orderAddress}" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>订单类型:</label>
                <input name="orderType" placeholder="订单类型" th:value="${orderType}" class="styled-input" type="text" disabled="true">
            </div>
            <div class="customize-form-group">
                <label>订单来源:</label>
                <input name="orderSource" placeholder="订单来源" th:value="${orderSource}" class="styled-input" type="text">
            </div>

            <div class="customize-form-group">
                <label>订单费用外送费:</label>
                <input name="deliveryFee" placeholder="订单费用外送费" th:value="${deliveryFee}" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>外送提货方式:</label>
                <input name="deliveryPickupMethod" placeholder="外送提货方式" th:value="${deliveryPickupMethod}" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>外送提货时间:</label>
                <input name="deliveryPickupTime" placeholder="外送提货时间" th:value="${deliveryPickupTime}" class="styled-input" type="text">
            </div>
            <div class="customize-form-group">
                <label>备注:</label>
                <input name="remarks" placeholder="备注" th:value="${remarks}" class="styled-input" type="text">
            </div>
        </div>
    </form>
</div>
<div class="main-content">
    <div class="col-sm-offset-5 col-sm-10">
        <button type="button" class="btn btn-sm btn-primary" onclick="submitHandler()"><i class="fa fa-check"></i>保 存</button>&nbsp;
        <button type="button" class="btn btn-sm btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>
    </div>
</div>
<th:block th:include="include :: footer" />
</body>
</html>
<script>
    function submitHandler() {
        var prefix = ctx + "ddgl/sddglorderstore";
        if ($.validate.form()) {
            var data = $("#form-SDdglOrderStore-edit").serializeArray();
            $.operate.saveTab(prefix + "/sDdglOrderStoreEdit", data);
        }
    }
</script>
