Browse Source

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

陈少旭 1 year ago
parent
commit
f4c342acd8

+ 4 - 4
src/xt_pages/outpatientCharges/invoicePrint.vue View File

10
         type="primary"
10
         type="primary"
11
       >打印</el-button>
11
       >打印</el-button>
12
     </template>
12
     </template>
13
-    <div class="app-container" style="padding-top:40px;" v-if="org_id != 10217 && org_id != 10485 && org_id != 10375 && org_id != 10567 "><!--&& org_id != 10188 && org_id != 0-->
13
+    <div class="app-container" style="padding-top:40px;" v-if="org_id != 10217 && org_id != 10485 && org_id != 10375 && org_id != 10567 && org_id != 10188 && org_id != 0"><!--&& org_id != 10188 && org_id != 0-->
14
         <div class='dialysisPage'>
14
         <div class='dialysisPage'>
15
           <div v-if="org_id != 10106 && org_id != 10215 && org_id != 4 && org_id != 10188 && org_id != 10217 && org_id != 10387&& org_id != 10210 && org_id != 10387 && org_id != 10480 && org_id != 0 " >
15
           <div v-if="org_id != 10106 && org_id != 10215 && org_id != 4 && org_id != 10188 && org_id != 10217 && org_id != 10387&& org_id != 10210 && org_id != 10387 && org_id != 10480 && org_id != 0 " >
16
             <printOne v-if="org_id != 10088 && org_id != 10510 && org_id != 0" :paramsObj="invoiceParams"></printOne>
16
             <printOne v-if="org_id != 10088 && org_id != 10510 && org_id != 0" :paramsObj="invoiceParams"></printOne>
20
           <printTwo v-if="org_id == 10106" :paramsObj="invoiceParams"></printTwo>
20
           <printTwo v-if="org_id == 10106" :paramsObj="invoiceParams"></printTwo>
21
           <printFour v-if="org_id == 10215 || org_id == 4 " :paramsObj="invoiceParams"></printFour>
21
           <printFour v-if="org_id == 10215 || org_id == 4 " :paramsObj="invoiceParams"></printFour>
22
           <!-- <printFive v-if="org_id == 10188 " :paramsObj="invoiceParams"></printFive> -->
22
           <!-- <printFive v-if="org_id == 10188 " :paramsObj="invoiceParams"></printFive> -->
23
-          <printthirteen v-if="org_id == 10188 || org_id == 0 " :paramsObj="invoiceParams"></printthirteen>
23
+          <!-- <printthirteen v-if="org_id == 10188 || org_id == 0 " :paramsObj="invoiceParams"></printthirteen> -->
24
 <!--         <printEight v-if="org_id == 10387 || org_id == 0" :paramsObj="invoiceParams"></printEight>-->
24
 <!--         <printEight v-if="org_id == 10387 || org_id == 0" :paramsObj="invoiceParams"></printEight>-->
25
           <print-eight v-if="org_id == 10387" :paramsObj="invoiceParams"></print-eight>
25
           <print-eight v-if="org_id == 10387" :paramsObj="invoiceParams"></print-eight>
26
           <PrintNight v-if="org_id == 10210" :paramsObj="invoiceParams"></PrintNight>
26
           <PrintNight v-if="org_id == 10210" :paramsObj="invoiceParams"></PrintNight>
52
       </div>
52
       </div>
53
     </div> -->
53
     </div> -->
54
 
54
 
55
-    <!-- <div class="app-container" style="padding-top:30px;" v-if="org_id == 10188 || org_id == 0 ">
55
+    <div class="app-container" style="padding-top:20px;" v-if="org_id == 10188 || org_id == 0 ">
56
       <div class='dialysisPage'>
56
       <div class='dialysisPage'>
57
         <printthirteen  :paramsObj="invoiceParams"></printthirteen>
57
         <printthirteen  :paramsObj="invoiceParams"></printthirteen>
58
       </div>
58
       </div>
