Browse Source

修改打印单分页样式

张保健 6 years ago
parent
commit
db124ee00c
1 changed files with 5 additions and 5 deletions
  1. 5 5
      src/xt_pages/dialysis/template/dialysisPrintOrderTwo.vue

+ 5 - 5
src/xt_pages/dialysis/template/dialysisPrintOrderTwo.vue View File

1286
               }
1286
               }
1287
          
1287
          
1288
               var templength = 0
1288
               var templength = 0
1289
-              if (this.doctor_advices.length > 14) {
1290
-                  templength = 14
1289
+              if (this.doctor_advices.length > 13) {
1290
+                  templength = 13
1291
               } else {
1291
               } else {
1292
                 templength = this.doctor_advices.length
1292
                 templength = this.doctor_advices.length
1293
               }
1293
               }
1331
                 if (group.group_no == advice.groupno) {
1331
                 if (group.group_no == advice.groupno) {
1332
                   group.advices.push(advice)
1332
                   group.advices.push(advice)
1333
                 }
1333
                 }
1334
-                if(index == 13 ) {
1334
+                if(index == 12 ) {
1335
                   this.advice_groups.push(group)
1335
                   this.advice_groups.push(group)
1336
                   group = this.newAdviceGroupObject()
1336
                   group = this.newAdviceGroupObject()
1337
                 }
1337
                 }
1338
               }
1338
               }
1339
             
1339
             
1340
-              if(this.doctor_advices.length > 14){
1341
-                for (let index = 14; index < this.doctor_advices.length; index++) {
1340
+              if(this.doctor_advices.length > 13){
1341
+                for (let index = 13; index < this.doctor_advices.length; index++) {
1342
                   const advice = this.doctor_advices[index]
1342
                   const advice = this.doctor_advices[index]
1343
                   if (advice.groupno == 0) {
1343
                   if (advice.groupno == 0) {
1344
                     // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组
1344
                     // 老版本的医嘱没有分组的概念,所以这一个 if 是解决这个问题的,将每个无分组的医嘱各自归为一组