Browse Source

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

csx 3 years ago
parent
commit
918b36d107

+ 40 - 9
src/xt_pages/outpatientCharges/costComparison.vue View File

212
     getDoctorList,
212
     getDoctorList,
213
     getExportConsumeDetailList,
213
     getExportConsumeDetailList,
214
     getHisOrderList,
214
     getHisOrderList,
215
-    getList
215
+    getList,
216
+    getInitData
216
   } from '@/api/his/his'
217
   } from '@/api/his/his'
217
   import { uParseTime } from '@/utils/tools'
218
   import { uParseTime } from '@/utils/tools'
218
   import { fetchAllAdminUsers } from '@/api/doctor'
219
   import { fetchAllAdminUsers } from '@/api/doctor'
230
           { path: false, name: '医保费用对照' }
231
           { path: false, name: '医保费用对照' }
231
         ],
232
         ],
232
         tableData: [],
233
         tableData: [],
234
+        diagnoses:[],
233
         limit: 10,
235
         limit: 10,
234
         page: 1,
236
         page: 1,
235
         dialogFormVisible: false,
237
         dialogFormVisible: false,
582
                 '个人编号': this.fromData[i].psn_no,
584
                 '个人编号': this.fromData[i].psn_no,
583
                 '门诊号': this.fromData[i].mdtrt_id,
585
                 '门诊号': this.fromData[i].mdtrt_id,
584
                 '挂号日期': this.getTimes(this.fromData[i].settle_accounts_date),
586
                 '挂号日期': this.getTimes(this.fromData[i].settle_accounts_date),
585
-                '挂号科室': this.getTimes(this.fromData[i].settle_accounts_date),
587
+                '挂号科室': "",
586
                 '门诊费用': this.fromData[i].medfee_sumamt,
588
                 '门诊费用': this.fromData[i].medfee_sumamt,
587
                 '自费': this.fromData[i].psn_cash_pay,
589
                 '自费': this.fromData[i].psn_cash_pay,
588
                 '起付线I': this.fromData[i].act_pay_dedc,
590
                 '起付线I': this.fromData[i].act_pay_dedc,
591
                 '统筹基金': this.fromData[i].fund_pay_sumamt,
593
                 '统筹基金': this.fromData[i].fund_pay_sumamt,
592
                 '公务员补助': this.fromData[i].cvlserv_pay,
594
                 '公务员补助': this.fromData[i].cvlserv_pay,
593
                 '单位补充保险': this.fromData[i].hifes_pay,
595
                 '单位补充保险': this.fromData[i].hifes_pay,
596
+                '煤矿补充保险': "0.00",
597
+                "超封顶线费用": "0.00",
594
                 '大额医疗保险应付': this.fromData[i].hifob_pay,
598
                 '大额医疗保险应付': this.fromData[i].hifob_pay,
595
-                '大额合计': this.fromData[i].hifob_pay,
596
-                '诊断':"",
597
-                "血透次数":1,
598
-                "置留管数量":1,
599
+                '透析补助': "0.00",
600
+                '大额合计':  "0.00",
601
+                '实账支付额': "0.00",
602
+                '诊断': this.GetDiagnosisName(this.fromData[i].diagnosis_id),
603
+                "血透次数":this.fromData[i].DialysisCount,
604
+                "置留管数量":0,
599
                 "备注":"",
605
                 "备注":"",
600
 
606
 
601
               }
607
               }
609
             }
615
             }
610
 
616
 
