瀏覽代碼

Updated public

north 7 年之前
父節點
當前提交
2e2f5a3ee9
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      www/protected/views/rEmploye/index.php

+ 5 - 1
www/protected/views/rEmploye/index.php

@@ -436,7 +436,11 @@
         jq_setStatus.combobox('setValue', row.status);
         var flag = '#flag'+row.flag;
         console.log(flag);
-        $(flag).attr('checked',true);
+        if (flag) {
+          $('#flag1').attr('checked',true);
+        } else {
+          $('#flag0').attr('checked',true);
+        }
       },
       onLoadSuccess : function () {
         $('#xorder_id').html('');