|
@@ -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;
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // }
|
|
|
}
|
|
|
|
|
|
|