Explorar el Código

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

csx hace 3 años
padre
commit
8cca60e274

+ 2 - 2
src/xt_pages/outpatientCharges/listPrint.vue Ver fichero

17
       <printOne v-if="org_id != 10106 && this.paramsObj.balance_accounts_type != 2" :list="list" :patient="patient" :order="order" :admin="admin"></printOne>
17
       <printOne v-if="org_id != 10106 && this.paramsObj.balance_accounts_type != 2" :list="list" :patient="patient" :order="order" :admin="admin"></printOne>
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>
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
       <!--<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>-->
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
     </div>
21
     </div>
22
   </div>
22
   </div>
23
 </template>
23
 </template>
58
     created() {
58
     created() {
59
       this.getInfo(this.paramsObj.id)
59
       this.getInfo(this.paramsObj.id)
60
       this.org_id = this.$store.getters.xt_user.org_id
60
       this.org_id = this.$store.getters.xt_user.org_id
61
-      if(this.org_id == 0){
61
+      if(this.org_id == 10106){
62
         if(this.paramsObj.balance_accounts_type == 2){
62
         if(this.paramsObj.balance_accounts_type == 2){
63
 
63
 
64
           this.getInfoPrivateExpenses10106(this.paramsObj.id)
64
           this.getInfoPrivateExpenses10106(this.paramsObj.id)

+ 7 - 5
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Ver fichero

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