Quellcode durchsuchen

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

csx vor 3 Jahren
Ursprung
Commit
f4c7bdf337

+ 4 - 1
src/xt_pages/hospitalStation/components/deskPrescription.vue Datei anzeigen

3031
 
3031
 
3032
           for (let i = 0; i < good_info.length; i++) {
3032
           for (let i = 0; i < good_info.length; i++) {
3033
             good_info[i].stock_count = 0
3033
             good_info[i].stock_count = 0
3034
-            if (good_info[i].good_stock_in.length > 0) {
3034
+            if (good_info[i].good_stock_in&&good_info[i].good_stock_in.length > 0) {
3035
               for (let j = 0; j < good_info[i].good_stock_in.length; j++) {
3035
               for (let j = 0; j < good_info[i].good_stock_in.length; j++) {
3036
                 good_info[i].stock_count += good_info[i].good_stock_in[j].stock_count
3036
                 good_info[i].stock_count += good_info[i].good_stock_in[j].stock_count
3037
               }
3037
               }
3059
 
3059
 
3060
           this.allProject = this.tabProject
3060
           this.allProject = this.tabProject
3061
 
3061
 
3062
+
3063
+
3064
+
3062
         }
3065
         }
3063
       })
3066
       })
3064
 
3067
 

+ 10 - 0
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Datei anzeigen

2186
       if (this.activeName == 'first') {
2186
       if (this.activeName == 'first') {
2187
         this.getPatientList()
2187
         this.getPatientList()
2188
       } else if (this.activeName == 'second') {
2188
       } else if (this.activeName == 'second') {
2189
+
2190
+
2191
+
2192
+
2193
+
2194
+
2195
+
2196
+
2197
+
2198
+
2189
         const params = {
2199
         const params = {
2190
           'record_date': this.record_date,
2200
           'record_date': this.record_date,
2191
           'patient_id': this.patientInfo.id,
2201
           'patient_id': this.patientInfo.id,

+ 1 - 1
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Datei anzeigen

3012
 
3012
 
3013
             for (let i = 0; i < good_info.length; i++) {
3013
             for (let i = 0; i < good_info.length; i++) {
3014
                good_info[i].stock_count = 0
3014
                good_info[i].stock_count = 0
3015
-              if(good_info[i].good_stock_in.length >0 ){
3015
+              if(good_info[i].good_stock_in&&good_info[i].good_stock_in.length >0 ){
3016
                 for(let j=0;j<good_info[i].good_stock_in.length;j++){
3016
                 for(let j=0;j<good_info[i].good_stock_in.length;j++){
3017
                    good_info[i].stock_count += good_info[i].good_stock_in[j].stock_count
3017
                    good_info[i].stock_count += good_info[i].good_stock_in[j].stock_count
3018
                 }
3018
                 }