Browse Source

提交代码

陈少旭 1 year ago
parent
commit
edbfd999c7

+ 3 - 2
src/xt_pages/outpatientCharges/invoiceTemplate/printThree.vue View File

@@ -104,8 +104,9 @@
104 104
             </span>
105 105
             <span style="position: absolute;top:250px;left:610px">{{ totalPrice.toFixed(2) }}</span>
106 106
         </div> -->
107
-        <div style="position: absolute;top:300px;left:80px">合计大写 {{ zhongwen }}</div>
108
-        <div style="position: absolute;top:300px;left:300px">合计小写 {{ list.psn_cash_money }}</div>
107
+<!--        <div style="position: absolute;top:300px;left:80px">{{ zhongwen }}</div>-->
108
+      <div style="position: absolute;top:300px;left:80px">总金额 {{ list.order.medfee_sumamt }}</div>
109
+        <div style="position: absolute;top:300px;left:300px">个人自费 {{ list.psn_cash_money }}</div>
109 110
         <div>
110 111
             <!-- <div style="position: absolute;top:320px;left:120px">{{ org_name }}</div> -->
111 112
             <div style="position: absolute;top:340px;left:120px">{{ paramsObj.chargeName }}</div>

+ 14 - 0
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue View File

@@ -2002,6 +2002,10 @@ export default {
2002 2002
         }
2003 2003
       }
2004 2004
 
2005
+      if(this.org_id == 0 || this.org_id == 10375){
2006
+        this.state1 = 607
2007
+      }
2008
+
2005 2009
       if (info.id > 0) {
2006 2010
         this.doctorValue = info.doctor_id
2007 2011
         this.departmentValue = info.departments
@@ -2120,6 +2124,11 @@ export default {
2120 2124
         }
2121 2125
       }
2122 2126
 
2127
+      if(this.org_id == 0 || this.org_id == 10375){
2128
+        this.state1 = 607
2129
+      }
2130
+
2131
+
2123 2132
       if (this.departmentValue == '' || this.departmentValue == 0) {
2124 2133
         if (department.length > 0) {
2125 2134
           this.departmentValue = department[0].id
@@ -2221,6 +2230,11 @@ export default {
2221 2230
         }
2222 2231
       }
2223 2232
 
2233
+      if(this.org_id == 0 || this.org_id == 10375){
2234
+        this.state1 = 607
2235
+      }
2236
+
2237
+
2224 2238
       if (this.departmentValue == '' || this.departmentValue == 0) {
2225 2239
         if (this.department.length > 0) {
2226 2240
           this.departmentValue = this.department[0].id

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

@@ -44,7 +44,7 @@
44 44
             </div>
45 45
             <div style="margin-bottom: 10px" v-if="org_id != 10188">
46 46
               <!-- 电话:{{ item.patient.phone }} -->
47
-              开方日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}
47
+              开方日期:{{ getTime(item.pre_time) ? getTime(item.pre_time) : "" }}
48 48
             </div>
49 49
             <div style="margin-bottom: 10px" v-else>
50 50
               日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}
@@ -59,7 +59,7 @@
59 59
             <div class="Rp">Rp:</div>
60 60
             <div
61 61
               class="drugsBox"
62
-              v-for="(it, index) in item.advices" :key="index" 
62
+              v-for="(it, index) in item.advices" :key="index"
63 63
               :style="{'page-break-after':index==yi&&item.advices.length>5? 'always':'auto'}"
64 64
             >
65 65
             <!-- class="drugsBox"  item.advices.length>=5 ? 'danzhang' : 'drugsBox'  :style="{'page-break-after':index==yi&&item.advices.length>3? 'always':'auto'}"-->
@@ -88,7 +88,7 @@
88 88
                     </div>
89 89
                     <div style="margin-bottom: 10px" v-if="org_id != 10188">
90 90
                       <!-- 电话:{{ item.patient.phone }} -->
91
-                      开方日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}
91
+                      开方日期:{{ getTime(item.pre_time) ? getTime(item.pre_time) : "" }}
92 92
                     </div>
93 93
                     <div style="margin-bottom: 10px" v-else>
94 94
                       日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}
@@ -126,7 +126,7 @@
126 126
                       </div>
127 127
                     </template>
128 128
                   </div>
129
-                  
129
+
130 130
                   <div style="margin-left: 70px">
131 131
                     用法:
132 132
                     <span v-if="(item.arr.length>0 && item.arr[0][0].groupno!=it.groupno)||arr.length<0">{{ it.single_dose }}{{ it.single_dose_unit }}</span>
@@ -175,10 +175,10 @@
175 175
                           : 0
176 176
                       }}元
177 177
                     </p>
178
-                    
178
+
179 179
                   </div>
180 180
                   <div class="actionBar" style="margin-bottom: 10px;">
