see999 3 年前
父节点
当前提交
c634681c8b

+ 8 - 1
src/xt_pages/outpatientCharges/newStatementPrintTwo.vue 查看文件

@@ -390,7 +390,14 @@
390 390
                     })
391 391
                     that.num = num
392 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 查看文件

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