Selaa lähdekoodia

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

csx 3 vuotta sitten
vanhempi
commit
1a9b141289

+ 5 - 5
src/xt_pages/outpatientCharges/invoicePrint.vue Näytä tiedosto

26
 import printTwo from './invoiceTemplate/printTwo'
26
 import printTwo from './invoiceTemplate/printTwo'
27
 import printThree from './invoiceTemplate/printThree'
27
 import printThree from './invoiceTemplate/printThree'
28
 export default {
28
 export default {
29
-  name: "invoicePrint",
29
+   name: "invoicePrint",
30
   components: {
30
   components: {
31
     printOne,
31
     printOne,
32
     printTwo,
32
     printTwo,
40
       childResponse: {},
40
       childResponse: {},
41
     //   invoiceParams:{},
41
     //   invoiceParams:{},
42
      org_id:''
42
      org_id:''
43
-      
43
+
44
 
44
 
45
     };
45
     };
46
   },
46
   },
76
             style: style,
76
             style: style,
77
             scanStyles: false
77
             scanStyles: false
78
         });
78
         });
79
-      
79
+
80
 
80
 
81
       // if (this.org_template_info.template_id == 1) {
81
       // if (this.org_template_info.template_id == 1) {
82
       //   printJS({
82
       //   printJS({
96
     paramsObj:{//深度监听,可监听到对象、数组的变化
96
     paramsObj:{//深度监听,可监听到对象、数组的变化
97
       handler(val, oldVal){
97
       handler(val, oldVal){
98
         this.invoiceParams = val
98
         this.invoiceParams = val
99
-        
99
+
100
       },
100
       },
101
       deep:true
101
       deep:true
102
     }
102
     }
150
 }
150
 }
151
 .actionBar{
151
 .actionBar{
152
     display: flex;
152
     display: flex;
153
-    justify-content: space-between; 
153
+    justify-content: space-between;
154
     line-height: 24px;
154
     line-height: 24px;
155
     padding:0 10px;
155
     padding:0 10px;
156
 }
156
 }

+ 2 - 1
src/xt_pages/outpatientCharges/invoiceTemplate/printTwo.vue Näytä tiedosto

135
         let params = {
135
         let params = {
136
             order_id: this.paramsObj.order_id,
136
             order_id: this.paramsObj.order_id,
137
             patient_id: this.paramsObj.patient_id,
137
             patient_id: this.paramsObj.patient_id,
138
+            number: this.paramsObj.number,
138
         }
139
         }
139
         this.getInvoice(params)
140
         this.getInvoice(params)
140
         // var data = new Date();
141
         // var data = new Date();
186
             }
187
             }
187
 
188
 
188
             var unit = "仟佰拾亿仟佰拾万仟佰拾元角分", str = "";
189
             var unit = "仟佰拾亿仟佰拾万仟佰拾元角分", str = "";
189
-            n += "00";  
190
+            n += "00";
190
 
191
 
191
             var indexpoint = n.indexOf('.');  // 如果是小数,截取小数点前面的位数
192
             var indexpoint = n.indexOf('.');  // 如果是小数,截取小数点前面的位数
192
 
193
 

+ 6 - 2
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Näytä tiedosto

4772
               })
4772
               })
4773
 
4773
 
4774
             } else {
4774
             } else {
4775
-
4775
+              var ids = []
4776
+              for (let i = 0; i < prescriptions.length; i++) {
4777
+                ids.push(prescriptions[i].id)
4778
+              }
4779
+              var ids_str = ids.join(',')
4776
               var that = this
4780
               var that = this
4777
               let form = {}
4781
               let form = {}
4778
               form['id'] = this.patientInfo.id
4782
               form['id'] = this.patientInfo.id
4780
               form['record_time'] = this.record_date
4784
               form['record_time'] = this.record_date
4781
               form['admin_user_id'] = this.$store.getters.xt_user.user.id
4785
               form['admin_user_id'] = this.$store.getters.xt_user.user.id
4782
               form['org_id'] = this.$store.getters.xt_user.org_id
4786
               form['org_id'] = this.$store.getters.xt_user.org_id
4783
-
4787
+              form['ids'] = ids_str
4784
               form['p_type'] = med_type
4788
               form['p_type'] = med_type
4785
               form['diagnosis'] = this.form.diagnosis.join(',')
4789
               form['diagnosis'] = this.form.diagnosis.join(',')
4786
               form['sick_type'] = this.form.sick_type
4790
               form['sick_type'] = this.form.sick_type

+ 2 - 2
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Näytä tiedosto

2873
                   unit: project[i].project.unit,
2873
                   unit: project[i].project.unit,
2874
                   type: project[i].type
2874
                   type: project[i].type
2875
                 }
2875
                 }
2876
-                if (obj.total == 0 || obj.total == undefined) {
2877
-                  obj.total = 1
2876
+                if (obj.cus_total == 0 || obj.cus_total == undefined) {
2877
+                  obj.cus_total = 1
2878
                 }
2878
                 }
2879
 
2879
 
2880
                 this.teamList.push(obj)
2880
                 this.teamList.push(obj)