181
-                    <p style="width:300px;">大额处方患者意见: 
181
+                    <p style="width:300px;">大额处方患者意见:
182 182
                       <el-radio v-model="radio" label="1">同意</el-radio>
183 183
                       <el-radio v-model="radio" label="2">不同意</el-radio>
184 184
                     </p>
@@ -225,7 +225,7 @@
225 225
                 >&nbsp;&nbsp;<span>{{ it.advice_desc }}</span>
226 226
               </div>
227 227
             </div>
228
-            
228
+
229 229
             <div
230 230
               class="drugsBox"
231 231
               v-for="(it, i) in item.additionalcharge"
@@ -239,7 +239,7 @@
239 239
             </div>
240 240
             <div style="text-align: center">(以下空白)</div>
241 241
           </div>
242
-        
242
+
243 243
           <!-- <div class="doctorBox" v-if="org_id != 10188 && org_id != 0">
244 244
             <p v-if="org_id == 10217 || org_id == 0">
245 245
               医师:
@@ -272,7 +272,7 @@
272 272
             <p style="text-align: right;">医师:{{ item.doctor ? item.doctor : "" }}</p>
273 273
           </div>
274 274
           <!-- <div style="display: flex;justify-content: space-around;border-bottom: 2px solid #000;">
275
-            <p style="width:300px;">大额处方患者意见: 
275
+            <p style="width:300px;">大额处方患者意见:
276 276
               <el-radio v-model="radio" label="1">同意</el-radio>
277 277
               <el-radio v-model="radio" label="2">不同意</el-radio>
278 278
             </p>
@@ -293,24 +293,24 @@
293 293
             <p>
294 294
               金额:{{
295 295
                 getTotalOne(item.id).toFixed(2)
296
-                  ? getTotalOne(item.id).toFixed(2) 
296
+                  ? getTotalOne(item.id).toFixed(2)
297 297
                   : 0
298 298
               }}元
299 299
             </p>
300
-            
300
+
301 301
           </div>
302 302
           <div class="actionBar">
303
-            <p style="width:300px;">大额处方患者意见: 
303
+            <p style="width:300px;">大额处方患者意见:
304 304
               <el-radio v-model="radio" label="1">同意</el-radio>
305 305
               <el-radio v-model="radio" label="2">不同意</el-radio>
306 306
             </p>
307
-            
307
+
308 308
             <p>收费员:</p>
309 309
           </div>
310 310
           <div>
311 311
             <p >患者签名:</p>
312 312
           </div>
313
-          
313
+
314 314
       </div>
315 315
     </div>
316 316
   </div>
@@ -445,7 +445,7 @@ export default{
445 445
           var arr = new Array()
446 446
           var advicess = new Array()
447 447
           var advicess=advicePrint[i].advices
448
-          
448
+
449 449
          for(let j=0;j<advicess.length;j++){
450 450
             for(let x=j+1;x<advicess.length;x++){
451 451
               if(advicess[j].groupno == advicess[x].groupno){
@@ -453,17 +453,17 @@ export default{
453 453
               }
454 454
             }
455 455
           }
456
-         
456
+
457 457
          this.advicePrint[i]["arr"]    = arr
458 458
         //  for(let y=0;y<this.advicePrint[i].arr.length;y++){
459 459
         //   console.log('6666666',this.advicePrint[i].arr[y]);
460 460
         //  }
461
-          
462
-         
461
+
462
+
463 463
         }
464 464
           console.log('4444444',this.advicePrint);
465 465
         //  console.log('55555555',this.arr);
466
-         
466
+
467 467
           console.log(this.doctorList_1, "医生列表");
468 468
           if (this.doctorList_1.length > 0) {
469 469
             var operatorsLen = this.doctorList_1.length;
@@ -633,7 +633,7 @@ export default{
633 633
     var xtuser = this.$store.getters.xt_user;
634 634
     this.orgname = xtuser.org.org_name;
635 635
     this.org_id = xtuser.org.id;
636
-    
636
+
637 637
     // for(let j=0;j<this.advicess.length;j++){
638 638
     //   console.log('44444444');
639 639
     //   for(let x=j+1;x<this.advicess.length;x++){
@@ -644,9 +644,9 @@ export default{
644 644
     // }
645 645
     // console.log('777777777',this.arr[0].advice_name);
646 646
     // return this.arr
647
-    
647
+
648 648
   },
649
-  
649
+
650 650
   watch: {
651 651
     ids: function (val) {
652 652
       this.ids = val;
@@ -678,7 +678,7 @@ export default{
678 678
   margin-top: 10px;
679 679
   line-height: 24px;
680 680
   padding: 0 10px;
681
-  
681
+
682 682
 }
683 683
 .infoTitle p {
684 684
   width: 200px;