lihong 4 달 전
부모
커밋
d7e843405b
1개의 변경된 파일14개의 추가작업 그리고 5개의 파일을 삭제
  1. 14 5
      src/main/resources/static/js/mz/clinic.js

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

@@ -4291,11 +4291,20 @@ function initGenderSelect() {
  * 初始化中药类型下拉选
  */
 function initZyClassTypeSelect() {
-    var gender = '<option value="81">普通</option><option value="83">颗粒剂</option>';
-    $('#zyClassType').html(gender);
+    let html = '<option selected="selected" value="81">普通</option><option value="83">颗粒剂</option>';
+    $('#zyClassType').html(html);
     $('#zyClassType').selectpicker('refresh');
-    //$('#zyClassType').selectpicker('val', "81");
-    // $('#zyClassType').selectpicker('refresh');
+
+    // getAjaxRequst("/thmz/selectYfAllByTime",{},true,function (res) {
+    //     let html = '';
+    //     $.each(res.data, function (commentIndex, comment) {
+    //         if(comment.mzFlag ==='1' && (comment.zcyFlag==='1' || comment.klFlag==='1')){
+    //             html += '<option value="' + comment.groupNo + '">' + comment.groupName + '</option>';
+    //         }
+    //     });
+    //     $('#zyClassType').html(html);
+    //     $('#zyClassType').selectpicker('refresh');
+    // })
 }
 
 
@@ -10200,7 +10209,7 @@ function getParamsForpPrescription(type) {
         '"rxDruginfoList": [],' +
         '"wxmallPackagePurchasedItemList": [],' +
         '"mzYjReqList": [],' +
-        '"mzZyReq": {"reqDept": "","smallDept": "","admissStatus": "","conditionCode": "","routeOfAdmission": "","deposit",null},' +
+        '"mzZyReq": {"reqDept": "","smallDept": "","admissStatus": "","conditionCode": "","routeOfAdmission": "","deposit":null},' +
         '"opRecordList": [],' +
         '"patientAllergenInfoList": [],' +
         '"zgmztczf":"",' +