@{
    string RightInfo = ViewBag.RightInfo as string;
    string right = ViewBag.right as string;
    
}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>机具退货申请订单(增加)</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="/layuiadmin/layui/css/layui.css" media="all">
    <script src="/admin/js/jquery-1.10.1.min.js"></script>
    <script src="/admin/js/LAreaData2.js"></script>
    <style>
        .layui-form-label{
            width: 115px !important;
        }
        .layui-input-block{
            margin-left: 145px;
        }
    </style>
</head>
<body>

    <div class="layui-form" lay-filter="layuiadmin-form-useradmin" id="layuiadmin-form-useradmin">
        
        <div class="layui-card">
          <div class="layui-card-body">
            <div class="layui-tab" lay-filter="mytabbar">
                <div class="layui-tab-content mt20">
                    <div class="layui-tab-item layui-show">
                        <div class="layui-form-item">
                            <label class="layui-form-label">创客编号</label>
                            <div class="layui-input-inline">
                                <input class="layui-input" type="text" name="MakerCode" lay-verify="required" autocomplete="off" placeholder="请输入创客编号">
                            </div>
                        </div>
                        @{Dictionary<string, string> KqProductBrandDic = new MySystem.DictionaryClass().getKqProductBrandDic();}
                        <div class="layui-form-item">
                            <label class="layui-form-label">产品类型</label>
                            <div class="layui-input-inline">
                                <select id="BrandId" name="BrandId" lay-verify="required" lay-search="">
                                    <option value="">全部...</option>
                                    @foreach (string key in KqProductBrandDic.Keys)
                                    {
                                    <option value="@key">@KqProductBrandDic[key]</option>
                                    }
                                </select>
                            </div>
                        </div>
                        @{Dictionary<string, string> StoreHouseDic = new MySystem.DictionaryClass().getStoreHouseDic();}
                        <div class="layui-form-item">
                            <label class="layui-form-label">发货仓库</label>
                            <div class="layui-input-inline">
                                <select id="ToStoreId" name="ToStoreId" lay-verify="required" lay-search="">
                                    <option value="">请选择</option>
                                    @foreach (string key in StoreHouseDic.Keys)
                                    {
                                    <option value="@key">@StoreHouseDic[key]</option>
                                    }
                                </select>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">申请退货数量</label>
                            <div class="layui-input-inline">
                                <input class="layui-input" type="text" id="DeviceNum" name="DeviceNum" maxlength="20"
                                 lay-verify="required" autocomplete="off" placeholder="请输入申请退货数量">
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">退货机具编号</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" id="DeviceSnNos" name="DeviceSnNos" maxlength=""
                                 lay-verify="required" placeholder="请输入退货机具编号,多个以逗号隔开"></textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">退货备注</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" id="Remark" name="Remark" maxlength="64" lay-verify="required" 
                                    placeholder="请输入退货备注"></textarea>
                            </div>
                        </div>

                    </div>

                </div>
            </div>
            <div class="layui-form-item layui-hide">
                <input type="button" lay-submit lay-filter="LAY-list-front-submit" id="LAY-list-front-submit" value="确认">
            </div>
          </div>
        </div>
    </div>

    <script src="/layuiadmin/layui/layui.js"></script>
    <script src="/other/oss/upload-min@(MySystem.OssHelper.Instance.OssStatus ? "-oss" : "").js?r=@DateTime.Now.ToString("yyyyMMddHHmmss")"></script>
    <script src="/other/mybjq/kindeditor-min.js"></script>
    <script src="/other/mybjq/lang/zh_CN.js"></script>
    <script>
        
                    
        //编辑器
        KindEditor.ready(function (K) {
            
        });

        var ids = "";
        function getChildren(obj) {
            $.each(obj, function (index, value) {
                var id = obj[index].id;
                ids += id + ",";
                var children = obj[index].children;
                if (children) {
                    getChildren(children);
                }
            });
        }

        
        var tree;
        var element;
        var upload;
        layui.config({
            base: '/layuiadmin/' //静态资源所在路径
        }).extend({
            index: 'lib/index' //主入口模块
        }).use(['index', 'form', 'upload', 'layedit', 'laydate', 'element', 'croppers', 'transfer', 'tree', 'util'], function () {
            var $ = layui.$
                , form = layui.form
                , layer = layui.layer
                , layedit = layui.layedit
                , laydate = layui.laydate
                , croppers = layui.croppers
                , transfer = layui.transfer
                , util = layui.util;
            tree = layui.tree;
            element = layui.element;
            upload = layui.upload;
        
            //Hash地址的定位
            var layid = location.hash.replace(/^#test=/, '');
            element.tabChange('test', layid);
            element.on('tab(test)', function (elem) {
                location.hash = 'test=' + $(this).attr('lay-id');
            });
    
            //日期
            

            //上传文件
            

            //穿梭框
            

            //TreeView，比如权限管理
            

            //省市区
            
        })

    </script>
</body>
</html>
