Browse Source

新增处方不需要添加组号

hurugang 2 năm trước cách đây
mục cha
commit
134da6458b
1 tập tin đã thay đổi với 14 bổ sung13 xóa
  1. 14 13
      src/main/resources/static/js/mz/clinic.js

+ 14 - 13
src/main/resources/static/js/mz/clinic.js

@@ -6867,19 +6867,20 @@ function refreshNavTabs(index, groupNo) {
     //切换处方
     $("#" + tabId).find("a[href='#" + paneId + "']").off("click").tab('show');
 
-   var cf_contents= $("#xyTabContent").find("div.cf_content");
-   if(cf_contents!=null && cf_contents.length>0){
-       for(var i=0;i<cf_contents.length;i++){
-           var length=$(cf_contents[i]).children().length;
-           if(length!=null && length>0){
-               //如果上一个处方金额不为空,又增加了处方分页,组号要自动切换
-               var last = parseInt($("#groupId > option:last").val());
-               $("#groupId").selectpicker('val', last);
-               $('#groupId').selectpicker('refresh');
-               break;
-           }
-       }
-   }
+   // var cf_contents= $("#xyTabContent").find("div.cf_content");
+   // if(cf_contents!=null && cf_contents.length>0){
+   //     for(var i=0;i<cf_contents.length;i++){
+   //         var length=$(cf_contents[i]).children().length;
+   //         if(length!=null && length>0){
+   //             //如果上一个处方金额不为空,又增加了处方分页,组号要自动切换
+   //             var last = parseInt($("#groupId > option:last").val());
+   //             $("#groupId").selectpicker('val', last);
+   //             $('#groupId').selectpicker('refresh');
+   //             //resetGroupIdSelect();
+   //             break;
+   //         }
+   //     }
+   // }
 }