Browse Source

新分支

28169 1 year ago
parent
commit
5d172bc6d7

+ 24 - 25
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue View File

@@ -900,7 +900,7 @@
900 900
                       style="padding: 2px 0; line-height: 23px; display: flex"
901 901
                     >
902 902
                       <div class="inline_block" style="flex: 1"
903
-                        v-if="org_id!=10440 && org_id!=0 && org_id!=10469 && org_id!=10490 && org_id!=10478 && org_id!=10495">
903
+                        v-if="org_id!=10440 && org_id!=0  && org_id!=10469 && org_id!=10490 && org_id!=10478 && org_id!=10495">
904 904
                         上次透后体重:
905 905
                         <div
906 906
                           class="under_line"
@@ -926,7 +926,7 @@
926 926
                       </div>
927 927
 
928 928
                       <div class="inline_block" style="flex: 1"
929
-                        v-if="org_id==10440 && org_id ==0 || org_id==10469 || org_id==10490 || org_id==10478  || org_id==10495">
929
+                        v-if="org_id==10440 ||  org_id ==0 || org_id==10469 || org_id==10490 || org_id==10478  || org_id==10495">
930 930
                         上次透后体重:
931 931
                         <div
932 932
                           class="under_line"
@@ -959,7 +959,7 @@
959 959
                         </div>
960 960
                         kg
961 961
                       </div>
962
-                      <div class="inline_block" style="flex: 1" v-if="org_id!=0 && org_id!=10469">
962
+                      <div class="inline_block" style="flex: 1" v-if=" org_id!=10469">
963 963
                         计划超滤量:
964 964
                         <div
965 965
                           class="under_line"
@@ -976,7 +976,7 @@
976 976
                          <span v-if="org_id!=10395&&org_id!=9829 && org_id!=10440 && org_id!=10469  && org_id!=10471">L</span>
977 977
                       </div>
978 978
 
979
-                      <div class="inline_block" style="flex: 1" v-if="org_id==0 || org_id == 10469">
979
+                      <div class="inline_block" style="flex: 1" v-if="org_id == 10469">
980 980
                         处方脱水量:
981 981
                         <div
982 982
                           class="under_line"
@@ -1258,7 +1258,7 @@
1258 1258
                       </div>
1259 1259
                     </div>
1260 1260
 
1261
-                    <div class="row" style="padding: 2px 0; line-height: 23px" v-if="org_id ==0 ||org_id == 3877 || org_id == 10449">
1261
+                    <div class="row" style="padding: 2px 0; line-height: 23px" v-if="org_id == 3877 || org_id == 10449">
1262 1262
                       <div class="inline_block">
1263 1263
                         置换速度:
1264 1264
                         <div
@@ -1336,7 +1336,7 @@
1336 1336
                           <td width="50">脉搏<br />(次/分)</td>
1337 1337
                           <td width="50">呼吸<br />(次/分)</td>
1338 1338
                           <td width="50">血流量<br />(ml/min)</td>
1339
-                          <td width="50" v-if="org_id == 10478 || org_id == 0">动脉压<br />(mmHg)</td>
1339
+                          <td width="50" v-if="org_id == 10478">动脉压<br />(mmHg)</td>
1340 1340
                           <td width="50">静脉压<br />(mmHg)</td>
1341 1341
                           <td width="50">跨膜压<br />(mmHg)</td>
1342 1342
                           <td width="60" v-if="org_id != 9836">
@@ -1349,7 +1349,6 @@
1349 1349
                               org_id != 9538 &&
1350 1350
                               org_id != 10121 &&
1351 1351
                               org_id != 9675 &&
1352
-                              org_id != 0 &&
1353 1352
                               org_id!=10490
1354 1353
                             "
1355 1354
                           >
@@ -1374,19 +1373,19 @@
1374 1373
                           <td
1375 1374
                             width="50"
1376 1375
                             v-if="
1377
-                              org_id ==  10490 || org_id == 0
1376
+                              org_id ==  10490
1378 1377
                             "
1379 1378
                           >
1380 1379
                           置换液的速度<br />(ml/h)
1381 1380
                           </td>
1382
-                          <td width="50" v-if="org_id == 0 || org_id == 10375">置换率<br />(ml/h)</td>
1381
+                          <td width="50" v-if="org_id == 10375">置换率<br />(ml/h)</td>
1383 1382
                           <td width="50" v-if="org_id != 3877 && org_id != 10449">超滤量<br />(ml)</td>
1384 1383
                           <td width="50" v-if="org_id ==3877 || org_id ==10449">累计超滤量<br />(ml)</td>
1385 1384
                           <td
1386 1385
                             v-if="
1387 1386
                              (record.prescription.mode_id == 2 ||
1388 1387
                               record.prescription.mode_id == 5 ||
1389
-                              record.prescription.mode_id == 12) && org_id!=0&&org_id!=10478
1388
+                              record.prescription.mode_id == 12 || org_id == 0)&&org_id!=10478
1390 1389
                             "
1391 1390
                             width="50"
1392 1391
                           >
@@ -1416,7 +1415,7 @@
1416 1415
                           <td
1417 1416
                             width="50"
1418 1417
                             v-if="
1419
-                              org_id == 10490 || org_id == 0
1418
+                              org_id == 10490
1420 1419
                             "
