Browse Source

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

XMLWAN 3 years ago
parent
commit
320c21f654

+ 26 - 0
src/xt_pages/dialysis/dialysisPrintOrder.vue View File

@@ -573,6 +573,16 @@
573 573
           >打印</el-button
574 574
         >
575 575
       </template>
576
+      <template v-if="org_template_info.template_id == 42">
577
+        <el-button
578
+          :loading="loading"
579
+          size="small"
580
+          icon="el-icon-printer"
581
+          @click="printThisPage"
582
+          type="primary"
583
+          >打印</el-button
584
+        >
585
+      </template>
576 586
     </div>
577 587
     <div class="app-container" style="min-height:0;">
578 588
       <!--<div class="order-print-btn"-->
@@ -858,6 +868,11 @@
858 868
             v-if="org_template_info.template_id == 41"
859 869
           >
860 870
           </DialysisPrintOrderFortyOne>
871
+          <DialysisPrintOrderFortyTwo
872
+            v-bind:childResponse="childResponse"
873
+            v-if="org_template_info.template_id == 42"
874
+          >
875
+          </DialysisPrintOrderFortyTwo>
861 876
         </div>
862 877
       </el-container>
863 878
     </div>
@@ -918,9 +933,11 @@ import DialysisPrintOrderThirtyEight from "./template/DialysisPrintOrderThirtyEi
918 933
 import DialysisPrintOrderThirtyNine from "./template/DialysisPrintOrderThirtyNine";
919 934
 import DialysisPrintOrderForty from "./template/DialysisPrintOrderForty";
920 935
 import DialysisPrintOrderFortyOne from "./template/DialysisPrintOrderFortyOne";
