username@email.com
2021-12-09 d14b82fec13361486c49165371b5dee1b7089c09
zhengcaioa/zhengcaioa/Views/SysCode/Editlaw.cshtml
@@ -6,7 +6,7 @@
    List<SysCodeDtl> falv = ViewData["falv"] as List<SysCodeDtl>; //法律
    List<SysCodeDtl> question = ViewData["question"] as List<SysCodeDtl>; //法律
@@ -167,7 +167,35 @@
                                        </div>
                                    </div>
                                    <div class="clearfix layer-area" style="padding-bottom:15px;">
                                        <label class="text-right col-sm-1 col-md-1 control-label">质疑事项</label>
                                        <div class="col-sm-10 col-md-10">
                                            @*<input class="form-control" label="法律名称" id="Comments" name="Comments" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="100" ismust="true" type="text" value="@Model.Comments">*@
                                            <select id="Classify1" class="form-control" name="Classify1" data-placeholder="选择 序列 ...">
                                                <option value="" hassubinfo="true">请选择</option>
                                                @foreach (var item in question)
                                                {
                                                    @if (!item.CodeSn.Equals(Model.Classify1))
                                                    {
                                                        <option value="@item.CodeSn" hassubinfo="true">
                                                            @item.Comments
                                                        </option>
                                                    }
                                                    else
                                                    {
                                                        <option value="@item.CodeSn" hassubinfo="true" selected="selected">
                                                            @item.Comments
                                                        </option>
                                                    }
                                                }
                                                }
                                            </select>
                                        </div>
                                    </div>
                                </div>
@@ -309,7 +337,10 @@
                return;
            }
            if ($.trim($("#Classify1").val()) == '') {
                toastr.warning("质疑事项不能为空");
                return;
            }