1421 1420
                           >
1422 1421
                           碳酸氢钠<br />(ml)
@@ -1467,7 +1466,7 @@
1467 1466
                                 : ""
1468 1467
                             }}
1469 1468
                           </td>
1470
-                          <td v-if="org_id==0 || org_id == 10478">
1469
+                          <td v-if="org_id == 10478">
1471 1470
                             {{
1472 1471
                               monitor_record.arterial_pressure
1473 1472
                                 ? monitor_record.arterial_pressure
@@ -1509,7 +1508,7 @@
1509 1508
                               org_id != 9538 &&
1510 1509
                               org_id != 10121 &&
1511 1510
                               org_id != 9675 && 
1512
-                              org_id!=0 && org_id!=10490
1511
+                              org_id!=10490
1513 1512
                              
1514 1513
                             "
1515 1514
                           >
@@ -1546,7 +1545,7 @@
1546 1545
 
1547 1546
                           <td
1548 1547
                             v-if="
1549
-                              org_id == 10490 || org_id == 0 
1548
+                              org_id == 10490
1550 1549
                             "
1551 1550
                           >
1552 1551
                             {{
@@ -1563,7 +1562,7 @@
1563 1562
                                 : ""
1564 1563
                             }}
1565 1564
                           </td>
1566
-                          <td width="50" v-if="org_id == 0 || org_id == 10375"><br />
1565
+                          <td width="50" v-if="org_id == 10375"><br />
1567 1566
                             {{ monitor_record.replacement_rate?monitor_record.replacement_rate:"0" }}
1568 1567
                           </td>
1569 1568
                           <td>
@@ -1587,8 +1586,8 @@
1587 1586
                             v-if="
1588 1587
                               (record.prescription.mode_id == 2 ||
1589 1588
                               record.prescription.mode_id == 5 ||
1590
-                              record.prescription.mode_id == 12)
1591
-                              && org_id!=0&&org_id!=10478
1589
+                              record.prescription.mode_id == 12 || org_id == 0)
1590
+                              && org_id!=10478
1592 1591
                             "
1593 1592
                             style="width: 50px"
1594 1593
                           >
@@ -1627,7 +1626,7 @@
1627 1626
                           <td
1628 1627
                             width="50"
1629 1628
                             v-if="
1630
-                              org_id == 10490 || org_id == 0
1629
+                              org_id == 10490
1631 1630
                             "
1632 1631
                           >
1633 1632
                            {{ monitor_record.dicarbonate  }}<br />
@@ -1769,7 +1768,7 @@
1769 1768
                             执行人签名
1770 1769
                           </td>
1771 1770
                           <td style="font-size: 16px" width="10%">时间</td>
1772
-                           <td style="font-size: 16px" width="10%" v-if="org_id == 10375 || org_id ==0">核对护士</td>
1771
+                           <td style="font-size: 16px" width="10%" v-if="org_id == 10375">核对护士</td>
1773 1772
                         </tr>
1774 1773
                         <!-- <template v-for="group in doctor_advices" > -->
1775 1774
 
@@ -1799,8 +1798,8 @@
1799 1798
                                   advice[0].advice_desc != undefined
1800 1799
                                 "
1801 1800
                               >
1802
-                                ({{ advice[0].advice_desc
1803
-                                }}{{ advice[0].drug_spec_unit }} )
1801
+                                <!-- ({{ advice[0].advice_desc
1802
+                                }}{{ advice[0].drug_spec_unit }} ) -->
1804 1803
                               </span>
1805 1804
 
1806 1805
                               <span v-if="advice[0].prescribing_number"
@@ -1877,7 +1876,7 @@
1877 1876
                                 getTime(advice[0].execution_time, " {h}:{i}")
1878 1877
                               }}</span>
1879 1878
                             </td>
1880
-                            <td height="35px" v-if="org_id == 10375 || org_id == 0">
1879
+                            <td height="35px" v-if="org_id == 10375">
1881 1880
                               <span
1882 1881
                                 v-if="
