Browse Source

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

csx 2 years ago
parent
commit
17959c5506

+ 6 - 6
src/xt_pages/data/components/consumables.vue View File

@@ -730,13 +730,13 @@
730 730
             this.goodInfo.goodInfoDialog.formValue.packing_price = response.data.data.goodInfo.packing_price
731 731
             this.goodInfo.goodInfoDialog.formValue.default_count_unit = response.data.data.goodInfo.default_count_unit
732 732
             this.goodInfo.goodInfoDialog.formValue.register_number = response.data.data.goodInfo.register_number
733
-            
733
+
734 734
             this.goodInfo.goodInfoDialog.formValue.number = response.data.data.goodInfo.number
735
-           
735
+
736 736
             this.goodInfo.goodInfoDialog.formValue.is_user = response.data.data.goodInfo.is_user.toString()
737 737
 
738 738
             this.goodInfo.goodInfoDialog.formValue.is_warehouse = response.data.data.goodInfo.is_warehouse.toString()
739
-            
739
+
740 740
             this.$refs.addConsumable.show(row.id, this.goodInfo.goodInfoDialog.formValue)
741 741
 
742 742
           }
@@ -1064,7 +1064,7 @@
1064 1064
         this.goodInfo.goodInfoDialog.formValue.agent = '';
1065 1065
         this.goodInfo.goodInfoDialog.formValue.good_number = '';
1066 1066
         this.goodInfo.goodInfoDialog.formValue.register_number = '';
1067
-       
1067
+
1068 1068
 
1069 1069
 
1070 1070
         this.$refs.addConsumable.show(0)
@@ -1565,8 +1565,8 @@
1565 1565
          }
1566 1566
          console.log("hhhadhh233323232",this.goodInfo.goodInfoData)
1567 1567
 
1568
-         const tHeader = ['耗材名称','耗材种类','耗材类型','医保等级','规格型号','生产厂商','单位','零价','库存警戒','经销商','最新进价','医保编码','社保目录编码']
1569
-         const filterVal = ['good_name', 'good_kind_name','good_type_name','medical_insurance_level_name','specification_name','manufacturer_name','packing_unit','packing_price','stock_warn_count','dealer_name','buy_price','medical_insurance_number','social_security_directory_code']
1568
+         const tHeader = ['耗材名称','耗材种类','耗材类型','医保等级','规格型号','生产厂商','单位','零价','库存警戒','经销商','最新进价','医保编码','社保目录编码','批准文号','医保等级']
1569
+         const filterVal = ['good_name', 'good_kind_name','good_type_name','medical_insurance_level_name','specification_name','manufacturer_name','packing_unit','packing_price','stock_warn_count','dealer_name','buy_price','medical_insurance_number','social_security_directory_code','number','medical_insurance_level']
1570 1570
 
1571 1571
          const data = this.formatJson(filterVal,this.goodInfo.goodInfoData)
1572 1572
 

+ 2 - 2
src/xt_pages/data/components/drugs.vue View File

@@ -1546,8 +1546,8 @@
1546 1546
           this.list[i].specification_name = this.list[i].dose + this.list[i].dose_unit + this.list[i].min_number + this.list[i].min_unit + "/"+this.list[i].max_unit
1547 1547
          }
1548 1548
 
1549
-         const tHeader = ['药品名称','药品规格','剂量','剂量单位','拆零','拆零单位','包装单位','药品类型','库存警戒','产地','药品剂型','拆零零售价','包装零售价','进货价','药物分类','默认单次用量','默认单次用量单位','生产厂商','经销商','医保编码','社保目录编码']
1550
-         const filterVal = ['drug_name', 'specification_name','dose','dose_unit','min_number','min_unit','max_unit','drug_category_name','drug_stock_limit','drug_origin_place','drug_dosage_form_name','min_price','retail_price','last_price','drug_classify_name','drug_dose','drug_dose_unit_name','manufacturer_name','dealer_name','medical_insurance_number','social_security_directory_code']
1549
+         const tHeader = ['药品名称','药品规格','剂量','剂量单位','拆零','拆零单位','包装单位','药品类型','库存警戒','产地','药品剂型','拆零零售价','包装零售价','进货价','药物分类','默认单次用量','默认单次用量单位','生产厂商','经销商','医保编码','社保目录编码','批准文号','医保等级']
1550
+         const filterVal = ['drug_name', 'specification_name','dose','dose_unit','min_number','min_unit','max_unit','drug_category_name','drug_stock_limit','drug_origin_place','drug_dosage_form_name','min_price','retail_price','last_price','drug_classify_name','drug_dose','drug_dose_unit_name','manufacturer_name','dealer_name','medical_insurance_number','social_security_directory_code','number','medical_insurance_level']
1551 1551
 
1552 1552
          const data = this.formatJson(filterVal,this.list)
1553 1553
 

+ 4 - 4
src/xt_pages/outpatientCharges/listPrint.vue View File

@@ -17,8 +17,8 @@
17 17
       <printOne v-if="org_id != 10106&&org_id != 10215&&org_id != 10265 && org_id != 0" :list="list" :patient="patient" :order="order" :admin="admin"></printOne>
18 18
       <printTwo v-if="org_id == 10106 && this.paramsObj.balance_accounts_type != 2" :info="info" :order_infos="order_infos" :p_admin="p_admin" :charge_admin="charge_admin"></printTwo>