936
+import DialysisPrintOrderFortyTwo from "./template/DialysisPrintOrderFortyTwo";
921 937
 export default {
922 938
   name: "dialysisPrintOrder",
923 939
   components: {
940
+    DialysisPrintOrderFortyTwo,
924 941
     DialysisPrintOrderFortyOne,
925 942
     DialysisPrintOrderForty,
926 943
     DialysisPrintOrderThirtyNine,
@@ -1141,6 +1158,8 @@ export default {
1141 1158
         '@media print {.dialysis-print-order{width:960px;margin:0 auto;font-size:10px;}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:10px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}.widthLength25{width: 25%;}.lineHeight{line-height: 20px;display: flex;justify-content: space-between;}';
1142 1159
       const style9 =
1143 1160
         '@media print {#dialysis-print-box-1{margin:0 auto;}.dialysis-print-order{width:920px;margin:0 10px;font-size:10px;}.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 940px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 3px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top: 1050px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}.table-box1 {border: 1px solid #000;width: 100%;line-height: 30px;font-size: 14px;border-collapse: collapse;}.table-box1 tr {border-bottom: 1px solid #000;}';
1161
+      const style10 =
1162
+        '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:40px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:40px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;line-height:35px} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
1144 1163
 
1145 1164
       if (this.org_template_info.template_id == 1) {
1146 1165
         printJS({
@@ -1415,6 +1434,13 @@ export default {
1415 1434
           style: style9,
1416 1435
           scanStyles: false
1417 1436
         });
1437
+      } else if (this.org_template_info.template_id == 42) {
1438
+        printJS({
1439
+          printable: "dialysis-print-box",
1440
+          type: "html",
1441
+          style: style10,
1442
+          scanStyles: false
1443
+        });
1418 1444
       }
1419 1445
     },
1420 1446
     printThisOnePage() {

File diff suppressed because it is too large
+ 1714 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFortyTwo.vue


+ 98 - 50
src/xt_pages/outpatientCharges/statementPrint.vue View File

@@ -13,10 +13,10 @@
13 13
       </template>
14 14
 
15 15
       <div class='dialysisPage' style="padding-top:40px;">
16
-        <div v-if="org_id == 9990 || org_id == 10138 || org_id == 9504 || org_id == 10028">
16
+        <div v-if="org_id == 9990 || org_id == 10138 || org_id == 9504 || org_id == 10028 || org_id == 0">
17 17
           <printTwo :info="info" v-if="org_id == 9990"></printTwo>
18 18
           <printThree :info="info" :paramsObj="paramsObj" :balanceAccounts="balanceAccounts" v-if="org_id == 10138"></printThree>
19
-          <printFour v-if="org_id == 9504 || org_id == 10028" :info="info"></printFour>
19
+          <printFour v-if="org_id == 9504 || org_id == 10028 || org_id == 0" :info="info" :paramsObj="paramsObj" :balanceAccounts="balanceAccounts"></printFour>
20 20
         </div>
21 21
         <printOne :info="info" v-else></printOne>
22 22
       </div>
@@ -300,58 +300,106 @@ export default {
300 300
           id: obj.order_id,
301 301
 
302 302
         }
303
-        getPrivateExpenses(params).then(response => {
304
-          if (response.data.state == 0) {
305
-            // this.$message.error(response.data.msg)
306
-
307
-            return false
308
-          } else {
309
-
310
-            this.balanceAccounts = response.data.data
311
-            let arr = []
312
-            let obj = {
313
-              type:1,
314
-              details: [],
315
-              total: 0
316
-            }
317
-            let obj2 = {
318
-              type:2,
319
-              details: [],
320
-              total: 0
321
-            }
322
-            let obj3 = {
323
-              type:3,
324
-              details: [],
325
-              total: 0
326
-            }
327
-            let num = 0
328
-            this.balanceAccounts.order_info.map(item => {
329
-
330
-              if(item.advice_id > 0){
331
-                obj.details.push(item)
332
-                obj.total += (item.pric * item.advice.prescribing_number)
333
-                num++
334
-              }else{
335
-                if(item.project.type == 2){
336
-                  obj2.details.push(item)
337
-                  obj2.total += (item.pric * item.project.count)
303
+        if(this.org_id == 10138){
304
+          getPrivateExpenses(params).then(response => {
305
+            if (response.data.state == 0) {
306
+              // this.$message.error(response.data.msg)
307
+
308
+              return false
309
+            } else {
310
+
311
+              this.balanceAccounts = response.data.data
312
+              let arr = []
313
+              let obj = {
314
+                type:1,
315
+                details: [],
316
+                total: 0
317
+              }
318
+              let obj2 = {
319
+                type:2,
320
+                details: [],
321
+                total: 0
322
+              }
323
+              let obj3 = {
324
+                type:3,
325
+                details: [],
326
+                total: 0
327
+              }
328
+              let num = 0
329
+              this.balanceAccounts.order_info.map(item => {
330
+
331
+                if(item.advice_id > 0){
332
+                  obj.details.push(item)
333
+                  obj.total += (item.pric * item.advice.prescribing_number)
338 334
                   num++
339 335
                 }else{
340
-                  obj3.details.push(item)
341
-                  obj3.total += (item.pric * item.project.count)
342
-                  num++
336
+                  if(item.project.type == 2){
337
+                    obj2.details.push(item)
338
+                    obj2.total += (item.pric * item.project.count)
339
+                    num++
340
+                  }else{
341
+                    obj3.details.push(item)
342
+                    obj3.total += (item.pric * item.project.count)
343
+                    num++
344
+                  }
343 345
                 }
346
+              })
347
+              this.balanceAccounts.new_detail_list = []
348
+              this.balanceAccounts.new_detail_list.push(obj)
349
+              this.balanceAccounts.new_detail_list.push(obj2)
350
+              this.balanceAccounts.new_detail_list.push(obj3)
351
+              console.log(111,this.balanceAccounts)
352
+              this.num = num
353
+              console.log('this.num',this.num)
354
+            }
355
+          })
356
+        }else if(this.org_id == 10028){
357
+          getPrivateExpenses(params).then(response => {
358
+            if (response.data.state == 0) {
359
+              // this.$message.error(response.data.msg)
360
+
361
+              return false
362
+            } else {
363
+
364
+              this.balanceAccounts = response.data.data
365
+              let obj = {
366
+                type:1,
367
+                details: [],
368
+                total: 0
344 369
               }
345
-            })
346
-            this.balanceAccounts.new_detail_list = []
347
-            this.balanceAccounts.new_detail_list.push(obj)
348
-            this.balanceAccounts.new_detail_list.push(obj2)
349
-            this.balanceAccounts.new_detail_list.push(obj3)
350
-            console.log(111,this.balanceAccounts)
351
-            this.num = num
352
-            console.log('this.num',this.num)
353
-          }
354
-        })
370
+              let obj2 = {
371
+                type:2,
372
+                details: [],
373
+                total: 0
374
+              }
375
+              let obj3 = {
376
+                type:3,
377
+                details: [],
378
+                total: 0
379
+              }
380
+              this.balanceAccounts.order_info.map(item => {
381
+
382
+                if(item.advice_id > 0){
383
+                  obj.details.push(item)
384
+                  obj.total += (item.pric * item.advice.prescribing_number)
385
+                }else{
386
+                  if(item.project.type == 2){
387
+                    obj2.details.push(item)
388
+                    obj2.total += (item.pric * item.project.count)
389
+                  }else{
390
+                    obj3.details.push(item)
391
+                    obj3.total += (item.pric * item.project.count)
392
+                  }
393
+                }
394
+              })
395
+              this.balanceAccounts.new_detail_list = []
396
+              this.balanceAccounts.new_detail_list.push(obj)
397
+              this.balanceAccounts.new_detail_list.push(obj2)
398
+              this.balanceAccounts.new_detail_list.push(obj3)
399
+              console.log(111,this.balanceAccounts)
400
+            }
401
+          })
402
+        }
355 403
 
356 404
 
357 405
       }else {

+ 156 - 18
src/xt_pages/outpatientCharges/statementTemplate/printFour.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
     <div>
3
-        <div id='prescription-print' class="prescription-print">
3
+        <div v-if="paramsObj.balance_accounts_type != 2" id='prescription-print' class="prescription-print">
4 4
             <div v-for='(i,pageIndex) in pageArr.length' :key="pageIndex">
5 5
                 <div class="printTitle">血液透析中心医药费收据及收费项目清单</div>
6 6
                 <div class="infoMain">
@@ -133,12 +133,118 @@
133 133
             </div>
134 134
 
135 135
         </div>
136
+        <div v-else id='prescription-print' class="prescription-print">
137
+          <div v-for='(i,pageIndex) in pageArr.length' :key="pageIndex">
138
+              <div class="printTitle">血液透析中心医药费收据及收费项目清单</div>
139
+              <div class="infoMain">
140
+                  <div class="infoP">医院(药店)编号:{{balanceAccounts.org_config.code}}</div>
141
+                  <div class="infoP">名称:{{balanceAccounts.org_config.org_name}}</div>
142
+                  <div class="infoP">医生工号:</div>
143
+                  <div class="infoP">门诊流水号:{{balanceAccounts.his.number ? balanceAccounts.his.number : ''}}</div>
144
+                  <div class="infoP">科别: {{balanceAccounts.order.department_name ? balanceAccounts.order.department_name : ''}}</div>
145
+                  <div class="infoP">处方单据号:{{balanceAccounts.order.number ? balanceAccounts.order.number : ''}}</div>
146
+                  <div class="infoP">姓名:{{balanceAccounts.patient ? balanceAccounts.patient.name : ''}}</div>
147
+                  <div class="infoP">医疗账号:</div>
148
+                  <div class="infoP">医疗类别:自费</div>
149
+              </div>
150
+              <div class="chargeBox">
151
+                  <div style="display:flex;justify-content: space-between;border-bottom:1px solid #000;">
152
+                      <div class="chargeUl" style="width:20%;">
153
+                          <p style="width:50%;border-right:1px solid #000;">费用类型</p>
154
+                          <p style="width:50%;border-right:1px solid #000;">金额</p>
155
+                      </div>
156
+                      <div class="chargeUl" style="width:80%;">
157
+                          <p style="width:40%;border-right:1px solid #000;">明细名称</p>
158
+                          <p style="width:15%;border-right:1px solid #000;">规格</p>
159
+                          <p style="width:15%;border-right:1px solid #000;">数量</p>
160
+                          <p style="width:15%;border-right:1px solid #000;">单价</p>
161
+                          <p style="width:15%;">金额</p>
162
+                      </div>
163
+                  </div>
164
+                  <div style="display:flex;justify-content: space-between;">
165
+                      <div style="width:20%;">
166
+                          <div class="chargeUl" v-for="(item,i) in balanceAccounts.new_detail_list" :key="i">
167
+                              <p style="width:50%;">
168
+                                <span v-if="item.type == 1">药品费</span>
169
+                                <span v-if="item.type == 2">治疗费</span>
170
+                                <span v-if="item.type == 3">耗材费</span>
171
+                              </p>
172
+                              <p style="width:50%;">{{item.total?item.total:0}}元</p>
173
+                          </div>
174
+                          <div class="chargeUl" style="border-top:1px solid #000;">
175
+                              <p style="width:50%;">费用合计</p>
176
+                              <p style="width:50%;">{{balanceAccounts.order.medfee_sumamt?balanceAccounts.order.medfee_sumamt:0}}元</p>
177
+                          </div>
178
+                          <div class="chargeUl" style="border-top:1px solid #000;">
179
+                              <p style="width:50%;">记账支付</p>
180
+                              <p style="width:50%;">0元</p>
181
+                          </div>
182
+                          <div class="chargeUl" style="border-top:1px solid #000;">
183
+                              <p style="width:50%;">个人账号</p>
184
+                              <p style="width:50%;">0元</p>
185
+                          </div>
186
+                          <div class="chargeUl" style="border-top:1px solid #000;border-bottom:1px solid #000;">
187
+                              <p style="width:50%;">现金支付</p>
188
+                              <p style="width:50%;">{{balanceAccounts.order.medfee_sumamt?balanceAccounts.order.medfee_sumamt:0}}元</p>
189
+                          </div>
190
+                      </div>
191
+                      <div style="width:80%;max-height:500px;">
192
+                          <div style="display:flex;" v-for="(item,i) in balanceAccounts.order_info.slice(pageIndex * 13,(pageIndex * 13) + pageArr[pageIndex])" :key="i">
193
+                              <div style="border-left:1px solid #000;border-right:1px solid #000;width:40%;text-align:center;">
194
+                                  <p class="chargeP">
195
+                                      <span v-if='item.advice_id > 0'>{{item.advice.advice_name}}</span>
196
+                                      <span v-if='item.project.type == 2'>{{item.project.project.project_name}}</span>
197
+                                      <span v-if='item.project.type == 3'>{{item.project.good_info.specification_name}}</span>
198
+                                  </p>
199
+                              </div>
200
+                              <div style="border-right:1px solid #000;width:15%;text-align:center;">
201
+                                  <p class="chargeP">
202
+                                      <span v-if='item.advice_id > 0'>{{item.advice.drug.drug_spec}}</span>
203
+                                      <span v-if='item.project.type == 2'>{{item.project.project.unit}}</span>
204
+                                      <span v-if='item.project.type == 3'>{{item.project.unit}}</span>
205
+                                  </p>
206
+                              </div>
207
+                              <div style="border-right:1px solid #000;width:15%;text-align:center;">
208
+                                  <p class="chargeP">
209
+                                      <span>{{item.cnt}}次</span>
210
+                                  </p>
211
+                              </div>
212
+                              <div style="border-right:1px solid #000;width:15%;text-align:center;">
213
+                                  <p class="chargeP">
214
+                                      <span>{{item.pric}}元</span>
215
+                                  </p>
216
+                              </div>
217
+                              <div style="width:15%;text-align:center;">
218
+                                  <p class="chargeP">
219
+                                      <span>{{item.cnt * item.pric}}元</span>
220
+                                  </p>
221
+                              </div>
222
+                          </div>
223
+                      </div>
224
+                  </div>
225
+
226
+              </div>
227
+              <div class="moneyBox">
228
+                  <p>实收金:{{balanceAccounts.order.medfee_sumamt?balanceAccounts.order.medfee_sumamt:0}}元</p>
229
+                  <p>记账前金额:{{0.00}}元</p>
230
+                  <p>扣款金额:{{0.00}}元</p>
231
+                  <p>记账后金额:{{0.00}}元</p>
232
+                  <p>找赎金:{{0.00}}元</p>
233
+              </div>
234
+              <div class="actionBar">
235
+                  <div>收费员:{{balanceAccounts.current_admin.user_name}}</div>
236
+                  <div>日期:{{getTime(new Date(),"{y}-{m}-{d}")?getTime(new Date(),"{y}-{m}-{d}"):""}}</div>
237
+              </div>
238
+          </div>
239
+
240
+        </div>
136 241
     </div>
137 242
 
138 243
 </template>
139 244
 <script>
140 245
   import axios from 'axios'
141 246
   import { getChargePrint } from '@/api/project/project'
247
+  import { uParseTime } from '@/utils/tools'
142 248
 
143 249
   export default {
144 250
     data() {
@@ -166,7 +272,9 @@
166 272
       }
167 273
     },
168 274
     props: {
169
-      info: Object
275
+      paramsObj: Object,
276
+      info: Object,
277
+      balanceAccounts:Object
170 278
     },
171 279
     methods: {
172 280
       getItemName(number) {
@@ -278,22 +386,48 @@
278 386
 
279 387
       },
280 388
       getPage(){
281
-        this.page = 1
282
-        this.pageArr = []
283
-        if(this.info.order_infos.length <= 13){
284
-            this.page = 1
285
-            this.pageArr.push(this.info.order_infos.length)
286
-            console.log('this.pageArr',this.pageArr)
287
-        }else if(this.info.order_infos.length > 13){
288
-            this.page = parseInt(this.info.order_infos.length / 13)
289
-            let num = this.info.order_infos.length % 13
290
-            for (var i=0;i<this.page;i++){
291
-                this.pageArr.push(13)
292
-            }
293
-            if(num != 0){
294
-                this.pageArr.push(num)
295
-            }
389
+        if(this.paramsObj.balance_accounts_type != 2){
390
+          this.page = 1
391
+          this.pageArr = []
392
+          if(this.info.order_infos.length <= 13){
393
+              this.page = 1
394
+              this.pageArr.push(this.info.order_infos.length)
395
+              console.log('this.pageArr',this.pageArr)
396
+          }else if(this.info.order_infos.length > 13){
397
+              this.page = parseInt(this.info.order_infos.length / 13)
398
+              let num = this.info.order_infos.length % 13
399
+              for (var i=0;i<this.page;i++){
400
+                  this.pageArr.push(13)
401
+              }
402
+              if(num != 0){
403
+                  this.pageArr.push(num)
404
+              }
405
+          }
406
+        }else{
407
+          this.page = 1
408
+          this.pageArr = []
409
+          if(this.balanceAccounts.order_info.length <= 13){
410
+              this.page = 1
411
+              this.pageArr.push(this.balanceAccounts.order_info.length)
412
+              console.log('this.pageArr',this.pageArr)
413
+          }else if(this.balanceAccounts.order_info.length > 13){
414
+              this.page = parseInt(this.balanceAccounts.order_info.length / 13)
415
+              let num = this.balanceAccounts.order_info.length % 13
416
+              for (var i=0;i<this.page;i++){
417
+                  this.pageArr.push(13)
418
+              }
419
+              if(num != 0){
420
+                  this.pageArr.push(num)
421
+              }
422
+          }
423
+        }
424
+        
425
+      },
426
+      getTime(value, temp) {
427
+        if (value != undefined) {
428
+          return uParseTime(value, temp)
296 429
         }
430
+        return ''
297 431
       }
298 432
     },
299 433
     created() {
@@ -306,7 +440,11 @@
306 440
             this.getPage()
307 441
         },
308 442
         deep: true,
309
-      }
443
+      },
444
+      balanceAccounts(){
445
+        this.getPage()
446
+      },
447
+      deep: true
310 448
     }
311 449
 
312 450
   }