username@email.com
2022-09-21 d4f1d60996bcec152e100b231c37589270c5fae6
zhengcaioa/zhengcaioa/Views/CooperVisit/Edit.cshtml
@@ -111,6 +111,8 @@
                                    <label class="text-right col-sm-1 col-md-1 control-label">合作客户<i class="red">*</i></label>
                                    <div class="col-sm-2 col-md-2">
                                        @if (customer.Count > 0)
                                        {
                                        <select id="Viscustomer" class="form-control" name="Viscustomer" data-placeholder="选择 序列 ..." style="font-weight:normal;">
                                            <option value="" hassubinfo="true">请选择</option>
                                            @foreach (var item in customer)
@@ -132,6 +134,13 @@
                                            }
                                        </select>
                                        }
                                        else
                                        {
                                            @Model.ViscustomerName
                                            <input type="hidden" id="Viscustomer" name="Viscustomer" value="@Model.Viscustomer" />
                                        }
                                        <input type="hidden" id="Id" name="Id" value="@Model.Id" />
                                    </div>
                                </div>
@@ -346,7 +355,10 @@
        };
        laydate({ elem: "#Vistime", format: 'YYYY/MM/DD', istime: true, event: "focus" });
        if ( @customer.Count > 0)
            {
        $("#Viscustomer").chosen();
            }
        var id = '@Model.Id';
        var bUpload = false;
        var bAdd = false; // 新增操作