19 19
       <print-three v-if="org_id == 10106 && this.paramsObj.balance_accounts_type == 2" :info="info" :order_infos="order_infos" :p_admin="p_admin" :charge_admin="charge_admin"></print-three>
20
-      <list-print-two v-if="org_id == 10215" :list="list" :patient="patient" :order="order" :admin="admin"></list-print-two>
21
-      <print-two10265  v-if="org_id == 10265  " :list="list" :patient="patient" :order="order" :admin="admin" :hospital_record="hospital_record"></print-two10265>
20
+      <list-print-two v-if="org_id == 10215 " :list="list" :patient="patient" :order="order" :admin="admin"></list-print-two>
21
+      <print-two10265  v-if="org_id == 10265 || org_id == 0" :list="list" :patient="patient" :order="order" :admin="admin" :hospital_record="hospital_record"></print-two10265>
22 22
     </div>
23 23
   </div>
24 24
 </template>
@@ -59,7 +59,7 @@
59 59
         p_admin:{},
60 60
         charge_admin:{},
61 61
         org_id:'',
62
-        hospital_record:null
62
+        hospital_record:{}
63 63
       }
64 64
     },
65 65
     created() {
@@ -93,7 +93,7 @@
93 93
             this.$message.error(response.data.msg)
94 94
             return false
95 95
           } else {
96
-            if(this.org_id == 10265){
96
+            if(this.org_id == 10265 || this.org_id == 0){
97 97
               this.order = response.data.data.order
98 98
               this.patient = response.data.data.patient
99 99
               this.admin = response.data.data.admin_info

+ 11 - 12
src/xt_pages/outpatientCharges/listTemplate/printTwo10265.vue View File

@@ -14,8 +14,8 @@
14 14
       <div class="listInfo">
15 15
         <div>入院科室:血透</div>
16 16
         <div>出院科室:血透</div>
17
-        <div>入院日期:{{hospital_record.in_hosptial_time}}</div>
18
-        <div>出院日期:{{hospital_record.out_hosptial_time}}</div>
17
+        <div>入院日期:{{hospital_record.in_hosptial_time.split(' ')[0]}}</div>
18
+        <div>出院日期:{{hospital_record.out_hosptial_time.split(' ')[0]}}</div>
19 19
         <div>住院天数:{{getDay(hospital_record.in_hosptial_time.split(' ')[0] ,hospital_record.out_hosptial_time.split(' ')[0])}}</div>
20 20
       </div>
21 21
 
@@ -122,7 +122,6 @@ export default {
122 122
       default: function () {
123 123
         return {};
124 124
       },
125
-
126 125
     },
127 126
     order: {
128 127
       type: Object,
@@ -162,25 +161,25 @@ export default {
162 161
     },
163 162
     getJaiTotal(){
164 163
       var total = 0
165
-      for(let i =0; this.list.length; i++){
166
-        total = total + this.list[i].jiaTotal
164
+      for(let i =0; i < this.list.length; i++){
165
+        total = parseFloat(total) + parseFloat(this.list[i].jiaTotal)
167 166
 
168 167
       }
169
-      return total
168
+      return total.toFixed(2)
170 169
     }, getYiTotal(){
171 170
       var total = 0
172
-      for(let i =0; this.list.length; i++){
173
-        total = total + this.list[i].yiTotal
171
+      for(let i =0; i<  this.list.length; i++){
172
+        total = parseFloat(total) + parseFloat(this.list[i].yiTotal)
174 173
 
175 174
       }
176
-      return total
175
+      return total.toFixed(2)
177 176
     }, getBingTotal(){
178 177
       var total = 0
179
-      for(let i =0; this.list.length; i++){
180
-        total = total + this.list[i].bingTotal
178
+      for(let i =0; i < this.list.length; i++){
179
+        total = parseFloat(total) + parseFloat(this.list[i].bingTotal)
181 180
 
182 181
       }
183
-      return total
182
+      return total.toFixed(2)
184 183
     },
185 184
 
186 185
     getNowTime: function () {

+ 3 - 3
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

@@ -2750,7 +2750,7 @@ export default {
2750 2750
                   } else {
2751 2751
                     that.radio = 1
2752 2752
                     that.changeRadioAndPatient(1)
2753
-                    that.$message({ message: '挂号成功', type: 'success', duration: 5000 })
2753
+                    that.$message({ message: '登记成功', type: 'success', duration: 5000 })
2754 2754
                   }
2755 2755
 
2756 2756
                 }
@@ -4360,7 +4360,7 @@ export default {
4360 4360
                 this.form.diagnosis = []
4361 4361
               } else {
4362 4362
                 for (let i = 0; i < response.data.data.info.diagnosis.split(',').length; i++) {
4363
-                  this.form.diagnosis.push(parseInt(response.data.data.info.diagnosis.split(',')[i]))
4363
+                  this.form.diagnosis.push(response.data.data.info.diagnosis.split(',')[i])
4364 4364
                 }
4365 4365
               }
4366 4366
               this.sick_history = this.info.sick_history
@@ -4378,7 +4378,7 @@ export default {
4378 4378
                 this.form.diagnosis = []
4379 4379
               } else {
4380 4380
                 for (let i = 0; i < response.data.data.last_info.diagnosis.split(',').length; i++) {
4381
-                  this.form.diagnosis.push(parseInt(response.data.data.last_info.diagnosis.split(',')[i]))
4381
+                  this.form.diagnosis.push(response.data.data.last_info.diagnosis.split(',')[i])
4382 4382
                 }
4383 4383
               }
4384 4384