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
8cca60e274

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

@@ -17,7 +17,7 @@
17 17
       <printOne v-if="org_id != 10106 && this.paramsObj.balance_accounts_type != 2" :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
       <!--<printThree v-if="org_id == 0 && this.paramsObj.balance_accounts_type == 2" :info="info" :order_infos="order_infos" :p_admin="p_admin" :charge_admin="charge_admin"></printThree>-->
20
-      <print-three v-if="org_id == 0 && this.paramsObj.balance_accounts_type == 2" :info="info" :order_infos="order_infos" :p_admin="p_admin" :charge_admin="charge_admin"></print-three>
20
+      <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>
21 21
     </div>
22 22
   </div>
23 23
 </template>
@@ -58,7 +58,7 @@
58 58
     created() {
59 59
       this.getInfo(this.paramsObj.id)
60 60
       this.org_id = this.$store.getters.xt_user.org_id
61
-      if(this.org_id == 0){
61
+      if(this.org_id == 10106){
62 62
         if(this.paramsObj.balance_accounts_type == 2){
63 63
 
64 64
           this.getInfoPrivateExpenses10106(this.paramsObj.id)

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

@@ -2700,7 +2700,7 @@
2700 2700
                   delivery_way: temp2[b].delivery_way,
2701 2701
                   execution_frequency: temp2[b].execution_frequency,
2702 2702
                   number_days: temp2[b].number_days.toString(),
2703
-                  total: 1,
2703
+                  total:  temp2[b].cus_total,
2704 2704
                   price: temp2[b].price,
2705 2705
                   remark: '',
2706 2706
                   medical_code: temp2[b].medical_code,
@@ -2752,6 +2752,7 @@
2752 2752
                 number_days: project[i].number_days,
2753 2753
                 price: project[i].price,
2754 2754
                 medical_code: project[i].medical_code,
2755
+                cus_total:1,
2755 2756
                 unit: project[i].unit,
2756 2757
                 type: 2,
2757 2758
                 total:project[i].total
@@ -2771,6 +2772,7 @@
2771 2772
                 delivery_way: '',
2772 2773
                 execution_frequency: '',
2773 2774
                 number_days: 1,
2775
+                cus_total:1,
2774 2776
                 price: good_info[i].packing_price,
2775 2777
                 medical_code: good_info[i].medical_insurance_number,
2776 2778
                 unit: this.getGoodUnit(good_info[i].good_unit),
@@ -2864,7 +2866,7 @@
2864 2866
                   delivery_way: project[i].project.delivery_way,
2865 2867
                   execution_frequency: project[i].project.execution_frequency,
2866 2868
                   number_days: project[i].project.number_days,
2867
-                  total: project[i].number,
2869
+                  cus_total:project[i].number,
2868 2870
                   price: project[i].project.price,
2869 2871
                   remark: '',
2870 2872
                   medical_code: project[i].project.medical_code,
@@ -2885,15 +2887,15 @@
2885 2887
                   delivery_way: '',
2886 2888
                   execution_frequency: '',
2887 2889
                   number_days: '',
2888
-                  total: project[i].number,
2890
+                  cus_total: project[i].number,
2889 2891
                   price: project[i].good_info.retail_price,
2890 2892
                   remark: '',
2891 2893
                   medical_code: project[i].good_info.medical_insurance_number,
2892 2894
                   unit: project[i].good_info.unit,
2893 2895
                   type: project[i].type
2894 2896
                 }
2895
-                if (obj.total == 0 || obj.total == undefined) {
2896
-                  obj.total = 1
2897
+                if (obj.cus_total == 0 || obj.cus_total == undefined) {
2898
+                  obj.cus_total = 1
2897 2899
                 }
2898 2900
                 this.teamList.push(obj)
2899 2901