59
-    </div> -->
59
+    </div>
60
     <!-- <div class="app-container" style="padding-top:40px;" v-if="org_id == 0">
60
     <!-- <div class="app-container" style="padding-top:40px;" v-if="org_id == 0">
61
       <div class='dialysisPage'>
61
       <div class='dialysisPage'>
62
         <printthirteen :paramsObj="invoiceParams"></printthirteen>
62
         <printthirteen :paramsObj="invoiceParams"></printthirteen>

+ 14 - 6
src/xt_pages/outpatientCharges/invoiceTemplate/printthirteen.vue View File

1
 
1
 
2
 <template>
2
 <template>
3
   <div id='invoice-print'>
3
   <div id='invoice-print'>
4
-    <div v-for='(i,index) in pageArr.length' :key="index" style="width: 80%;margin: 0 auto;font-size: 16px;">
4
+    <div v-for='(i,index) in pageArr.length' :key="index" style="width: 90%;margin: 0 auto;font-size: 17px;">
5
       <div style="text-align: center;width: 100%;font-size: 20px; font-weight: bolder;">盐城响水燕舞血液透析中心收据</div>
5
       <div style="text-align: center;width: 100%;font-size: 20px; font-weight: bolder;">盐城响水燕舞血液透析中心收据</div>
6
       <div style="display: flex; margin: 15px 0 5px 0;">
6
       <div style="display: flex; margin: 15px 0 5px 0;">
7
         <div style="flex: 1.1;">业务流水号:{{ list.order_number }}</div>
7
         <div style="flex: 1.1;">业务流水号:{{ list.order_number }}</div>
10
        
10
        
11
       </div>
11
       </div>
12
       <div style="display: flex;">
12
       <div style="display: flex;">
13
-        <div style="flex:1;">医生:{{ doctor_info.user_name }}</div>
14
-        <div style="flex: 1;">医生编码:{{ doctor_info.doctor_number }}</div>
13
+        <!-- <div style="flex:1;">医生:{{ doctor_info.user_name }}</div>
14
+        <div style="flex: 1;">医生编码:{{ doctor_info.doctor_number }}</div> -->
15
         <div style="flex: 1;">No.{{list.order.fa_piao_number}}</div>
15
         <div style="flex: 1;">No.{{list.order.fa_piao_number}}</div>
16
       </div>
16
       </div>
17
       <div style="display: flex;border: 1px solid black;padding: 5px 0;">
17
       <div style="display: flex;border: 1px solid black;padding: 5px 0;">
18
         <div style="flex: 1;">姓名:{{ paramsObj.name }}</div>
18
         <div style="flex: 1;">姓名:{{ paramsObj.name }}</div>
19
-        <div style="flex: 1;">性别:</div>
19
+        <div style="flex: 1;">性别:
20
+          <span v-if="list.gender == 1">男</span>
21
+          <span v-if="list.gender == 2">女</span>
22
+        </div>
20
         <div style="flex: 1;">医保类型:</div>
23
         <div style="flex: 1;">医保类型:</div>
21
         <div style="flex: 1;">社会保障号码:</div>
24
         <div style="flex: 1;">社会保障号码:</div>
22
 
25
 
117
         </div>
120
         </div>
118
       </div>
121
       </div>
119
       <div style="display: flex;">
122
       <div style="display: flex;">
120
-        <div style="flex: 1;">收款单位(章):{{ org_name }}</div>
121
-        <div style="flex: 1;">收费员:{{ paramsObj.chargeName }}</div>
123
+        <div style="flex:1;">医生:{{ doctor_info.user_name }}</div>
124
+        <div style="flex: 1;">医生编码:{{ doctor_info.doctor_number }}</div>
125
+        <!-- <div style="flex: 1;">No.{{list.order.fa_piao_number}}</div> -->
126
+      </div>
127
+      <div style="display: flex;">
128
+        <div style="flex: 1.5;">收款单位(章):{{ org_name }}</div>
129
+        <div style="flex: 0.7;">收费员:{{ paramsObj.chargeName }}</div>
122
         <div style="flex: 1;">