611
             import('@/vendor/Export2Excel').then(excel => {
617
             import('@/vendor/Export2Excel').then(excel => {
612
-              const tHeader = ['结算金额', '姓名', '身份证', '个人编号', '门诊流水号', '挂号日期', '起付线', '统筹基金', '个人支付', '个账支付', '现金支付', '总费用', '冲销标志']
613
-              const filterVal = ['结算金额', '姓名', '身份证', '个人编号', '门诊流水号', '挂号日期', '起付线', '统筹基金', '个人支付', '个账支付', '现金支付', '总费用', '冲销标志']
618
+              const tHeader = ['序号', '姓名', '单位名称','个人编号', '门诊号', '挂号日期','挂号科室','门诊费用','自费', '起付线I','按比例自付II','小计I+II','统筹基金','公务员补助','单位补充保险','煤矿补充保险','超封顶线费用','大额医疗保险应付', '透析补助', '大额合计', '实账支付额', '诊断', '血透次数', '置留管数量','备注']
619
+              const filterVal = ['序号', '姓名', '单位名称','个人编号', '门诊号', '挂号日期','挂号科室','门诊费用','自费', '起付线I','按比例自付II','小计I+II','统筹基金','公务员补助','单位补充保险','煤矿补充保险','超封顶线费用','大额医疗保险应付', '透析补助', '大额合计', '实账支付额', '诊断', '血透次数', '置留管数量','备注']
620
+              // const filterVal = [ '姓名', '身份证', '个人编号', '门诊流水号', '挂号日期', '起付线', '统筹基金', '个人支付', '个账支付', '现金支付', '总费用', '冲销标志']
621
+              const merges = ['A1:A2', 'B1:B2', 'C1:E1', 'F1:H1', 'I1:K1', 'L1:N1', 'O1:Q1', 'R1:T1', 'U1:W1', 'X1:Z1', 'AA1:AC1', 'AD1:AF1', 'AG1:AI1', 'AJ1:AL1', 'AM1:AO1', 'AP1:AR1', 'AS1:AU1', 'AV1:AX1', 'AY1:BA1', 'BB1:BD1', 'BE1:BG1', 'BH1:BJ1', 'BK1:BM1']
622
+
614
               const data = this.formatJson(filterVal, list)
623
               const data = this.formatJson(filterVal, list)
615
               excel.export_json_to_excel({
624
               excel.export_json_to_excel({
616
                 header: tHeader,
625
                 header: tHeader,
623
 
632
 
624
       }, formatJson(filterVal, jsonData) {
633
       }, formatJson(filterVal, jsonData) {
625
         return jsonData.map(v => filterVal.map(j => v[j]))
634
         return jsonData.map(v => filterVal.map(j => v[j]))
626
-      }
635
+      },GetDiagnosisName(id){
636
+        for(let i = 0;i < this.diagnoses.length; i++){
637
+          if(this.diagnoses[i].id == id){
638
+            return this.diagnoses[i].class_name
639
+          }
640
+        }
641
+        return ""
642
+
643
+      },  getInitData() {
644
+        getInitData().then(response => {
645
+          if (response.data.state == 0) {
646
+            this.$message.error(response.data.msg)
647
+            return false
648
+          } else {
649
+            this.diagnoses = response.data.data.diagnose
650
+
651
+
652
+          }
653
+        })
654
+
655
+      },
656
+
627
     },
657
     },
628
     created() {
658
     created() {
629
       this.getList()
659
       this.getList()
630
       this.fetchAllAdminUsers()
660
       this.fetchAllAdminUsers()
661
+      this.getInitData()
631
 
662
 
632
     }
663
     }
633
   }
664
   }

+ 95 - 116
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

139
                         </el-button>
139
                         </el-button>
140
 
140
 
141
 
141
 
142
-                        <el-button v-if="this.radio == 2   && this.order.order_status == 2" size="small" @click="open(9)" type="primary"
142
+                        <el-button v-if="this.radio == 2   && this.order.order_status == 2" size="small"
143
+                                   @click="open(9)" type="primary"
143
                         >结算单
144
                         >结算单
144
                         </el-button>
145
                         </el-button>
145
 
146
 
271
 
272
 
272
                                         <div class="costBox">
273
                                         <div class="costBox">
273
                                             <span>当前处方总费用:<span style="color:red;">{{items.total}}元</span></span>
274
                                             <span>当前处方总费用:<span style="color:red;">{{items.total}}元</span></span>
274
-                                            <span>总费用:<span style="color:red;">{{ items.prescriptions[0].order.medfee_sumamt? items.prescriptions[0].order.medfee_sumamt:''}}元</span></span>
275
-                                            <span>基金支付:<span style="color:red;">{{ items.prescriptions[0].order.fund_pay_sumamt?items.prescriptions[0].order.fund_pay_sumamt:''}}元</span></span>
276
-                                            <span>个人支付:<span style="color:red;">{{ items.prescriptions[0].order.psn_cash_pay?items.prescriptions[0].order.psn_cash_pay:''}}元</span></span>
275
+                                            <span>总费用:<span style="color:red;">{{ items.curPrescriptions.order.medfee_sumamt ?  items.curPrescriptions.order.medfee_sumamt:getTotalFour(items.prescriptions)?getTotalFour(items.prescriptions):'' }}元</span></span>
276
+                                            <span>基金支付:<span style="color:red;">{{ items.curPrescriptions.order.fund_pay_sumamt?items.curPrescriptions.order.fund_pay_sumamt:''}}元</span></span>
277
+                                            <span>个人支付:<span style="color:red;">{{ items.curPrescriptions.order.psn_cash_pay?items.curPrescriptions.order.psn_cash_pay:''}}元</span></span>
277
 
278
 
278
                                             <span v-if="items.curPrescriptions.order_status  == 1">待结算</span>
279
                                             <span v-if="items.curPrescriptions.order_status  == 1">待结算</span>
279
                                             <span v-if="items.curPrescriptions.order_status  == 2">已结算</span>
280
                                             <span v-if="items.curPrescriptions.order_status  == 2">已结算</span>
284
 
285
 
285
                                 </div>
286
                                 </div>
286
                                 <div class="centerRight">
287
                                 <div class="centerRight">
287
-                                    <p class="centerRightTitle" style="padding-top: 10px;">就诊信息</p>
288
-                                    <div>
288
+                                    <p class="centerRightTitle" style="padding-top: 10px;" v-if="org_id != 9504 || org_id != 10028 || org_id != 10138">就诊信息</p>
289
+                                    <div v-if="org_id != 9504 || org_id != 10028 || org_id != 10138">
289
                                         <el-form :model="form" :rules="rules" ref="formValue" label-width="100px">
290
                                         <el-form :model="form" :rules="rules" ref="formValue" label-width="100px">
290
 
291
 
291
                                             <!--<el-form-item label="处方类型:" prop="p_type" :validate-event="is_Name">-->
292
                                             <!--<el-form-item label="处方类型:" prop="p_type" :validate-event="is_Name">-->
356
                                     <ul class="basicUl">
357
                                     <ul class="basicUl">
357
                                         <li style="width:50%;">医生:{{ info.doctor }}</li>
358
                                         <li style="width:50%;">医生:{{ info.doctor }}</li>
358
                                         <li style="width:50%;">科室:{{ info.departments }}</li>
359
                                         <li style="width:50%;">科室:{{ info.departments }}</li>
359
-                                        <li style="width:100%;">总费用:{{ getTotal() }}</li>
360
+                                        <!--<li style="width:100%;">总费用:{{ getTotal() }}</li>-->
360
 
361
 
361
                                         <li style="width:100%;">判断结果:{{info.diagnosis}}</li>
362
                                         <li style="width:100%;">判断结果:{{info.diagnosis}}</li>
362
                                         <li style="width:100%;">是否有传染病:</li>
363
                                         <li style="width:100%;">是否有传染病:</li>
515
 
516
 
516
                                 </div>
517
                                 </div>
517
                                 <div class="centerRight">
518
                                 <div class="centerRight">
518
-                                    <p class="centerRightTitle" style="padding-top: 10px;">就诊信息</p>
519
-                                    <div>
519
+                                    <p class="centerRightTitle" style="padding-top: 10px;" v-if="org_id != 0 || org_id != 9504 || org_id != 10028 || org_id != 10138">就诊信息</p>
520
+                                    <div v-if="org_id != 0 || org_id != 9504 || org_id != 10028 || org_id != 10138">
520
                                         <el-form :model="form" :rules="rules" ref="formValue" label-width="100px">
521
                                         <el-form :model="form" :rules="rules" ref="formValue" label-width="100px">
521
 
522
 
523
+                                            <!--<el-form-item label="处方类型:" prop="p_type" :validate-event="is_Name">-->
524
+                                            <!--<el-select style="margin-right:5px;width:100px;" v-model="form.p_type"-->
525
+                                            <!--placeholder=""-->
526
+                                            <!--&gt;-->
527
+                                            <!--<el-option-->
528
+                                            <!--v-for="(item,index) in register"-->
529
+                                            <!--:key="index"-->
530
+                                            <!--:label="item.label"-->
531
+                                            <!--:value="item.value">-->
532
+                                            <!--</el-option>-->
533
+                                            <!--</el-select>-->
534
+                                            <!--</el-form-item>-->
535
+
522
                                             <el-form-item label="大病类别:" prop="sick_type" :validate-event="is_Name">
536
                                             <el-form-item label="大病类别:" prop="sick_type" :validate-event="is_Name">
523
                                                 <el-select style="margin-right:5px;width:100px;"
537
                                                 <el-select style="margin-right:5px;width:100px;"
524
                                                            v-model="form.sick_type" placeholder="">
538
                                                            v-model="form.sick_type" placeholder="">
1150
       },
1164
       },
