浏览代码

补充上一条

sugangqiang 1 年之前
父节点
当前提交
167f2ad9a1

+ 1 - 1
app/enterprise/view/talent_basic_change/apply.html

@@ -141,7 +141,7 @@
                                                         </div>
                                                         <div class="rowGroup col-sm-3">
                                                             <label class=" control-label spacing"><span style="color: red">*</span>现劳动合同起止时间</label>
-                                                            <input class="form-control date" id="newContractTime" name="newContractTime" value="{$row.newContractTime}" style="pointer-events: none;background-color: #eee;">
+                                                            <input class="form-control date" id="newContractTime" name="newContractTime" value="{$row.newContractTime}">
                                                         </div>
                                                     </div>
                                                 </div>

+ 8 - 0
public/static/modular/gate/talentLibrary/talentBasicChange/talentBasicChange_info.js

@@ -245,6 +245,14 @@ TalentBasicChangeInfoDlg.submitToCheck = function () {
 
 
 $(function () {
+    $(".date").each(function () {
+        laydate.render({
+            elem: this,
+            type: "date",
+            range: true,
+            trigger: "click"
+        })
+    })
     Feng.initValidatorTip("basicChangeForm", TalentBasicChangeInfoDlg.validateFields);
     var hand = $("#hand").val();
     var id = $("#id").val();

+ 0 - 8
public/static/modular/talentLibrary/talentBasicChange/talentBasicChange_info.js

@@ -93,14 +93,6 @@ TalentBasicChangeInfoDlg.toggleField = function () {
 
 $(function () {
     var id = $("#id").val();
-    $(".date").each(function () {
-        laydate.render({
-            elem: this,
-            type: "date",
-            range: true,
-            trigger: "click"
-        })
-    })
     //批量加载字典表数据
     var arr = [
         {"name": "oldNationality", "code": "nationality"},