Forráskód Böngészése

日历选中自动关闭

laiguoran 4 éve
szülő
commit
e27b3c614b
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      app/view/material/info_modal.ejs

+ 1 - 1
app/view/material/info_modal.ejs

@@ -42,7 +42,7 @@
             <div class="modal-body">
                 <div class="form-group">
                     <label>信息价月份</label>
-                    <input class="datepicker-here form-control" id="months" placeholder="点击选择年月" data-view="months" data-min-view="months" data-date-format="yyyy-MM" data-language="zh" type="text">
+                    <input class="datepicker-here form-control" id="months" placeholder="点击选择年月" data-view="months" data-min-view="months" data-date-format="yyyy-MM" data-language="zh" type="text" data-auto-close="true">
                 </div>
                 <!--首次创建-->
                 <div class="alert alert-primary">创建月信息价后,「本期信息价」 「单价」列将无法自行填写,而是从「月信息价」中获取,如果有多个「月信息价」,将取平均值。</div>