130
         <div style="flex: 1;">
123
           <span>{{  paramsObj.setl_time ? paramsObj.setl_time.split(' ')[0].slice(0,4) : getTime(list.date, '{y}-{m}-{d}').slice(0,4) }}</span>
131
           <span>{{  paramsObj.setl_time ? paramsObj.setl_time.split(' ')[0].slice(0,4) : getTime(list.date, '{y}-{m}-{d}').slice(0,4) }}</span>
124
132

+ 2 - 2
src/xt_pages/outpatientDoctorStation/print.vue View File

9
         :prescription_id="prescription_id"></printOne>
9
         :prescription_id="prescription_id"></printOne>
10
 
10
 
11
         <print-ten-one
11
         <print-ten-one
12
-          v-if="org_id == 10188 || org_id == 10217 || org_id == 0" v-bind:childResponse="childResponse"
12
+          v-if="org_id == 10188 || org_id == 10217 " v-bind:childResponse="childResponse"
13
           :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient"
13
           :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient"
14
           :doctorPorject="doctorPorject" :patient_id="patient_id" :record_date="record_date"
14
           :doctorPorject="doctorPorject" :patient_id="patient_id" :record_date="record_date"
15
           :prescription_id="prescription_id"
15
           :prescription_id="prescription_id"
16
         ></print-ten-one>
16
         ></print-ten-one>
17
 
17
 
18
-        <prinSeven v-if="org_id == 10375 "
18
+        <prinSeven v-if="org_id == 10375 || org_id == 0"
19
           v-bind:childResponse="childResponse"
19
           v-bind:childResponse="childResponse"
20
           :advicePrint="advicePrint"
20
           :advicePrint="advicePrint"
21
           :ids="ids"
21
           :ids="ids"

+ 6 - 1
src/xt_pages/outpatientDoctorStation/template/prinSeven.vue View File

140
                   </div>
140
                   </div>
141
                   <!-- v-if="arr.length>0 && arr[0][0].groupno==it.groupno" 'border-right':arr.length>0 && arr[0][0].groupno==it.groupno ? '1px solid black' :'none',-->
141
                   <!-- v-if="arr.length>0 && arr[0][0].groupno==it.groupno" 'border-right':arr.length>0 && arr[0][0].groupno==it.groupno ? '1px solid black' :'none',-->
142
                 </div>
142
                 </div>
143
-                <div style="display: inline-block;position: absolute;left:80%;bottom:0px;margin-left: 10px;" >
143
+                <div style="display: inline-block;position: absolute;left:80%;margin-left: 10px;" >
144
                   ×&nbsp;{{ it.prescribing_number}}
144
                   ×&nbsp;{{ it.prescribing_number}}
145
                 </div>
145
                 </div>
146
+                <template v-if="item.arr.length>0&&item.arr[0][0].groupno==it.groupno">
147
+                  <div style="display: inline-block;position: absolute;left:80%;bottom:20px;margin-left: 10px;" >
148
+                    ×&nbsp;{{ item.arr[0][0].prescribing_number}}
149
+                  </div>
150
+                </template>
146
                 <div style="display: inline-block;position: absolute;left:85%;top:0px;margin-left: 10px;" v-if="(item.arr.length>0&&item.arr[0][0].groupno!=it.groupno) || item.arr.length==0">
151
                 <div style="display: inline-block;position: absolute;left:85%;top:0px;margin-left: 10px;" v-if="(item.arr.length>0&&item.arr[0][0].groupno!=it.groupno) || item.arr.length==0">
147
                   &nbsp;共{{ it.prescribing_number}}{{ it.prescribing_number_unit }}
152
                   &nbsp;共{{ it.prescribing_number}}{{ it.prescribing_number_unit }}
148
                 </div>
153
                 </div>