1151
       confirm(forms) {
1165
       confirm(forms) {
1152
 
1166
 
1153
-
1154
         forms['record_time'] = this.record_date
1167
         forms['record_time'] = this.record_date
1155
         forms['admin_user_id'] = this.$store.getters.xt_user.user.id
1168
         forms['admin_user_id'] = this.$store.getters.xt_user.user.id
1156
         forms['org_id'] = this.$store.getters.xt_user.org_id
1169
         forms['org_id'] = this.$store.getters.xt_user.org_id
1649
 
1662
 
1650
                 if (response.data.data.list[i].his_patient.length > 1) {
1663
                 if (response.data.data.list[i].his_patient.length > 1) {
1651
                   for (let b = 0; b < response.data.data.list[i].his_patient.length; b++) {
1664
                   for (let b = 0; b < response.data.data.list[i].his_patient.length; b++) {
1652
-                    if(response.data.data.list[i].his_patient[b].orders.length  == 0){
1665
+                    if (response.data.data.list[i].his_patient[b].orders.length == 0) {
1653
                       let obj = {
1666
                       let obj = {
1654
                         id: response.data.data.list[i].id,
1667
                         id: response.data.data.list[i].id,
1655
                         name: response.data.data.list[i].name,
1668
                         name: response.data.data.list[i].name,
1656
                         number: response.data.data.list[i].his_patient[b].number,
1669
                         number: response.data.data.list[i].his_patient[b].number,
1657
                         order_status: 1,
1670
                         order_status: 1,
1658
                         his_patient_id: response.data.data.list[i].his_patient[b].id,
1671
                         his_patient_id: response.data.data.list[i].his_patient[b].id,
1659
-                        order_number: "",
1672
+                        order_number: '',
1660
                         order_id: 0,
1673
                         order_id: 0,
1661
                         prescription: response.data.data.list[i].prescription
1674
                         prescription: response.data.data.list[i].prescription
1662
                       }
1675
                       }
1663
                       this.all_table_data.push(obj)
1676
                       this.all_table_data.push(obj)
1664
-                    }else{
1677
+                    } else {
1665
 
1678
 
1666
                       for (let c = 0; c < response.data.data.list[i].his_patient[b].orders.length; c++) {
1679
                       for (let c = 0; c < response.data.data.list[i].his_patient[b].orders.length; c++) {
1667
                         let obj = {
1680
                         let obj = {
1678
                         this.all_table_data.push(obj)
1691
                         this.all_table_data.push(obj)
1679
                       }
1692
                       }
1680
 
1693
 
1681
-
1682
                     }
1694
                     }
1683
 
1695
 
1684
                   }
1696
                   }
1696
               for (let b = 0; b < this.all_table_data[i].prescription.length; b++) {
1708
               for (let b = 0; b < this.all_table_data[i].prescription.length; b++) {
1697
                 if (this.all_table_data[i].order_status != 2) {
1709
                 if (this.all_table_data[i].order_status != 2) {
1698
                   isHasUnCharge = true
1710
                   isHasUnCharge = true
1699
-                }else {
1700
-                  if(this.all_table_data[i].his_patient_id > 0){
1701
-                    if(this.all_table_data[i].his_patient_id == this.all_table_data[i].prescription[0].his_patient_id){
1711
+                } else {
1712
+                  if (this.all_table_data[i].his_patient_id > 0) {
1713
+                    if (this.all_table_data[i].his_patient_id == this.all_table_data[i].prescription[0].his_patient_id) {
1702
                       isHasUnCharge = true
1714
                       isHasUnCharge = true
1703
                     }
1715
                     }
1704
                   }
1716
                   }
1705
 
1717
 
1706
                 }
1718
                 }
1707
               }
1719
               }
1708
-              if(this.all_table_data[i].his_patient_id > 0 && this.all_table_data[i].order_status != 2){
1720
+              if (this.all_table_data[i].his_patient_id > 0 && this.all_table_data[i].order_status != 2) {
1709
                 isHasUnCharge = true
1721
                 isHasUnCharge = true
1710
 
1722
 
1711
               }
1723
               }
1712
 
1724
 
1713
-
1714
-
1715
               if (isHasUnCharge) {
1725
               if (isHasUnCharge) {
1716
                 unChargePatient.push(this.all_table_data[i])
1726
                 unChargePatient.push(this.all_table_data[i])
1717
               }
1727
               }
1718
 
1728
 
1719
             }
1729
             }
1720
 
1730
 
1721
-
1722
-
1723
             unChargePatient = this.unique_four(unChargePatient)
1731
             unChargePatient = this.unique_four(unChargePatient)
1724
 
1732
 
1725
             one_count = one_count + unChargePatient.length
1733
             one_count = one_count + unChargePatient.length
1726
 
1734
 
1727
-
1728
             let ChargePatient = []
1735
             let ChargePatient = []
1729
             for (let i = 0; i < this.all_table_data.length; i++) {
1736
             for (let i = 0; i < this.all_table_data.length; i++) {
1730
               if (this.all_table_data[i].order_status == 2) {
1737
               if (this.all_table_data[i].order_status == 2) {
1748
                   for (let b = 0; b < this.all_table_data[i].prescription.length; b++) {
1755
                   for (let b = 0; b < this.all_table_data[i].prescription.length; b++) {
1749
                     if (this.all_table_data[i].order_status != 2) {
1756
                     if (this.all_table_data[i].order_status != 2) {
1750
                       isHasUnCharge = true
1757
                       isHasUnCharge = true
1751
-                    }else {
1752
-                      if(this.all_table_data[i].his_patient_id > 0){
1753
-                        if(this.all_table_data[i].his_patient_id == this.all_table_data[i].prescription[0].his_patient_id){
1758
+                    } else {
1759
+                      if (this.all_table_data[i].his_patient_id > 0) {
1760
+                        if (this.all_table_data[i].his_patient_id == this.all_table_data[i].prescription[0].his_patient_id) {
1754
                           isHasUnCharge = true
1761
                           isHasUnCharge = true
1755
                         }
1762
                         }
1756
                       }
1763
                       }
1758
                     }
1765
                     }
1759
 
1766
 
1760
                   }
1767
                   }
1761
-                  if(this.all_table_data[i].his_patient_id > 0 && this.all_table_data[i].order_status != 2){
1768
+                  if (this.all_table_data[i].his_patient_id > 0 && this.all_table_data[i].order_status != 2) {
1762
                     isHasUnCharge = true
1769
                     isHasUnCharge = true
1763
 
1770
 
1764
                   }
1771
                   }
1784
                 break
1791
                 break
1785
             }
1792
             }
1786
 
1793
 
1787
-
1788
             this.cal_one = one_count
1794
             this.cal_one = one_count
1789
             this.cal_two = two_count
1795
             this.cal_two = two_count
1790
             this.cal_three = three_count
1796
             this.cal_three = three_count
1874
 
1880
 
1875
                 if (response.data.data.list[i].his_patient.length > 1) {
1881
                 if (response.data.data.list[i].his_patient.length > 1) {
1876
                   for (let b = 0; b < response.data.data.list[i].his_patient.length; b++) {
1882
                   for (let b = 0; b < response.data.data.list[i].his_patient.length; b++) {
1877
-                    if(response.data.data.list[i].his_patient[b].orders.length  == 0){
1883
+                    if (response.data.data.list[i].his_patient[b].orders.length == 0) {
1878
                       let obj = {
1884
                       let obj = {
1879
                         id: response.data.data.list[i].id,
1885
                         id: response.data.data.list[i].id,
1880
                         name: response.data.data.list[i].name,
1886
                         name: response.data.data.list[i].name,
1881
                         number: response.data.data.list[i].his_patient[b].number,
1887
                         number: response.data.data.list[i].his_patient[b].number,
1882
                         order_status: 1,
1888
                         order_status: 1,
1883
                         his_patient_id: response.data.data.list[i].his_patient[b].id,
1889
                         his_patient_id: response.data.data.list[i].his_patient[b].id,
1884
-                        order_number: "",
1890
+                        order_number: '',
1885
                         order_id: 0,
1891
                         order_id: 0,
1886
                         prescription: response.data.data.list[i].prescription
1892
                         prescription: response.data.data.list[i].prescription
1887
                       }
1893
                       }
1888
                       this.all_table_data.push(obj)
1894
                       this.all_table_data.push(obj)
1889
-                    }else{
1895
+                    } else {
1890
 
1896
 
1891
                       for (let c = 0; c < response.data.data.list[i].his_patient[b].orders.length; c++) {
1897
                       for (let c = 0; c < response.data.data.list[i].his_patient[b].orders.length; c++) {
1892
                         let obj = {
1898
                         let obj = {
1903
                         this.all_table_data.push(obj)
1909
                         this.all_table_data.push(obj)
1904
                       }
1910
                       }
1905
 
1911
 
1906
-
1907
                     }
1912
                     }
1908
 
1913
 
1909
                   }
1914
                   }
1921
               for (let b = 0; b < this.all_table_data[i].prescription.length; b++) {
1926
               for (let b = 0; b < this.all_table_data[i].prescription.length; b++) {
1922
                 if (this.all_table_data[i].order_status != 2) {
1927
                 if (this.all_table_data[i].order_status != 2) {
1923
                   isHasUnCharge = true
1928
                   isHasUnCharge = true
1924
-                }else {
1925
-                  if(this.all_table_data[i].his_patient_id > 0){
1926
-                    if(this.all_table_data[i].his_patient_id == this.all_table_data[i].prescription[0].his_patient_id){
1929
+                } else {
1930
+                  if (this.all_table_data[i].his_patient_id > 0) {
1931
+                    if (this.all_table_data[i].his_patient_id == this.all_table_data[i].prescription[0].his_patient_id) {
1927
                       isHasUnCharge = true
1932
                       isHasUnCharge = true
1928
                     }
1933
                     }
1929
                   }
1934
                   }
1930
 
1935
 
1931
                 }
1936
                 }
1932
               }
1937
               }
1933
-              if(this.all_table_data[i].his_patient_id > 0 && this.all_table_data[i].order_status != 2){
1938
+              if (this.all_table_data[i].his_patient_id > 0 && this.all_table_data[i].order_status != 2) {
1934
                 isHasUnCharge = true
1939
                 isHasUnCharge = true
1935
 
1940
 
1936
               }
1941
               }
1937
 
1942
 
1938
-
1939
-
1940
               if (isHasUnCharge) {
1943
               if (isHasUnCharge) {
1941
                 unChargePatient.push(this.all_table_data[i])
1944
                 unChargePatient.push(this.all_table_data[i])
1942
               }
1945
               }
1943
 
1946
 
1944
             }
1947
             }
1945
 
1948
 
1946
-
1947
-
1948
             unChargePatient = this.unique_four(unChargePatient)
1949
             unChargePatient = this.unique_four(unChargePatient)
1949
 
1950
 
1950
             one_count = one_count + unChargePatient.length
1951
             one_count = one_count + unChargePatient.length
1951
 
1952
 
1952
-
1953
             let ChargePatient = []
1953
             let ChargePatient = []
1954
             for (let i = 0; i < this.all_table_data.length; i++) {
1954
             for (let i = 0; i < this.all_table_data.length; i++) {
1955
               if (this.all_table_data[i].order_status == 2) {
1955
               if (this.all_table_data[i].order_status == 2) {
1973
                   for (let b = 0; b < this.all_table_data[i].prescription.length; b++) {
1973
                   for (let b = 0; b < this.all_table_data[i].prescription.length; b++) {
1974
                     if (this.all_table_data[i].order_status != 2) {
1974
                     if (this.all_table_data[i].order_status != 2) {
1975
                       isHasUnCharge = true
1975
                       isHasUnCharge = true
1976
-                    }else {
1977
-                      if(this.all_table_data[i].his_patient_id > 0){
1978
-                        if(this.all_table_data[i].his_patient_id == this.all_table_data[i].prescription[0].his_patient_id){
1976
+                    } else {
1977
+                      if (this.all_table_data[i].his_patient_id > 0) {
1978
+                        if (this.all_table_data[i].his_patient_id == this.all_table_data[i].prescription[0].his_patient_id) {
1979
                           isHasUnCharge = true
1979
                           isHasUnCharge = true
1980
                         }
1980
                         }
1981
                       }
1981
                       }
1983
                     }
1983
                     }
1984
 
1984
 
1985
                   }
1985
                   }
1986
-                  if(this.all_table_data[i].his_patient_id > 0 && this.all_table_data[i].order_status != 2){
1986
+                  if (this.all_table_data[i].his_patient_id > 0 && this.all_table_data[i].order_status != 2) {
1987
                     isHasUnCharge = true
1987
                     isHasUnCharge = true
1988
 
1988
 
1989
                   }
1989
                   }
2009
                 break
2009
                 break
2010
             }
2010
             }
2011
 
2011
 
2012
-
2013
             this.cal_one = one_count
2012
             this.cal_one = one_count
2014
             this.cal_two = two_count
2013
             this.cal_two = two_count
2015
             this.cal_three = three_count
2014
             this.cal_three = three_count
2260
           }
2259
           }
2261
 
2260
 
2262
           if (month_prescriptions[i].addition != null) {
2261
           if (month_prescriptions[i].addition != null) {
2263
-            for (let b = 0; b <month_prescriptions[i].addition.length; b++) {
2262
+            for (let b = 0; b < month_prescriptions[i].addition.length; b++) {
2264
               total = parseFloat(total) + parseFloat(month_prescriptions[i].addition[a].price * month_prescriptions[i].addition[b].count)
2263
               total = parseFloat(total) + parseFloat(month_prescriptions[i].addition[a].price * month_prescriptions[i].addition[b].count)
2265
             }
2264
             }
2266
           }
2265
           }
2273
           return false
2272
           return false
2274
         }
2273
         }
2275
       },
2274
       },
2276
-      open(index, med_type, order,prescriptions) {
2275
+      open(index, med_type, order, prescriptions) {
2277
 
2276
 
2278
         if (index == 1) {
2277
         if (index == 1) {
2279
 
2278
 
2347
           //   }
2346
           //   }
2348
           // }
2347
           // }
2349
 
2348
 
2350
-
2351
-
2352
           if (this.activeName == 'first') {
2349
           if (this.activeName == 'first') {
2353
 
2350
 
2354
             this.$refs.charge.show(this.getTotalFour(prescriptions), this.currentOrder)
2351
             this.$refs.charge.show(this.getTotalFour(prescriptions), this.currentOrder)
2487
 
2484
 
2488
         } else if (index == 8) {
2485
         } else if (index == 8) {
2489
 
2486
 
2487
+          if (this.$store.getters.xt_user.org_id != 10028 || this.$store.getters.xt_user.org_id != 9504 || this.$store.getters.xt_user.org_id != 10138) {
2488
+            if (this.form.diagnosis.length || this.form.diagnosis == 0) {
2489
+              that.$message.error('诊断不能为空,请选择诊断内容')
2490
+              return
2491
+            }
2492
+
2493
+            if (this.form.sick_type.length || this.form.sick_type == 0) {
2494
+
2495
+              that.$message.error('疾病类型不能为空,请选择疾病类型')
2496
+              return
2497
+            }
2498
+
2499
+          }
2500
+
2490
           var that = this
2501
           var that = this
2491
           let form = {}
2502
           let form = {}
2492
           form['id'] = this.patientInfo.id
2503
           form['id'] = this.patientInfo.id
2507
             form['settle_accounts_type'] = 2
2518
             form['settle_accounts_type'] = 2
2508
           }
2519
           }
2509
 
2520
 
2510
-          if (that.$store.getters.xt_user.org_id == 0) {
2521
+          if (that.$store.getters.xt_user.org_id == 12) {
2511
 
2522
 
2512
             this.$confirm('是否进行预结算', '预结算', {
2523
             this.$confirm('是否进行预结算', '预结算', {
2513
               confirmButtonText: '确 定',
2524
               confirmButtonText: '确 定',
2957
 
2968
 
2958
                 if (response.data.data.list[i].his_patient.length > 1) {
2969
                 if (response.data.data.list[i].his_patient.length > 1) {
2959
                   for (let b = 0; b < response.data.data.list[i].his_patient.length; b++) {
2970
                   for (let b = 0; b < response.data.data.list[i].his_patient.length; b++) {
2960
-                    if(response.data.data.list[i].his_patient[b].orders.length  == 0){
2971
+                    if (response.data.data.list[i].his_patient[b].orders.length == 0) {
2961
                       let obj = {
2972
                       let obj = {
2962
                         id: response.data.data.list[i].id,
2973
                         id: response.data.data.list[i].id,
2963
                         name: response.data.data.list[i].name,
2974
                         name: response.data.data.list[i].name,
2964
                         number: response.data.data.list[i].his_patient[b].number,
2975
                         number: response.data.data.list[i].his_patient[b].number,
2965
                         order_status: 1,
2976
                         order_status: 1,
2966
                         his_patient_id: response.data.data.list[i].his_patient[b].id,
2977
                         his_patient_id: response.data.data.list[i].his_patient[b].id,
2967
-                        order_number: "",
2978
+                        order_number: '',
2968
                         order_id: 0,
2979
                         order_id: 0,
2969
                         prescription: response.data.data.list[i].prescription
2980
                         prescription: response.data.data.list[i].prescription
2970
                       }
2981
                       }
2971
                       this.all_table_data.push(obj)
2982
                       this.all_table_data.push(obj)
2972
-                    }else{
2983
+                    } else {
2973
 
2984
 
2974
                       for (let c = 0; c < response.data.data.list[i].his_patient[b].orders.length; c++) {
2985
                       for (let c = 0; c < response.data.data.list[i].his_patient[b].orders.length; c++) {
2975
                         let obj = {
2986
                         let obj = {
2986
                         this.all_table_data.push(obj)
2997
                         this.all_table_data.push(obj)
2987
                       }
2998
                       }
2988
 
2999
 
2989
-
2990
                     }
3000
                     }
2991
 
3001
 
2992
                   }
3002
                   }
3004
               for (let b = 0; b < this.all_table_data[i].prescription.length; b++) {
3014
               for (let b = 0; b < this.all_table_data[i].prescription.length; b++) {
3005
                 if (this.all_table_data[i].order_status != 2) {
3015
                 if (this.all_table_data[i].order_status != 2) {
3006
                   isHasUnCharge = true
3016
                   isHasUnCharge = true
3007
-                }else {
3008
-                  if(this.all_table_data[i].his_patient_id > 0){
3009
-                    if(this.all_table_data[i].his_patient_id == this.all_table_data[i].prescription[0].his_patient_id){
3017
+                } else {
3018
+                  if (this.all_table_data[i].his_patient_id > 0) {
3019
+                    if (this.all_table_data[i].his_patient_id == this.all_table_data[i].prescription[0].his_patient_id) {
3010
                       isHasUnCharge = true
3020
                       isHasUnCharge = true
3011
                     }
3021
                     }
3012
                   }
3022
                   }
3013
 
3023
 
3014
                 }
3024
                 }
3015
               }
3025
               }
3016
-              if(this.all_table_data[i].his_patient_id > 0 && this.all_table_data[i].order_status != 2){
3026
+              if (this.all_table_data[i].his_patient_id > 0 && this.all_table_data[i].order_status != 2) {
3017
                 isHasUnCharge = true
3027
                 isHasUnCharge = true
3018
 
3028
 
3019
               }
3029
               }
3020
 
3030
 
3021
-
3022
-
3023
               if (isHasUnCharge) {
3031
               if (isHasUnCharge) {
3024
                 unChargePatient.push(this.all_table_data[i])
3032
                 unChargePatient.push(this.all_table_data[i])
3025
               }
3033
               }
3026
 
3034
 
3027
             }
3035
             }
3028
 
3036
 
3029
-
3030
-
3031
             unChargePatient = this.unique_four(unChargePatient)
3037
             unChargePatient = this.unique_four(unChargePatient)
3032
 
3038
 
3033
             one_count = one_count + unChargePatient.length
3039
             one_count = one_count + unChargePatient.length
3034
 
3040
 
3035
-
3036
             let ChargePatient = []
3041
             let ChargePatient = []
3037
             for (let i = 0; i < this.all_table_data.length; i++) {
3042
             for (let i = 0; i < this.all_table_data.length; i++) {
3038
               if (this.all_table_data[i].order_status == 2) {
3043
               if (this.all_table_data[i].order_status == 2) {
3056
                   for (let b = 0; b < this.all_table_data[i].prescription.length; b++) {
3061
                   for (let b = 0; b < this.all_table_data[i].prescription.length; b++) {
3057
                     if (this.all_table_data[i].order_status != 2) {
3062
                     if (this.all_table_data[i].order_status != 2) {
3058
                       isHasUnCharge = true
3063
                       isHasUnCharge = true
3059
-                    }else {
3060
-                      if(this.all_table_data[i].his_patient_id > 0){
3061
-                        if(this.all_table_data[i].his_patient_id == this.all_table_data[i].prescription[0].his_patient_id){
3064
+                    } else {
3065
+                      if (this.all_table_data[i].his_patient_id > 0) {
3066
+                        if (this.all_table_data[i].his_patient_id == this.all_table_data[i].prescription[0].his_patient_id) {
3062
                           isHasUnCharge = true
3067
                           isHasUnCharge = true
3063
                         }
3068
                         }
3064
                       }
3069
                       }
3066
                     }
3071
                     }
3067
 
3072
 
3068
                   }
3073
                   }
3069
-                  if(this.all_table_data[i].his_patient_id > 0 && this.all_table_data[i].order_status != 2){
3074
+                  if (this.all_table_data[i].his_patient_id > 0 && this.all_table_data[i].order_status != 2) {
3070
                     isHasUnCharge = true
3075
                     isHasUnCharge = true
3071
 
3076
 
3072
                   }
3077
                   }
3092
                 break
3097
                 break
3093
             }
3098
             }
3094
 
3099
 
3095
-
3096
             this.cal_one = one_count
3100
             this.cal_one = one_count
3097
             this.cal_two = two_count
3101
             this.cal_two = two_count
3098
             this.cal_three = three_count
3102
             this.cal_three = three_count
3179
 
3183
 
3180
                 if (response.data.data.list[i].his_patient.length > 1) {
3184
                 if (response.data.data.list[i].his_patient.length > 1) {
3181
                   for (let b = 0; b < response.data.data.list[i].his_patient.length; b++) {
3185
                   for (let b = 0; b < response.data.data.list[i].his_patient.length; b++) {
3182
-                    if(response.data.data.list[i].his_patient[b].orders.length  == 0){
3186
+                    if (response.data.data.list[i].his_patient[b].orders.length == 0) {
3183
                       let obj = {
3187
                       let obj = {
3184
                         id: response.data.data.list[i].id,
3188
                         id: response.data.data.list[i].id,
3185
                         name: response.data.data.list[i].name,
3189
                         name: response.data.data.list[i].name,
3186
                         number: response.data.data.list[i].his_patient[b].number,
3190
                         number: response.data.data.list[i].his_patient[b].number,
3187
                         order_status: 1,
3191
                         order_status: 1,
3188
                         his_patient_id: response.data.data.list[i].his_patient[b].id,
3192
                         his_patient_id: response.data.data.list[i].his_patient[b].id,
3189
-                        order_number: "",
3193
+                        order_number: '',
3190
                         order_id: 0,
3194
                         order_id: 0,
3191
                         prescription: response.data.data.list[i].prescription
3195
                         prescription: response.data.data.list[i].prescription
3192
                       }
3196
                       }
3193
                       this.all_table_data.push(obj)
3197
                       this.all_table_data.push(obj)
3194
-                    }else{
3198
+                    } else {
3195
 
3199
 
3196
                       for (let c = 0; c < response.data.data.list[i].his_patient[b].orders.length; c++) {
3200
                       for (let c = 0; c < response.data.data.list[i].his_patient[b].orders.length; c++) {
3197
                         let obj = {
3201
                         let obj = {
3208
                         this.all_table_data.push(obj)
3212
                         this.all_table_data.push(obj)
3209
                       }
3213
                       }
3210
 
3214
 
3211
-
3212
                     }
3215
                     }
3213
 
3216
 
3214
                   }
3217
                   }
3226
               for (let b = 0; b < this.all_table_data[i].prescription.length; b++) {
3229
               for (let b = 0; b < this.all_table_data[i].prescription.length; b++) {
3227
                 if (this.all_table_data[i].order_status != 2) {
3230
                 if (this.all_table_data[i].order_status != 2) {
3228
                   isHasUnCharge = true
3231
                   isHasUnCharge = true
3229
-                }else {
3230
-                  if(this.all_table_data[i].his_patient_id > 0){
3231
-                    if(this.all_table_data[i].his_patient_id == this.all_table_data[i].prescription[0].his_patient_id){
3232
+                } else {
3233
+                  if (this.all_table_data[i].his_patient_id > 0) {
3234
+                    if (this.all_table_data[i].his_patient_id == this.all_table_data[i].prescription[0].his_patient_id) {
3232
                       isHasUnCharge = true
3235
                       isHasUnCharge = true
3233
                     }
3236
                     }
3234
                   }
3237
                   }
3235
 
3238
 
3236
                 }
3239
                 }
3237
               }
3240
               }
3238
-              if(this.all_table_data[i].his_patient_id > 0 && this.all_table_data[i].order_status != 2){
3241
+              if (this.all_table_data[i].his_patient_id > 0 && this.all_table_data[i].order_status != 2) {
3239
                 isHasUnCharge = true
3242
                 isHasUnCharge = true
3240
 
3243
 
3241
               }
3244
               }
3242
 
3245
 
3243
-
3244
-
3245
               if (isHasUnCharge) {
3246
               if (isHasUnCharge) {
3246
                 unChargePatient.push(this.all_table_data[i])
3247
                 unChargePatient.push(this.all_table_data[i])
3247
               }
3248
               }
3248
 
3249
 
3249
             }
3250
             }
3250
 
3251
 
3251
-
3252
-
3253
             unChargePatient = this.unique_four(unChargePatient)
3252
             unChargePatient = this.unique_four(unChargePatient)
3254
 
3253
 
3255
             one_count = one_count + unChargePatient.length
3254
             one_count = one_count + unChargePatient.length
3256
 
3255
 
3257
-
3258
             let ChargePatient = []
3256
             let ChargePatient = []
3259
             for (let i = 0; i < this.all_table_data.length; i++) {
3257
             for (let i = 0; i < this.all_table_data.length; i++) {
3260
               if (this.all_table_data[i].order_status == 2) {
3258
               if (this.all_table_data[i].order_status == 2) {
3278
                   for (let b = 0; b < this.all_table_data[i].prescription.length; b++) {
3276
                   for (let b = 0; b < this.all_table_data[i].prescription.length; b++) {
3279
                     if (this.all_table_data[i].order_status != 2) {
3277
                     if (this.all_table_data[i].order_status != 2) {
3280
                       isHasUnCharge = true
3278
                       isHasUnCharge = true
3281
-                    }else {
3282
-                      if(this.all_table_data[i].his_patient_id > 0){
3283
-                        if(this.all_table_data[i].his_patient_id == this.all_table_data[i].prescription[0].his_patient_id){
3279
+                    } else {
3280
+                      if (this.all_table_data[i].his_patient_id > 0) {
3281
+                        if (this.all_table_data[i].his_patient_id == this.all_table_data[i].prescription[0].his_patient_id) {
3284
                           isHasUnCharge = true
3282
                           isHasUnCharge = true
3285
                         }
3283
                         }
3286
                       }
3284
                       }
3288
                     }
3286
                     }
3289
 
3287
 
3290
                   }
3288
                   }
3291
-                  if(this.all_table_data[i].his_patient_id > 0 && this.all_table_data[i].order_status != 2){
3289
+                  if (this.all_table_data[i].his_patient_id > 0 && this.all_table_data[i].order_status != 2) {
3292
                     isHasUnCharge = true
3290
                     isHasUnCharge = true
3293
 
3291
 
3294
                   }
3292
                   }
3314
                 break
3312
                 break
3315
             }
3313
             }
3316
 
3314
 
3317
-
3318
-
3319
             this.cal_one = one_count
3315
             this.cal_one = one_count
3320
             this.cal_two = two_count
3316
             this.cal_two = two_count
3321
             this.cal_three = one_count + two_count
3317
             this.cal_three = one_count + two_count
3407
 
3403
 
3408
                 if (response.data.data.list[i].his_patient.length > 1) {
3404
                 if (response.data.data.list[i].his_patient.length > 1) {
3409
                   for (let b = 0; b < response.data.data.list[i].his_patient.length; b++) {
3405
                   for (let b = 0; b < response.data.data.list[i].his_patient.length; b++) {
3410
-                    if(response.data.data.list[i].his_patient[b].orders.length  == 0){
3406
+                    if (response.data.data.list[i].his_patient[b].orders.length == 0) {
3411
                       let obj = {
3407
                       let obj = {
3412
                         id: response.data.data.list[i].id,
3408
                         id: response.data.data.list[i].id,
3413
                         name: response.data.data.list[i].name,
3409
                         name: response.data.data.list[i].name,
3414
                         number: response.data.data.list[i].his_patient[b].number,
3410
                         number: response.data.data.list[i].his_patient[b].number,
3415
                         order_status: 1,
3411
                         order_status: 1,
3416
                         his_patient_id: response.data.data.list[i].his_patient[b].id,
3412
                         his_patient_id: response.data.data.list[i].his_patient[b].id,
3417
-                        order_number: "",
3413
+                        order_number: '',
3418
                         order_id: 0,
3414
                         order_id: 0,
3419
                         prescription: response.data.data.list[i].prescription
3415
                         prescription: response.data.data.list[i].prescription
3420
                       }
3416
                       }
3421
                       this.all_table_data.push(obj)
3417
                       this.all_table_data.push(obj)
3422
-                    }else{
3418
+                    } else {
3423
 
3419
 
3424
                       for (let c = 0; c < response.data.data.list[i].his_patient[b].orders.length; c++) {
3420
                       for (let c = 0; c < response.data.data.list[i].his_patient[b].orders.length; c++) {
3425
                         let obj = {
3421
                         let obj = {
3436
                         this.all_table_data.push(obj)
3432
                         this.all_table_data.push(obj)
3437
                       }
3433
                       }
3438
 
3434
 
3439
-
3440
                     }
3435
                     }
3441
 
3436
 
3442
                   }
3437
                   }
3454
               for (let b = 0; b < this.all_table_data[i].prescription.length; b++) {
3449
               for (let b = 0; b < this.all_table_data[i].prescription.length; b++) {
3455
                 if (this.all_table_data[i].order_status != 2) {
3450
                 if (this.all_table_data[i].order_status != 2) {
3456
                   isHasUnCharge = true
3451
                   isHasUnCharge = true
3457
-                }else {
3458
-                  if(this.all_table_data[i].his_patient_id > 0){
3459
-                    if(this.all_table_data[i].his_patient_id == this.all_table_data[i].prescription[0].his_patient_id){
3452
+                } else {
3453
+                  if (this.all_table_data[i].his_patient_id > 0) {
3454
+                    if (this.all_table_data[i].his_patient_id == this.all_table_data[i].prescription[0].his_patient_id) {
3460
                       isHasUnCharge = true
3455
                       isHasUnCharge = true
3461
                     }
3456
                     }
3462
                   }
3457
                   }
3463
 
3458
 
3464
                 }
3459
                 }
3465
               }
3460
               }
3466
-              if(this.all_table_data[i].his_patient_id > 0 && this.all_table_data[i].order_status != 2){
3461
+              if (this.all_table_data[i].his_patient_id > 0 && this.all_table_data[i].order_status != 2) {
3467
                 isHasUnCharge = true
3462
                 isHasUnCharge = true
3468
 
3463
 
3469
               }
3464
               }
3470
 
3465
 
3471
-
3472
-
3473
               if (isHasUnCharge) {
3466
               if (isHasUnCharge) {
3474
                 unChargePatient.push(this.all_table_data[i])
3467
                 unChargePatient.push(this.all_table_data[i])
3475
               }
3468
               }
3476
 
3469
 
3477
             }
3470
             }
3478
 
3471
 
3479
-
3480
-
3481
             unChargePatient = this.unique_four(unChargePatient)
3472
             unChargePatient = this.unique_four(unChargePatient)
3482
 
3473
 
3483
             one_count = one_count + unChargePatient.length
3474
             one_count = one_count + unChargePatient.length
3484
 
3475
 
3485
-
3486
             let ChargePatient = []
3476
             let ChargePatient = []
3487
             for (let i = 0; i < this.all_table_data.length; i++) {
3477
             for (let i = 0; i < this.all_table_data.length; i++) {
3488
               if (this.all_table_data[i].order_status == 2) {
3478
               if (this.all_table_data[i].order_status == 2) {
3506
                   for (let b = 0; b < this.all_table_data[i].prescription.length; b++) {
3496
                   for (let b = 0; b < this.all_table_data[i].prescription.length; b++) {
3507
                     if (this.all_table_data[i].order_status != 2) {
3497
                     if (this.all_table_data[i].order_status != 2) {
3508
                       isHasUnCharge = true
3498
                       isHasUnCharge = true
3509
-                    }else {
3510
-                      if(this.all_table_data[i].his_patient_id > 0){
3511
-                        if(this.all_table_data[i].his_patient_id == this.all_table_data[i].prescription[0].his_patient_id){
3499
+                    } else {
3500
+                      if (this.all_table_data[i].his_patient_id > 0) {
3501
+                        if (this.all_table_data[i].his_patient_id == this.all_table_data[i].prescription[0].his_patient_id) {
3512
                           isHasUnCharge = true
3502
                           isHasUnCharge = true
3513
                         }
3503
                         }
3514
                       }
3504
                       }
3516
                     }
3506
                     }
3517
 
3507
 
3518
                   }
3508
                   }
3519
-                  if(this.all_table_data[i].his_patient_id > 0 && this.all_table_data[i].order_status != 2){
3509
+                  if (this.all_table_data[i].his_patient_id > 0 && this.all_table_data[i].order_status != 2) {
3520
                     isHasUnCharge = true
3510
                     isHasUnCharge = true
3521
 
3511
 
3522
                   }
3512
                   }
3639
 
3629
 
3640
         }
3630
         }
3641
 
3631
 
3642
-
3643
-
3644
         //
3632
         //
3645
         //
3633
         //
3646
         for (let y = 0; y < big_prescriptions.length; y++) {
3634
         for (let y = 0; y < big_prescriptions.length; y++) {
3767
           this.big_month_prescriptions[i]['month_total'] = this.getMonthTotalTwo(this.big_month_prescriptions[i].month_prescriptions[0])
3755
           this.big_month_prescriptions[i]['month_total'] = this.getMonthTotalTwo(this.big_month_prescriptions[i].month_prescriptions[0])
3768
         }
3756
         }
3769
 
3757
 
3770
-
3771
-
3772
       }, getPName(med_type, index) {
3758
       }, getPName(med_type, index) {
3773
         var med_type = parseInt(med_type)
3759
         var med_type = parseInt(med_type)
3774
         switch (med_type) {
3760
         switch (med_type) {
3913
 
3899
 
3914
             if (this.info.id > 0) {
3900
             if (this.info.id > 0) {
3915
 
3901
 
3916
-
3917
               this.form.p_type = response.data.data.info.register_type
3902
               this.form.p_type = response.data.data.info.register_type
3918
               this.form.sick_type = response.data.data.info.sick_type
3903
               this.form.sick_type = response.data.data.info.sick_type
3919
               this.form.diagnosis = response.data.data.info.diagnosis
3904
               this.form.diagnosis = response.data.data.info.diagnosis
4061
 
4046
 
4062
             console.log(this.big_prescriptions)
4047
             console.log(this.big_prescriptions)
4063
 
4048
 
4064
-
4065
-
4066
-
4067
             //
4049
             //
4068
             // if (this.prescriptions.length > 0) {
4050
             // if (this.prescriptions.length > 0) {
4069
             //   this.curPrescriptions = this.prescriptions[0]
4051
             //   this.curPrescriptions = this.prescriptions[0]
4076
             //   this.curMonthPrescriptions = {}
4058
             //   this.curMonthPrescriptions = {}
4077
             // }
4059
             // }
4078
 
4060
 
4079
-
4080
-
4081
-
4082
             // this.month_total = this.getMonthTotalOne()
4061
             // this.month_total = this.getMonthTotalOne()
4083
 
4062
 
4084
           }
4063
           }

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

23
                     <el-form-item label="证件号: " prop="name" label-position="right">
23
                     <el-form-item label="证件号: " prop="name" label-position="right">
24
                         <el-input v-model="patientInfo.id_card_no" placeholder="" readonly></el-input>
24
                         <el-input v-model="patientInfo.id_card_no" placeholder="" readonly></el-input>
25
                     </el-form-item>
25
                     </el-form-item>
26
-                    <el-form-item label="处方类型: " prop="name" label-position="right">
27
-                        <el-select style="width:100%;" v-model="register_type" placeholder="">
28
-                            <el-option
29
-                                    v-for="(item,index) in register"
30
-                                    :key="index"
31
-                                    :label="item.label"
32
-                                    :value="item.value">
33
-                            </el-option>
34
-                        </el-select>
35
-                    </el-form-item>
26
+                    <!--<el-form-item label="处方类型: " prop="name" label-position="right">-->
27
+                        <!--<el-select style="width:100%;" v-model="register_type" placeholder="">-->
28
+                            <!--<el-option-->
29
+                                    <!--v-for="(item,index) in register"-->
30
+                                    <!--:key="index"-->
31
+                                    <!--:label="item.label"-->
32
+                                    <!--:value="item.value">-->
33
+                            <!--</el-option>-->
34
+                        <!--</el-select>-->
35
+                    <!--</el-form-item>-->
36
                     <el-form-item label="疾病类型:" prop="name" label-position="right">
36
                     <el-form-item label="疾病类型:" prop="name" label-position="right">
37
 
37
 
38
                         <el-select  filterable style="width:100%;" v-model="state1" placeholder="">
38
                         <el-select  filterable style="width:100%;" v-model="state1" placeholder="">