Browse Source

修复电路申报中错误的验证县

sugangqiang 1 năm trước cách đây
mục cha
commit
fa06259180

+ 4 - 4
public/static/modular/gate/talentInfo/talentInfo_ic_info.js

@@ -16,7 +16,7 @@ var TalentInfoInfoDlg = {
                 callback: {
                     message: "户籍县不能为空",
                     callback: function (value, validator) {
-                        if ($("#province").val() > 0 && $("#city").val() > 0 && $("#county option").length > 1 && $("county option:selected").length == 0) {
+                        if ($("#province").val() > 0 && $("#city").val() > 0 && $("#county option").length > 1 && $("#county option:selected").length == 0) {
                             //当省市都有值时,如果县有列表,必选
                             return false;
                         }
@@ -181,9 +181,9 @@ TalentInfoInfoDlg.collectData = function () {
             .set('studyAbroadCountry')
             .set('studyAbroadTime')
             .set('description');
-    this.talentInfoInfoData["provinceName"] = $("#province").find("option:selected").text();
-    this.talentInfoInfoData["cityName"] = $("#city").find("option:selected").text();
-    this.talentInfoInfoData["countyName"] = $("#county").find("option:selected").text();
+    //this.talentInfoInfoData["provinceName"] = $("#province").find("option:selected").text();
+    //this.talentInfoInfoData["cityName"] = $("#city").find("option:selected").text();
+    //this.talentInfoInfoData["countyName"] = $("#county").find("option:selected").text();
 }
 
 /**