1883 1882
                                   setAdminUserES(
@@ -2571,7 +2570,7 @@
2571 2570
                     <div
2572 2571
                       class="row"
2573 2572
                       style="padding: 2px 0; line-height: 23px; display: flex"
2574
-                      v-if="org_id == 10223 || org_id == 0 || org_id ==9538"
2573
+                      v-if="org_id == 10223 || org_id ==9538 || org_id ==0"
2575 2574
                     >
2576 2575
                       <div class="inline_block" style="flex: 1">
2577 2576
                         穿刺处血肿:
@@ -3293,9 +3292,9 @@ export default {
3293 3292
             var delghTwo = 0;
3294 3293
             if (
3295 3294
               this.records[recordIndex].advices &&
3296
-              this.records[recordIndex].advices.length < 12
3295
+              this.records[recordIndex].advices.length < 20
3297 3296
             ) {
3298
-              delghTwo = 12 - this.records[recordIndex].advices.length;
3297
+              delghTwo = 20 - this.records[recordIndex].advices.length;
3299 3298
             } else {
3300 3299
               delghTwo = 0;
3301 3300
             }

+ 189 - 190
src/xt_pages/outpatientCharges/invoiceTemplate/printSix.vue View File

@@ -1,246 +1,245 @@
1 1
 
2 2
 <template>
3
-  
4
-  <div id='invoice-print'>
5
-    <div v-for='(i,index) in pageArr.length' :key="index" style="position: relative;">
6
-      <div :style="{position: 'absolute',top:(38 + (index * 380))  + 'px',left:152+ 'px',}">盐城大丰悦达金骆驼血液透析中心</div>
7
-      <div :style="{position: 'absolute',top:(76 + (index * 380))  + 'px',left:117+ 'px',}">{{ list.order_number }}</div>
8
-      <div style="display:flex;justify-content: space-between;">
9
-        <div :style="{position: 'absolute',top:(95 + (index * 380))  + 'px',left:92+ 'px',}">{{ paramsObj.name }}</div>
3
+  <div id='invoice-print' >
4
+    <div v-for='(i,index) in pageArr.length' :key="index" :style="{'position':index == pageArr.length - 1 ? 'relative' : 'static'}">
5
+      <div :style="{position: 'absolute',top:(0 + (index * 420))  + 'px',left:152+ 'px',}">盐城大丰悦达金骆驼血液透析中心</div>
6
+      <div :style="{position: 'absolute',top:(18 + (index * 420))  + 'px',left:117+ 'px',}">{{ list.order_number }}</div>
7
+      <div >
8
+          <div :style="{position: 'absolute',top:(38 + (index * 420))  + 'px',left:92+ 'px',}">{{ paramsObj.name }}</div>
10 9
       </div>
11
-      <div :style="{position: 'absolute',top:(140 + (index * 380))  + 'px',left:76+ 'px',}">
12
-        <div v-if="list.westernMedicineCostTotal">西药 {{ list.westernMedicineCostTotal }}</div>
13
-        <div v-if="list.treatCostTotal">治疗费 {{ list.treatCostTotal }}</div>
14
-        <div v-if="list.bedCostTotal">床位费 {{ list.bedCostTotal }}</div>
15
-        <div v-if="list.chineseTraditionalMedicineCostTotal">中成药 {{ list.chineseTraditionalMedicineCostTotal }}</div>
16
-        <div v-if="list.laboratoryCostTotal">化验费 {{ list.laboratoryCostTotal }}</div>
17
-        <div v-if="list.operationCostTotal">手术费 {{ list.operationCostTotal }}</div>
18
-        <div v-if="list.otherCostTotal">其他费 {{ list.otherCostTotal }}</div>
19
-        <div v-if="list.materialCostTotal">材料费 {{ list.materialCostTotal }}</div>
10
+      <div :style="{position: 'absolute',top:(95 + (index * 420))  + 'px',left:76+ 'px',}">
11
+          <div v-if="list.westernMedicineCostTotal">西药 {{ list.westernMedicineCostTotal }}</div>
12
+          <div v-if="list.treatCostTotal">治疗费 {{ list.treatCostTotal }}</div>
13
+          <div v-if="list.bedCostTotal">床位费 {{ list.bedCostTotal }}</div>
14
+          <div v-if="list.chineseTraditionalMedicineCostTotal">中成药 {{ list.chineseTraditionalMedicineCostTotal }}</div>
15
+          <div v-if="list.laboratoryCostTotal">化验费 {{ list.laboratoryCostTotal }}</div>
16
+          <div v-if="list.operationCostTotal">手术费 {{ list.operationCostTotal }}</div>
17
+          <div v-if="list.otherCostTotal">其他费 {{ list.otherCostTotal }}</div>
18
+          <div v-if="list.materialCostTotal">材料费 {{ list.materialCostTotal }}</div>
20 19
       </div>
21
-      <div :style="{position: 'absolute',top:(140 + (index * 380))  + 'px',left:247+ 'px'}">
22
-        <div v-for="item in list.order_info.slice(index * 10,(index * 10) + pageArr[index])">
23
-                    <span style="display:inline-block;width:300px;">
24
-                        <span v-if="item.advice.id == 0">
25
-                            <span v-if="item.project.type == 2"> {{ item.project.project.project_name }}</span>
26
-                            <span v-if="item.project.type == 3">{{ item.project.good_info.good_name }}</span>
27
-                        </span>
28
-                        <span v-else>{{ item.advice.advice_name }}</span>
29
-                    </span>
30
-          <span style="display:inline-block;width:50px;">
31
-              <span v-if="item.advice.id == 0">
32
-                  <span v-if="item.project.type == 2">{{ item.project.count }}{{ item.project.unit }}</span>
33
-                  <span v-if="item.project.type == 3">{{ item.project.count }}{{ item.project.unit }}</span>
20
+      <div :style="{position: 'absolute',top:(95 + (index * 420))  + 'px',left:247+ 'px'}">
21
+          <div v-for="item in list.order_info.slice(index * 10,(index * 10) + pageArr[index])">
22
+              <span style="display:inline-block;width:200px;">
23
+                  <span v-if="item.advice.id == 0">
24
+                      <span v-if="item.project.type == 2"> {{ item.project.project.project_name }}</span>
25
+                      <span v-if="item.project.type == 3">{{ item.project.good_info.good_name }}</span>
26
+                  </span>
27
+                  <span v-else>{{ item.advice.advice_name }}</span>
34 28
               </span>
35
-              <span v-else>{{ item.advice.prescribing_number }}{{ item.advice.prescribing_number_unit }}</span>
36
-          </span>
37
-          <span>
38
-              <span v-if="item.advice.id == 0">
39
-                  <span v-if="item.project.type == 2">{{ (item.project.count * item.pric).toFixed(2) }}</span>
40
-                  <span v-if="item.project.type == 3">{{ (item.project.count * item.pric).toFixed(2) }}</span>
29
+              <span style="display:inline-block;width:50px;">
30
+                  <span v-if="item.advice.id == 0">
31
+                      <span v-if="item.project.type == 2">{{ item.project.count }}{{ item.project.unit }}</span>
32
+                      <span v-if="item.project.type == 3">{{ item.project.count }}{{ item.project.unit }}</span>
33
+                  </span>
34
+                  <span v-else>{{ item.advice.prescribing_number }}{{ item.advice.prescribing_number_unit }}</span>
41 35
               </span>
42
-              <span v-else>{{ (item.advice.prescribing_number * item.pric).toFixed(2) }}</span>
43
-          </span>
44
-        </div>
36
+              <span>
37
+                  <span v-if="item.advice.id == 0">
38
+                      <span v-if="item.project.type == 2">{{ (item.project.count * item.pric).toFixed(2) }}</span>
39
+                      <span v-if="item.project.type == 3">{{ (item.project.count * item.pric).toFixed(2) }}</span>
40
+                  </span>
41
+                  <span v-else>{{ (item.advice.prescribing_number * item.pric).toFixed(2) }}</span>
42
+              </span>
43
+          </div>
45 44
       </div>
46
-      <div :style="{position: 'absolute',top:(285 + (index * 380))  + 'px',left:121+ 'px'}">{{ zhongwen }}</div>
47
-      <div :style="{position: 'absolute',top:(285 + (index * 380))  + 'px',left:391+ 'px'}">{{ list.medfee_sumamt }}</div>
48
-      <div v-if="index == pageArr.length - 1" :style="{position: 'absolute',top:(304 + (index * 380))  + 'px',left:125+ 'px',width:100 + '%',fontSize:12+'px'}">
49
-        <div style="display:flex;">
50
-          <div style="width:140px">医疗总费用:{{ list.order.medfee_sumamt }}</div>
51
-          <div style="width:140px">基金支付总额:{{ list.order.fund_pay_sumamt }}</div>
52
-          <div style="width:140px">统筹支出:{{ list.order.hifp_pay }}</div>
53
-          <div style="width:140px">大病支出:{{list.order.hifmi_pay}}</div>
54
-          <div style="width:140px">个人账户支付:{{ list.order.acct_pay }}</div>
55
-          <div style="width:140px">现金支出:{{ list.order.psn_cash_pay }}</div>
56
-          <div style="width:220px">医疗救助基金支出:{{ list.order.maf_pay }}</div>
45
+      <div :style="{position: 'absolute',top:(305 + (index * 420))  + 'px',left:121+ 'px'}">{{ zhongwen }}</div>
46
+      <div :style="{position: 'absolute',top:(305 + (index * 420))  + 'px',left:490+ 'px'}">{{ list.medfee_sumamt }}</div>
47
+      <div v-if="index == pageArr.length - 1" :style="{position: 'absolute',top:(350 + (index * 420))  + 'px',left:110+ 'px',width:100 + '%',fontSize:12+'px'}">
48
+          <div style="display:flex;">
49
+            <div style="width:140px">医疗总费用:{{ list.order.medfee_sumamt }}</div>
50
+            <div style="width:140px">基金支付总额:{{ list.order.fund_pay_sumamt }}</div>
51
+            <div style="width:140px">统筹支出:{{ list.order.hifp_pay }}</div>
52
+            <div style="width:140px">大病支出:{{list.order.hifmi_pay}}</div>
57 53
 
58
-        </div>
54
+          </div>
55
+          <div style="display:flex;">
56
+            <div style="width:140px">个人账户支付:{{ list.order.acct_pay }}</div>
57
+            <div style="width:140px">现金支出:{{ list.order.psn_cash_pay }}</div>
58
+            <div style="width:140px">本次账户:0</div>
59
+            <div style="width:140px">上次账户:0</div>
60
+          </div>
59 61
         <div style="display:flex;">
60
-          <div style="width:140px">本次账户:0</div>
61
-          <div style="width:140px">上次账户:0</div>
62 62
           <div style="width:140px">账户余额:{{ list.order.balc }}</div>
63 63
           <div style="width:140px">其他支出:{{ list.order.oth_pay }}</div>
64 64
           <div style="width:140px">大病补充保险支出:0</div>
65 65
           <div style="width:140px">民政支出:0</div>
66
+        </div>
67
+        <div style="display:flex;">
68
+          <div style="width:220px">医疗救助基金支出:{{ list.order.maf_pay }}</div>
66 69
           <div style="width:280px">企业补充医疗保险基金支出:{{ list.order.hifes_pay }}</div>
67 70
         </div>
68 71
 
69 72
       </div>
70 73
       <div v-if="index != pageArr.length - 1">
71
-        <div :style="{position: 'absolute',top:(361 + (index * 380))  + 'px',left:140+ 'px'}">盐城大丰悦达金骆驼血液透析中心</div>
72
-        <div :style="{position: 'absolute',top:(361 + (index * 380))  + 'px',left:374+ 'px'}">{{ paramsObj.chargeName }}</div>
73
-        <div :style="{position: 'absolute',top:(361 + (index * 380))  + 'px',left:435+ 'px'}">
74
-          <span>{{  paramsObj.setl_time ? paramsObj.setl_time.split(' ')[0].slice(0,4) : getTime(list.date, '{y}-{m}-{d}').slice(0,4) }}</span>
75
-        </div>
76
-        <div :style="{position: 'absolute',top:(361 + (index * 380))  + 'px',left:479+ 'px'}">
77
-          <span>{{ paramsObj.setl_time ? parseInt(paramsObj.setl_time.split(' ')[0].slice(5,7)) : getTime(list.date, '{y}-{m}-{d}').slice(5,7) }}</span>
78
-        </div>
79
-        <div :style="{position: 'absolute',top:(361 + (index * 380))  + 'px',left:500+ 'px'}">
80
-          <span>{{ paramsObj.setl_time ? parseInt(paramsObj.setl_time.split(' ')[0].slice(8,11)) : getTime(list.date, '{y}-{m}-{d}').slice(8,11) }}</span>
81
-        </div>
74
+          <div :style="{position: 'absolute',top:(405 + (index * 420))  + 'px',left:140+ 'px'}">盐城大丰悦达金骆驼血液透析中心</div>
75
+          <div :style="{position: 'absolute',top:(405 + (index * 420))  + 'px',left:374+ 'px'}">{{ paramsObj.chargeName }}</div>
76
+          <div :style="{position: 'absolute',top:(405 + (index * 420))  + 'px',left:435+ 'px'}">
77
+              <span>{{  paramsObj.setl_time ? paramsObj.setl_time.split(' ')[0].slice(0,4) : getTime(list.date, '{y}-{m}-{d}').slice(0,4) }}</span>
78
+          </div>
79
+          <div :style="{position: 'absolute',top:(405 + (index * 420))  + 'px',left:479+ 'px'}">
80
+              <span>{{ paramsObj.setl_time ? parseInt(paramsObj.setl_time.split(' ')[0].slice(5,7)) : getTime(list.date, '{y}-{m}-{d}').slice(5,7) }}</span>
81
+          </div>
82
+          <div :style="{position: 'absolute',top:(405 + (index * 420))  + 'px',left:500+ 'px'}">
83
+              <span>{{ paramsObj.setl_time ? parseInt(paramsObj.setl_time.split(' ')[0].slice(8,11)) : getTime(list.date, '{y}-{m}-{d}').slice(8,11) }}</span>
84
+          </div>
82 85
       </div>
83
-
84 86
       <div v-if="index == pageArr.length - 1">
85
-        <div :style="{position: 'absolute',top:(361 + (index * 380))  + 'px',left:140+ 'px'}">盐城大丰悦达金骆驼血液透析中心</div>
86
-        <div :style="{position: 'absolute',top:(361 + (index * 380))  + 'px',left:374+ 'px'}">{{ paramsObj.chargeName }}</div>
87
-        <div :style="{position: 'absolute',top:(361 + (index * 380))  + 'px',left:435+ 'px'}">
87
+        <div :style="{position: 'absolute',top:(405 + (index * 420))  + 'px',left:140+ 'px'}">盐城大丰悦达金骆驼血液透析中心</div>
88
+        <div :style="{position: 'absolute',top:(405 + (index * 420))  + 'px',left:374+ 'px'}">{{ paramsObj.chargeName }}</div>
89
+        <div :style="{position: 'absolute',top:(405 + (index * 420))  + 'px',left:435+ 'px'}">
88 90
           <span>{{  paramsObj.setl_time ? paramsObj.setl_time.split(' ')[0].slice(0,4) : getTime(list.date, '{y}-{m}-{d}').slice(0,4) }}</span>
89 91
         </div>
90
-        <div :style="{position: 'absolute',top:(361 + (index * 380))  + 'px',left:479+ 'px'}">
92
+        <div :style="{position: 'absolute',top:(405 + (index * 420))  + 'px',left:479+ 'px'}">
91 93
           <span>{{ paramsObj.setl_time ? parseInt(paramsObj.setl_time.split(' ')[0].slice(5,7)) : getTime(list.date, '{y}-{m}-{d}').slice(5,7) }}</span>
92 94
         </div>
93
-        <div :style="{position: 'absolute',top:(361 + (index * 380))  + 'px',left:500+ 'px'}">
95
+        <div :style="{position: 'absolute',top:(405 + (index * 420))  + 'px',left:500+ 'px'}">
94 96
           <span>{{ paramsObj.setl_time ? parseInt(paramsObj.setl_time.split(' ')[0].slice(8,11)) : getTime(list.date, '{y}-{m}-{d}').slice(8,11) }}</span>
95 97
         </div>
96 98
       </div>
97
-
98
-    </div>
99 99
   </div>
100
-  
100
+  </div>
101 101
 </template>
102 102
 
103
-
104 103
 <script>
105 104
 import { getInvoice } from '@/api/project/project'
106 105
 import { uParseTime } from '@/utils/tools'
107 106
 export default {
108 107
   props:{
109
-    paramsObj:Object
108
+      paramsObj:Object
110 109
   },
111 110
   data(){
112
-    return{
113
-      list:{},
114
-      printDate:'',
115
-      zhongwen:'',
116
-      totalPrice:0.0,
117
-      org_id:'',
118
-      org_name:'',
119
-      page:1,
120
-      pageArr:[],
121
-    }
111
+      return{
112
+          list:{},
113
+          printDate:'',
114
+          zhongwen:'',
115
+          totalPrice:0.0,
116
+          org_id:'',
117
+          org_name:'',
118
+          page:1,
119
+          pageArr:[],
120
+      }
122 121
   },
123 122
   created(){
124
-    console.log('paramsObj',this.paramsObj)
125
-    let params = {
126
-      order_id: this.paramsObj.order_id,
127
-      patient_id: this.paramsObj.patient_id,
128
-    }
129
-    this.getInvoice(params)
130
-    // var data = new Date();
131
-    // var month =data.getMonth() < 9 ? "0" + (data.getMonth() + 1) : data.getMonth() + 1;
132
-    // var date = data.getDate() <= 9 ? "0" + data.getDate() : data.getDate();
133
-    // this.printDate = data.getFullYear() + "-" + month + "-" + date;
134
-    // this.smalltoBIG(982732.21)
135
-    this.org_id = this.$store.getters.xt_user.org_id
136
-    this.org_name = this.$store.getters.xt_user.org.org_name
123
+      console.log('paramsObj',this.paramsObj)
124
+      let params = {
125
+          order_id: this.paramsObj.order_id,
126
+          patient_id: this.paramsObj.patient_id,
127
+      }
128
+      this.getInvoice(params)
129
+      // var data = new Date();
130
+      // var month =data.getMonth() < 9 ? "0" + (data.getMonth() + 1) : data.getMonth() + 1;
131
+      // var date = data.getDate() <= 9 ? "0" + data.getDate() : data.getDate();
132
+      // this.printDate = data.getFullYear() + "-" + month + "-" + date;
133
+      // this.smalltoBIG(982732.21)
134
+      this.org_id = this.$store.getters.xt_user.org_id
135
+      this.org_name = this.$store.getters.xt_user.org.org_name
137 136
   },
138 137
   methods:{
139
-    getInvoice(params){
140
-      getInvoice(params).then((res) => {
141
-        // console.log('res',res)
142
-        this.list = res.data.data
143
-        // console.log(this.list,'表单内容打印记得注释')
144
-        this.totalPrice = this.list.westernMedicineCostTotal + this.list.checkCostTotal + this.list.treatCostTotal + this.list.bedCostTotal + this.list.chineseTraditionalMedicineCostTotal +
145
-          this.list.laboratoryCostTotal + this.list.operationCostTotal + this.list.otherCostTotal + this.list.materialCostTotal
146
-        this.smalltoBIG(this.list.medfee_sumamt)
147
-        var data = new Date(res.data.data.date * 1000);
148
-        var month =data.getMonth() < 9 ? "0" + (data.getMonth() + 1) : data.getMonth() + 1;
149
-        var date = data.getDate() <= 9 ? "0" + data.getDate() : data.getDate();
150
-        this.printDate = data.getFullYear() + "-" + month + "-" + date;
151
-        this.pageArr = []
152
-        this.getPage()
153
-        this.pageArr.push(9)
154
-        console.log('pageArr',this.pageArr.length)
155
-      })
156
-    },
157
-    smalltoBIG(n) {
158
-      // let fraction = ['角', '分'];
159
-      // let digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖'];
160
-      // let unit = [['元.', '万,', '亿,'], ["元",'拾', '佰', '仟']];
161
-      // let head = price < 0 ? '欠' : '';
162
-      // price = Math.abs(price);
163
-      // let upper = '';
164
-      // for (let i = 0; i < fraction.length; i++) {
165
-      // upper += (digit[Math.floor(price * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '');
166
-      // }
167
-      // upper = upper || '整';
168
-      // price = Math.floor(price);
169
-      // for (let i = 0; i < unit[0].length && price > 0; i++) {
170
-      // let p = '';
171
-      // for (let j = 0; j < unit[1].length && price > 0; j++) {
172
-      //     p = digit[price % 10] + unit[1][j] + p;
173
-      //     price = Math.floor(price / 10);
174
-      // }
175
-      // upper = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + upper;
176
-      // }
177
-      // this.zhongwen = head + upper.replace(/(零.)*零圆/, '圆').replace(/(零.)+/g, '零').replace(/^整$/, '零圆整')
178
-      // console.log('6666',head + upper.replace(/(零.)*零圆/, '圆').replace(/(零.)+/g, '零').replace(/^整$/, '零圆整'))
179
-      if (!/^(0|[1-9]\d*)(\.\d+)?$/.test(n)){
180
-        return "数据非法";  //判断数据是否大于0
181
-      }
138
+      getInvoice(params){
139
+          getInvoice(params).then((res) => {
140
+              // console.log('res',res)
141
+              this.list = res.data.data
142
+              // console.log(this.list,'表单内容打印记得注释')
143
+              this.totalPrice = this.list.westernMedicineCostTotal + this.list.checkCostTotal + this.list.treatCostTotal + this.list.bedCostTotal + this.list.chineseTraditionalMedicineCostTotal +
144
+                                  this.list.laboratoryCostTotal + this.list.operationCostTotal + this.list.otherCostTotal + this.list.materialCostTotal
145
+              this.smalltoBIG(this.list.medfee_sumamt)
146
+              var data = new Date(res.data.data.date * 1000);
147
+              var month =data.getMonth() < 9 ? "0" + (data.getMonth() + 1) : data.getMonth() + 1;
148
+              var date = data.getDate() <= 9 ? "0" + data.getDate() : data.getDate();
149
+              this.printDate = data.getFullYear() + "-" + month + "-" + date;
150
+              this.pageArr = []
151
+              this.getPage()
152
+              this.pageArr.push(10)
153
+              console.log('pageArr',this.pageArr.length)
154
+          })
155
+      },
156
+      smalltoBIG(n) {
157
+          // let fraction = ['角', '分'];
158
+          // let digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖'];
159
+          // let unit = [['元.', '万,', '亿,'], ["元",'拾', '佰', '仟']];
160
+          // let head = price < 0 ? '欠' : '';
161
+          // price = Math.abs(price);
162
+          // let upper = '';
163
+          // for (let i = 0; i < fraction.length; i++) {
164
+          // upper += (digit[Math.floor(price * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '');
165
+          // }
166
+          // upper = upper || '整';
167
+          // price = Math.floor(price);
168
+          // for (let i = 0; i < unit[0].length && price > 0; i++) {
169
+          // let p = '';
170
+          // for (let j = 0; j < unit[1].length && price > 0; j++) {
171
+          //     p = digit[price % 10] + unit[1][j] + p;
172
+          //     price = Math.floor(price / 10);
173
+          // }
174
+          // upper = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + upper;
175
+          // }
176
+          // this.zhongwen = head + upper.replace(/(零.)*零圆/, '圆').replace(/(零.)+/g, '零').replace(/^整$/, '零圆整')
177
+          // console.log('6666',head + upper.replace(/(零.)*零圆/, '圆').replace(/(零.)+/g, '零').replace(/^整$/, '零圆整'))
178
+          if (!/^(0|[1-9]\d*)(\.\d+)?$/.test(n)){
179
+              return "数据非法";  //判断数据是否大于0
180
+          }
182 181
 
183
-      var unit = "仟佰拾亿仟佰拾万仟佰拾元角分", str = "";
184
-      n += "00";
182
+          var unit = "仟佰拾亿仟佰拾万仟佰拾元角分", str = "";
183
+          n += "00";
185 184
 
186
-      var indexpoint = n.indexOf('.');  // 如果是小数,截取小数点前面的位数
185
+          var indexpoint = n.indexOf('.');  // 如果是小数,截取小数点前面的位数
187 186
 
188
-      if (indexpoint >= 0){
187
+          if (indexpoint >= 0){
189 188
 
190
-        n = n.substring(0, indexpoint) + n.substr(indexpoint+1, 2);   // 若为小数,截取需要使用的unit单位
191
-      }
189
+              n = n.substring(0, indexpoint) + n.substr(indexpoint+1, 2);   // 若为小数,截取需要使用的unit单位
190
+          }
192 191
 
193
-      unit = unit.substr(unit.length - n.length);  // 若为整数,截取需要使用的unit单位
194
-      for (var i=0; i < n.length; i++){
195
-        str += "零壹贰叁肆伍陆柒捌玖".charAt(n.charAt(i)) + unit.charAt(i);  //遍历转化为大写的数字
196
-      }
197
-      console.log("str",str)
198
-      if(str == '零元零角零分'){
199
-        this.zhongwen = '零'
200
-      }else{
201
-        this.zhongwen =  str.replace(/零(仟|佰|拾|角)/g, "零").replace(/(零)+/g, "零").replace(/零(万|亿|元)/g, "$1").replace(/(亿)万|壹(拾)/g, "$1$2").replace(/^元零?|零分/g, "").replace(/元$/g, "元整");
202
-      }
192
+          unit = unit.substr(unit.length - n.length);  // 若为整数,截取需要使用的unit单位
193
+          for (var i=0; i < n.length; i++){
194
+              str += "零壹贰叁肆伍陆柒捌玖".charAt(n.charAt(i)) + unit.charAt(i);  //遍历转化为大写的数字
195
+          }
196
+          console.log("str",str)
197
+          if(str == '零元零角零分'){
198
+              this.zhongwen = '零'
199
+          }else{
200
+              this.zhongwen =  str.replace(/零(仟|佰|拾|角)/g, "零").replace(/(零)+/g, "零").replace(/零(万|亿|元)/g, "$1").replace(/(亿)万|壹(拾)/g, "$1$2").replace(/^元零?|零分/g, "").replace(/元$/g, "元整");
201
+          }
203 202
 
204
-      console.log(this.zhongwen)
205
-    },
206
-    getTime(value, temp) {
207
-      if (value == 0) {
208
-        return ''
209
-      }
210
-      if (value != undefined) {
211
-        return uParseTime(value, temp)
212
-      }
213
-      return ''
214
-    },
215
-    getPage(){
216
-      if(this.list.order_info.length <= 9){
217
-        this.page = 1
218
-        this.pageArr.push(this.list.order_info.length)
219
-      }else if(this.list.order_info.length > 9){
220
-        this.page = parseInt(this.list.order_info.length / 9)
221
-        let num = this.list.order_info.length % 9
222
-        for (var i=0;i<this.page;i++){
223
-          this.pageArr.push(9)
224
-        }
225
-        if(num != 0){
226
-          this.pageArr.push(num)
227
-        }
203
+          console.log(this.zhongwen)
204
+      },
205
+      getTime(value, temp) {
206
+          if (value == 0) {
207
+              return ''
208
+          }
209
+          if (value != undefined) {
210
+              return uParseTime(value, temp)
211
+          }
212
+          return ''
213
+      },
214
+      getPage(){
215
+      if(this.list.order_info.length <= 10){
216
+          this.page = 1
217
+          this.pageArr.push(this.list.order_info.length)
218
+      }else if(this.list.order_info.length > 10){
219
+          this.page = parseInt(this.list.order_info.length / 10)
220
+          let num = this.list.order_info.length % 10
221
+          for (var i=0;i<this.page;i++){
222
+              this.pageArr.push(10)
223
+          }
224
+          if(num != 0){
225
+              this.pageArr.push(num)
226
+          }
228 227
       }
229 228
     }
230 229
 
231 230
   },
232 231
   watch:{
233
-    paramsObj:{//深度监听,可监听到对象、数组的变化
234
-      handler(val, oldVal){
235
-        let params = {
236
-          order_id: val.order_id,
237
-          patient_id: val.patient_id,
238
-        }
239
-        this.getInvoice(params)
232
+      paramsObj:{//深度监听,可监听到对象、数组的变化
233
+          handler(val, oldVal){
234
+              let params = {
235
+                  order_id: val.order_id,
236
+                  patient_id: val.patient_id,
237
+              }
238
+              this.getInvoice(params)
240 239
 
241
-      },
242
-      deep:true
243
-    }
240
+          },
241
+          deep:true
242
+      }
244 243
   }
245 244
 }
246 245
 </script>

+ 1 - 0
src/xt_pages/stock/query/purchaseNewStockQuery.vue View File

@@ -278,6 +278,7 @@ export default {
278 278
               list[i].overMoney = "/"
279 279
              
280 280
             }
281
+            console.log("listwowowoowowowow",list)
281 282
             this.tableList = list
282 283
             this.total = response.data.data.total
283 284
 

+ 10 - 10
src/xt_pages/user/components/PatientForm.vue View File

@@ -412,7 +412,7 @@
412 412
            
413 413
 
414 414
             
415
-              <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
415
+              <!-- <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
416 416
                 <el-form-item
417 417
                   label="流转地址: "
418 418
                 >
@@ -425,7 +425,7 @@
425 425
                     </el-option>
426 426
                  </el-select>
427 427
                 </el-form-item>
428
-              </el-col>
428
+              </el-col> -->
429 429
            
430 430
  
431 431
              
@@ -449,7 +449,7 @@
449 449
                 </el-form-item>
450 450
               </el-col>
451 451
 
452
-              <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
452
+              <!-- <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
453 453
                 <el-form-item
454 454
                   label="流转结束时间 : "
455 455
                 >
@@ -467,7 +467,7 @@
467 467
                   @change="startTimeChange"
468 468
                  ></el-date-picker>
469 469
                 </el-form-item>
470
-              </el-col>
470
+              </el-col> -->
471 471
            
472 472
              
473 473
 
@@ -528,11 +528,11 @@
528 528
 
529 529
               </el-col>
530 530
 
531
-              <el-col :span="24">
531
+              <!-- <el-col :span="24">
532 532
                  <el-form-item label="传染病细分:" v-if="form.is_infectious == '2'">
533 533
                     <el-input v-model="form.infectious_remark"></el-input>
534 534
                  </el-form-item>
535
-              </el-col>
535
+              </el-col> -->
536 536
 
537 537
               <el-col :span="8">
538 538
                 <el-form-item label="疑难内瘘 : " prop="contagions">
@@ -896,7 +896,7 @@
896 896
               </el-form-item>
897 897
             </el-col>
898 898
           </el-row>
899
-          <el-row :gutter="24">
899
+          <!-- <el-row :gutter="24">
900 900
             <el-col :span="24">
901 901
               <el-form-item label="过敏史 : " prop="past_history">
902 902
                 <el-input
@@ -908,7 +908,7 @@
908 908
                 ></el-input>
909 909
               </el-form-item>
910 910
             </el-col>
911
-          </el-row>
911
+          </el-row> -->
912 912
           <el-row :gutter="24">
913 913
             <el-col :span="24">
914 914
               <el-form-item label="体格检查">
@@ -1514,8 +1514,8 @@ export default {
1514 1514
     }
1515 1515
   },
1516 1516
   created() {
1517
-  this.liuAddresslist = getDataConfig('hemodialysis', 'liu_address')
1518
-  console.log("liuAddresslist",this.liuAddresslist)
1517
+  // this.liuAddresslist = getDataConfig('hemodialysis', 'liu_address')
1518
+  // console.log("liuAddresslist",this.liuAddresslist)
1519 1519
    this.fetchAllAdminUsers();
1520 1520
  
1521 1521