see999 3 anni fa
parent
commit
c634681c8b

+ 8 - 1
src/xt_pages/outpatientCharges/newStatementPrintTwo.vue Vedi File

390
                     })
390
                     })
391
                     that.num = num
391
                     that.num = num
392
                     console.log('this.num222',that.num)
392
                     console.log('this.num222',that.num)
393
-
393
+                    let newTotal = 0
394
+                    for (var i = that.info.transBody.outputlist2.length - 1; i >= 0; i--) {
395
+                      if(that.info.transBody.outputlist2[i].aka111 == '07' || that.info.transBody.outputlist2[i].aka111 == '19') {
396
+                        that.info.transBody.outputlist2.splice(i, 1);
397
+                        newTotal += that.info.transBody.outputlist2[i].bka058
398
+                      }
399
+                    }
400
+                    that.info.transBody.outputlist2.push({aka111:'99',bka058:newTotal})
394
                   }
401
                   }
395
                 }
402
                 }
396
               })
403
               })

+ 3 - 0
src/xt_pages/outpatientCharges/newTreatTemplate/printTwo.vue Vedi File

398
           case '26':
398
           case '26':
399
             return '挂号费'
399
             return '挂号费'
400
             break
400
             break
401
+          case '99':
402
+            return '诊疗费'
403
+            break
401
 
404
 
402
         }
405
         }
403
 
406