Browse Source

库存显示展示

XMLWAN 2 years ago
parent
commit
c548dc051d

+ 3 - 2
src/xt_pages/Pharmacy/PatientDispensing.vue View File

515
     },
515
     },
516
     //获取患者信息详情
516
     //获取患者信息详情
517
     getpatientdetails(val) {
517
     getpatientdetails(val) {
518
+      console.log("val2332323223",this.currentRow)
518
       var params = {
519
       var params = {
519
         patient_id: this.currentRow.PatientID,
520
         patient_id: this.currentRow.PatientID,
520
         is_medicine: val,
521
         is_medicine: val,
524
         if (res.data.state == 1) {
525
         if (res.data.state == 1) {
525
            var list = res.data.data.list;
526
            var list = res.data.data.list;
526
            console.log("hhhhawoowowow",list)
527
            console.log("hhhhawoowowow",list)
527
-          if(this.$store.getters.xt_user.org.id == 10188 || this.$store.getters.xt_user.org.id == 10217 ){
528
+          if(this.$store.getters.xt_user.org.id == 10188 || this.$store.getters.xt_user.org.id == 10217 || this.$store.getters.xt_user.org.id == 0 ){
528
             this.tableData = []
529
             this.tableData = []
529
             if(list!=null && list.length >0){
530
             if(list!=null && list.length >0){
530
               for(let i=0;i<list.length;i++){
531
               for(let i=0;i<list.length;i++){
535
             }
536
             }
536
 
537
 
537
           }
538
           }
538
-          if(this.$store.getters.xt_user.org.id != 10188 && this.$store.getters.xt_user.org.id != 10217){
539
+          if(this.$store.getters.xt_user.org.id != 10188 && this.$store.getters.xt_user.org.id != 10217 && this.$store.getters.xt_user.org.id != 0){
539
             this.tableData = []
540
             this.tableData = []
540
             this.tableData = list
541
             this.tableData = list
541
           }
542
           }

+ 1 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_fiftyOne.vue View File

864
                           <span v-if="record.prescription.anticoagulant == 4"
864
                           <span v-if="record.prescription.anticoagulant == 4"
865
                             >mg</span
865
                             >mg</span
866
                           >
866
                           >
867
-                          <span v-if="record.prescription.anticoagulant == 3"
867
+                          <span v-if="record.prescription.anticoagulant == 3 || record.prescription.anticoagulant == 6 || record.prescription.anticoagulant == 7"
868
                             >iu</span
868
                             >iu</span
869
                           >
869
                           >
870
                           <span v-if="record.prescription.anticoagulant == 2"
870
                           <span v-if="record.prescription.anticoagulant == 2"

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyOne.vue View File

1148
                               <span v-if="prescription.anticoagulant == 4"
1148
                               <span v-if="prescription.anticoagulant == 4"
1149
                                 >mg</span
1149
                                 >mg</span
1150
                               >
1150
                               >
1151
-                              <span v-if="prescription.anticoagulant == 3"
1151
+                              <span v-if="prescription.anticoagulant == 3 || prescription.anticoagulant == 6 || prescription.anticoagulant == 7"
1152
                                 >iu</span
1152
                                 >iu</span
1153
                               >
1153
                               >
1154
                               <span v-if="prescription.anticoagulant == 2"
1154
                               <span v-if="prescription.anticoagulant == 2"

+ 7 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyOne.vue View File

536
                     <tr>
536
                     <tr>
537
                       <td width="90" style="border:none;padding-left:5px">透析器凝血:</td>
537
                       <td width="90" style="border:none;padding-left:5px">透析器凝血:</td>
538
                       <td width="220" style="text-align:left;border:none;">
538
                       <td width="220" style="text-align:left;border:none;">
539
-                        <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('透析器0') > -1 ? true : false) :false" showValue="0"></label-box>
539
+                        <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor == '透析器0' ? true : false) :false" showValue="0"></label-box>
540
+                        <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor == '透析器+' ? true : false) :false" showValue="+"></label-box>
541
+                        <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor == '透析器++' ? true : false) :false" showValue="+ +"></label-box>
542
+                        <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor == '透析器+++' ? true : false) :false" showValue="+ + +"></label-box>
543
+                        <!-- <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('透析器0') > -1 ? true : false) :false" showValue="0"></label-box>
540
                         <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('透析器+') > -1 ? true : false) :false" showValue="+"></label-box>
544
                         <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('透析器+') > -1 ? true : false) :false" showValue="+"></label-box>
541
-                        <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('透析器++') > -1 ? true : false) :false" showValue="+ +"></label-box>
542
-                        <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('透析器+++') > -1 ? true : false) :false" showValue="+ + +"></label-box>
545
+                        <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('透析器++')> -1 ? true : false) :false" showValue="+ +"></label-box>
546
+                        <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('透析器+++')> -1 ? true : false) :false" showValue="+ + +"></label-box> -->
543
                       </td>
547
                       </td>
544
                       <td width="90" style="border:none;padding-left:5px">静脉管道:</td>
548
                       <td width="90" style="border:none;padding-left:5px">静脉管道:</td>
545
                       <td width="220" style="text-align:left;border:none;">
549
                       <td width="220" style="text-align:left;border:none;">

+ 2 - 2
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue View File

2612
                           newProjectArr[i].out_count += parseInt(newProjectArr[i].child[j].total)
2612
                           newProjectArr[i].out_count += parseInt(newProjectArr[i].child[j].total)
2613
                         }
2613
                         }
2614
                       }
2614
                       }
2615
-                      console.log("河滨232332newArr",newProjectArr)
2615
+                      
2616
                       for(let i=0;i<newProjectArr.length;i++){
2616
                       for(let i=0;i<newProjectArr.length;i++){
2617
                         if(newProjectArr[i].out_count > newProjectArr[i].sum_count){
2617
                         if(newProjectArr[i].out_count > newProjectArr[i].sum_count){
2618
                               this.$message.error(newProjectArr[i].str + "库存不足,保存失败!")
2618
                               this.$message.error(newProjectArr[i].str + "库存不足,保存失败!")
2624
 
2624
 
2625
                     }
2625
                     }
2626
                }
2626
                }
2627
-
2627
+               console.log("params23332232323232323------",data)
2628
                 createHisPrescription(data, params).then(response => {
2628
                 createHisPrescription(data, params).then(response => {
2629
                   if (response.data.state == 1) {
2629
                   if (response.data.state == 1) {
2630
                     this.$emit('change', this.patientInfo.id)
2630
                     this.$emit('change', this.patientInfo.id)

+ 11 - 1
src/xt_pages/user/hospitalSummaryPrint.vue View File

65
               </span>
65
               </span>
66
             </td>
66
             </td>
67
           </tr>
67
           </tr>
68
-
68
+          <tr>
69
+            <td style="text-align:center;width:100px" colspan="1">
70
+              身份证:
71
+            </td>   
72
+            <td style="text-align:left;width:500px" colspan="12">
73
+            
74
+              <span style="display:inline-block;margin-left:10px;">
75
+                {{patient.id_card_no}}
76
+              </span>
77
+            </td>   
78
+          </tr>
69
           <tr>
79
           <tr>
70
             <td style="text-align:center;width:100px" colspan="1">
80
             <td style="text-align:center;width:100px" colspan="1">
71
               住址:
81
               住址: