Selaa lähdekoodia

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

杨青 1 vuosi sitten
vanhempi
commit
2df99178c1

+ 1 - 1
src/xt_pages/Dialysisanalysis/platelets/all_ktv.vue Näytä tiedosto

@@ -210,7 +210,7 @@
210 210
           prop="inspect_value"
211 211
           label="结果"
212 212
         >
213
-          <template slot-scope="scope">{{ parseFloat(scope.row.inspect_value).toFixed(2)}}</template>
213
+          <template slot-scope="scope">{{ parseFloat(scope.row.inspect_value).toFixed(1)}}</template>
214 214
         </el-table-column>
215 215
 
216 216
       </el-table>

+ 1 - 1
src/xt_pages/Dialysisanalysis/platelets/all_urr.vue Näytä tiedosto

@@ -210,7 +210,7 @@
210 210
           prop="inspect_value"
211 211
           label="结果"
212 212
         >
213
-          <template slot-scope="scope">{{ (scope.row.inspect_value) + '%'}}</template>
213
+          <template slot-scope="scope">{{ parseFloat(scope.row.inspect_value).toFixed(1) + '%'}}</template>
214 214
 
215 215
         </el-table-column>
216 216
 

+ 2 - 2
src/xt_pages/Dialysisanalysis/platelets/p_ktv.vue Näytä tiedosto

@@ -106,7 +106,7 @@
106 106
 
107 107
                 <el-table-column width="100" label="KTV" align="center">
108 108
                   <template slot-scope="scope">
109
-                    {{parseFloat(scope.row.value).toFixed(2)}}
109
+                    {{parseFloat(scope.row.value).toFixed(1)}}
110 110
                   </template>
111 111
                 </el-table-column>
112 112
               </el-table>
@@ -484,7 +484,7 @@ export default {
484 484
             for (let i = 0; i < resp.data.inspections.length; i++) {
485 485
               let obj = {
486 486
                 name:resp.data.patient.name,
487
-                value:parseFloat(resp.data.inspections[i].inspect_value).toFixed(2),
487
+                value:parseFloat(resp.data.inspections[i].inspect_value).toFixed(1),
488 488
                 inspect_date:resp.data.inspections[i].inspect_date
489 489
               }
490 490
               this.tableData.push(obj)

+ 2 - 2
src/xt_pages/Dialysisanalysis/platelets/p_urr.vue Näytä tiedosto

@@ -106,7 +106,7 @@
106 106
 
107 107
                 <el-table-column width="100" label="URR(%)" align="center">
108 108
                   <template slot-scope="scope">
109
-                    {{scope.row.value}}
109
+                    {{parseFloat(scope.row.value).toFixed(1)}}
110 110
                   </template>
111 111
                 </el-table-column>
112 112
               </el-table>
@@ -484,7 +484,7 @@ export default {
484 484
             for (let i = 0; i < resp.data.inspections.length; i++) {
485 485
               let obj = {
486 486
                 name:resp.data.patient.name,
487
-                value:resp.data.inspections[i].inspect_value,
487
+                value:parseFloat(resp.data.inspections[i].inspect_value).toFixed(1),
488 488
                 inspect_date:resp.data.inspections[i].inspect_date
489 489
               }
490 490
               this.tableData.push(obj)

+ 1 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_forty.vue Näytä tiedosto

@@ -790,7 +790,7 @@
790 790
                                   <label-box :isChecked="record.assessment_after_dislysis.catheter.indexOf('更换敷料')>-1?true:false" showValue='更换敷料'></label-box>
791 791
                               </td>
792 792
                               <td width='50'>
793
-                                  <label-box :isChecked="record.assessment_after_dislysis.catheter.indexOf('干洁')==-1 && record.assessment_after_dislysis.catheter.indexOf('更换敷料')==-1?true:false" showValue='其他'></label-box>
793
+                                  <label-box :isChecked="record.assessment_after_dislysis.catheter!=''&&record.assessment_after_dislysis.catheter.indexOf('干洁')==-1 && record.assessment_after_dislysis.catheter.indexOf('更换敷料')==-1?true:false" showValue='其他'></label-box>
794 794
                               </td>
795 795
                               <td width='100'>
796 796
                                   <div class="under-line">&nbsp;

+ 9 - 1
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Näytä tiedosto

@@ -2508,7 +2508,7 @@ mu
2508 2508
           }
2509 2509
           if (this.$store.getters.xt_user.org.id == 10016 || this.$store.getters.xt_user.org.id == 10121 || this.$store.getters.xt_user.org.id == 4 || this.$store.getters.xt_user.org.id == 10013 || this.$store.getters.xt_user.org.id == 10014 ||  this.$store.getters.xt_user.org.id == 9970) {
2510 2510
             this.start_time = year + '-' + month + '-' + day + ' ' + hours + ':' + minites
2511
-          }else if(this.$store.getters.xt_user.org.id == 10234 || this.$store.getters.xt_user.org.id == 9990 || this.$store.getters.xt_user.org.id==10432){
2511
+          }else if(this.$store.getters.xt_user.org.id == 9990 || this.$store.getters.xt_user.org.id==10432){
2512 2512
             if (schedual.schedule_type == 1) {
2513 2513
               this.start_time = year + '-' + month + '-' + day + ' ' + '06:00'
2514 2514
             } else if (schedual.schedule_type == 2) {
@@ -2572,6 +2572,14 @@ mu
2572 2572
             } else if (schedual.schedule_type == 3) {
2573 2573
               this.start_time = year + '-' + month + '-' + day + ' ' + '15:00'
2574 2574
             }
2575
+           }else if(this.$store.getters.xt_user.org.id == 10234){
2576
+              if (schedual.schedule_type == 1) {
2577
+              this.start_time = year + '-' + month + '-' + day + ' ' + '7:30'
2578
+            } else if (schedual.schedule_type == 2) {
2579
+              this.start_time = year + '-' + month + '-' + day + ' ' + '12:00'
2580
+            } else if (schedual.schedule_type == 3) {
2581
+              this.start_time = year + '-' + month + '-' + day + ' ' + '15:00'
2582
+            }
2575 2583
            } else {
2576 2584
             if (schedual.schedule_type == 1) {
2577 2585
               this.start_time = year + '-' + month + '-' + day + ' ' + '07:00'

+ 8 - 0
src/xt_pages/dialysis/doctorLongNewAdvicePrint.vue Näytä tiedosto

@@ -60,6 +60,14 @@
60 60
                       <span v-if="it&&it.advice_name == '肝素钠注射剂'">
61 61
                         {{getDrugAdviceCount(it.advice_name,item.zone_name)}}  
62 62
                       </span>
63
+
64
+                      <span v-if="item.child[i]==null && getDrugCount(item.child,it.advice_name)>0">
65
+                         {{getDrugCount(item.child,it.advice_name)}}
66
+                         <span v-if="it&&it.advice_name == '肝素钠注射剂'">
67
+                          {{getDrugAdviceCount(it.advice_name,item.zone_name)}}  
68
+                        </span>
69
+                      </span>
70
+                     
63 71
                     </span>
64 72
                     <span v-if="item.is_total == 0">
65 73
                       {{getAllSumCount(it.advice_name)}}

+ 6 - 0
src/xt_pages/dialysis/doctorNewAdviceStaticPrint.vue Näytä tiedosto

@@ -60,6 +60,12 @@
60 60
                       <span v-if="it&&it.advice_name == '肝素钠注射剂'">
61 61
                         {{getDrugAdviceCount(it.advice_name,item.zone_name)}}  
62 62
                       </span>
63
+                      <span v-if="item.child[i]==null && getDrugCount(item.child,it.advice_name)>0">
64
+                        {{getDrugCount(item.child,it.advice_name)}}
65
+                        <span v-if="it&&it.advice_name == '肝素钠注射剂'">
66
+                        {{getDrugAdviceCount(it.advice_name,item.zone_name)}}  
67
+                      </span>
68
+                      </span>
63 69
                     </span>
64 70
                     <span v-if="item.is_total == 0">
65 71
                       {{getAllSumCount(it.advice_name)}}

+ 8 - 2
src/xt_pages/dialysis/newDoctorAdvice.vue Näytä tiedosto

@@ -175,9 +175,9 @@
175 175
       </div> -->
176 176
 
177 177
       <div style="margin-top: 10px;margin-bottom:10px">
178
-        <el-button type="primary" size="small" @click="toStatic" v-if="org_id!=9671  && org_id!=10340 ">统计</el-button>
178
+        <el-button type="primary" size="small" @click="toStatic" v-if="org_id!=9671  && org_id!=10340 && org_id!=0 ">统计</el-button>
179 179
 
180
-        <el-button type="primary" size="small" @click="toStaticOne" v-if="org_id == 9671 || org_id==10340">统计</el-button>
180
+        <el-button type="primary" size="small" @click="toStaticOne" v-if="org_id == 9671 || org_id==10340 || org_id == 0">统计</el-button>
181 181
       </div>
182 182
 
183 183
 
@@ -702,6 +702,12 @@
702 702
               <span v-if="item&&item.advice_name == '肝素钠注射剂'">
703 703
                  {{getDrugAdviceCount(item.advice_name,scope.row.zone_name)}}
704 704
               </span>
705
+              <span v-if="scope.row.child[index]==null && getDrugCount(scope.row.child,item.advice_name)>0">
706
+                {{getDrugCount(scope.row.child,item.advice_name)}}
707
+                <span v-if="item&&item.advice_name == '肝素钠注射剂'">
708
+                 {{getDrugAdviceCount(item.advice_name,scope.row.zone_name)}}
709
+              </span>
710
+              </span>
705 711
             </span>
706 712
             <span v-if="scope.row.is_total == 0">
707 713
                  {{getAllSumCount(item.advice_name)}}

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderForty.vue Näytä tiedosto

@@ -1127,7 +1127,7 @@
1127 1127
                           <label-box :isChecked="afterdialysis.catheter.indexOf('更换敷料')>-1?true:false" showValue='更换敷料'></label-box>
1128 1128
                       </td>
1129 1129
                       <td width='50'>
1130
-                          <label-box :isChecked="afterdialysis.catheter.indexOf('干洁')==-1 && afterdialysis.catheter.indexOf('更换敷料')==-1?true:false" showValue='其他'></label-box>
1130
+                          <label-box :isChecked="afterdialysis.catheter!=''&& afterdialysis.catheter.indexOf('干洁')==-1 && afterdialysis.catheter.indexOf('更换敷料')==-1?true:false" showValue='其他'></label-box>
1131 1131
                       </td>
1132 1132
                       <td width='100'>
1133 1133
                           <div class="under-line">&nbsp;

+ 70 - 20
src/xt_pages/dialysis/template/DialysisPrintOrdersixtySeven.vue Näytä tiedosto

@@ -38,11 +38,9 @@
38 38
                 <td>姓名:{{ patientInfo.name }}</td>
39 39
                 <td>性别: {{ patientInfo_gender_1 ? "男" : "女" }}</td>
40 40
                 <td>年龄:{{ getAge(patientInfo) }}</td>
41
-                <td>门诊号: {{
42
-                    patientInfo.admission_number
43
-                      ? patientInfo.admission_number
44
-                      : "/"
45
-                  }}</td>
41
+                <td>门诊号:
42
+                  {{patientInfo.dialysis_no}}
43
+                </td>
46 44
               </tr>
47 45
               <tr>
48 46
                 <td>病床床号:
@@ -57,8 +55,7 @@
57 55
                   </span>
58 56
                 </td>
59 57
                 <td>治疗时间:
60
-                  {{afterdialysis.actual_treatment_hour }}<span v-if="afterdialysis.actual_treatment_hour>0">时</span>
61
-                  <span v-if="afterdialysis.actual_treatment_minute>0">{{afterdialysis.actual_treatment_minute>0}}</span> {{afterdialysis.actual_treatment_minute }}<span v-if="afterdialysis.actual_treatment_minute>0">分</span>
58
+                  {{getTime(prescription.record_date,"{y}-{m}-{d}") }}
62 59
                 </td>
63 60
                 <td>干体重:{{ predialysis.dry_weight ? predialysis.dry_weight : "/" }}kg</td>
64 61
                 <td>上次透后体重:
@@ -73,25 +70,36 @@
73 70
                 </td>
74 71
                 <td>透析总次数:{{ patientInfo.total_dialysis + patientInfo.user_sys_before_count }}</td>
75 72
                 <td colspan="2">患者评估:
76
-                  {{ receiverTreatmentAccess.sick_condition ? receiverTreatmentAccess.sick_condition : "/" }}
73
+                  入科方式:
74
+                  <span v-if="receiverTreatmentAccess.way == 1">步行</span>
75
+                  <span v-if="receiverTreatmentAccess.way == 2">扶行</span>
76
+                  <span v-if="receiverTreatmentAccess.way == 3">轮椅</span>
77
+                  <span v-if="receiverTreatmentAccess.way == 4">平车</span>
78
+
79
+                  意识:
80
+                  <span v-if="receiverTreatmentAccess.consciousness == 1">清醒</span>
81
+                  <span v-if="receiverTreatmentAccess.consciousness == 2">嗜睡</span>
82
+                  <span v-if="receiverTreatmentAccess.consciousness == 4">模糊</span>
83
+                  <span v-if="receiverTreatmentAccess.consciousness == 3">昏迷</span>
77 84
                 </td>
78 85
               </tr>
79 86
               <tr>
80 87
                 <td colspan="4">
81
-                  <span style="width: 14%;">血管通路:
88
+                  <span>血管通路:
82 89
                     {{ predialysis.blood_access_part_opera_name }}
83 90
                   </span>
84
-                  <span style="width: 14%;">部位:
91
+                  <span>部位:
85 92
                     {{ predialysis.blood_access_part_id }}
86 93
                  </span>
87
-                  <span style="width: 14%;">通路评估:
94
+                  <span>通路评估:
95
+                     内瘘:
96
+                     <span v-if="predialysis.internal_fistula.indexOf('自体内瘘') >-1">自体内瘘</span>
88 97
                      <span v-if="predialysis.internal_fistula.indexOf('震颤-存在') >-1">震颤-存在</span>
89 98
                      <span v-if="predialysis.internal_fistula.indexOf('震颤-减弱') >-1">震颤-减弱</span>
90 99
                      <span v-if="predialysis.internal_fistula.indexOf('震颤-无') >-1">震颤-无</span>
91 100
 
92 101
                   </span>
93
-                  <!-- <span style="width: 14%;">震颤:</span> -->
94
-                  <!-- <span style="width: 14%;">外观:</span> -->
102
+                
95 103
                   <span style="width: 14%;">置换方式:
96 104
                     {{
97 105
                       getDisplaceLiquiPart(prescription.displace_liqui_part)
@@ -182,6 +190,44 @@
182 190
               <tr>
183 191
                 <td colspan="4">抗凝剂:
184 192
                   {{prescription.anticoagulant_name?prescription.anticoagulant_name : "/"}}
193
+                  首剂:{{ prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji: ""}}
194
+                  <span>
195
+                    <span v-if="prescription.anticoagulant == 4">iu</span>
196
+                    <span v-if="prescription.anticoagulant == 3">iu</span>
197
+                    <span v-if="prescription.anticoagulant == 2">mg</span>
198
+                    <span v-if="prescription.anticoagulant == 5">ml</span>
199
+                    <span v-if="prescription.anticoagulant == 6">iu</span>
200
+                    <span v-if="prescription.anticoagulant == 7">iu</span>
201
+                    <span v-if="prescription.anticoagulant == 8">iu</span>
202
+                    <span v-if="prescription.anticoagulant == 9">iu</span>
203
+                    <span v-if="prescription.anticoagulant == 10">iu</span>
204
+                    <span v-if="prescription.anticoagulant == 11">iu</span>
205
+                    <span v-if="prescription.anticoagulant == 13">iu</span>
206
+                  </span>
207
+                  维持:{{prescription.anticoagulant_weichi? prescription.anticoagulant_weichi : ""}}
208
+                  <span v-if="prescription.anticoagulant == 2">mg/h</span>
209
+                  <span v-if="prescription.anticoagulant == 3">iu/h</span>
210
+                  <span v-if="prescription.anticoagulant == 4">ml</span>
211
+                  <span v-if="prescription.anticoagulant == 5">ml/h</span>
212
+                  <span v-if="prescription.anticoagulant == 6">iu/h</span>
213
+                  <span v-if="prescription.anticoagulant == 7">iu/h</span>
214
+                  <span v-if="prescription.anticoagulant == 8">iu/h</span>
215
+                  <span v-if="prescription.anticoagulant == 9">iu/h</span>
216
+                  <span v-if="prescription.anticoagulant == 10">iu/h</span>
217
+                  <span v-if="prescription.anticoagulant == 11">iu/h</span>
218
+                  <span v-if="prescription.anticoagulant == 13">iu/h</span>
219
+                  总量:{{prescription.anticoagulant_zongliang? prescription.anticoagulant_zongliang: ""}}
220
+                  <span v-if="prescription.anticoagulant == 2">mg</span>
221
+                  <span v-if="prescription.anticoagulant == 3">iu</span>
222
+                  <span v-if="prescription.anticoagulant == 4">ml</span>
223
+                  <span v-if="prescription.anticoagulant == 5">ml</span>
224
+                  <span v-if="prescription.anticoagulant == 6">iu</span>
225
+                  <span v-if="prescription.anticoagulant == 7">iu</span>
226
+                  <span v-if="prescription.anticoagulant == 8">iu</span>
227
+                  <span v-if="prescription.anticoagulant == 9">iu</span>
228
+                  <span v-if="prescription.anticoagulant == 10">iu</span>
229
+                <span v-if="prescription.anticoagulant == 11">iu</span>
230
+                <span v-if="prescription.anticoagulant == 13">iu</span>
185 231
                 </td>
186 232
               </tr>
187 233
               <tr>
@@ -203,6 +249,8 @@
203 249
                    钠:{{ prescription.sodium }} mmol/L
204 250
                    钙:{{ prescription.calcium }} mmol/L
205 251
                    碳酸氢盐: {{ prescription.bicarbonate }} mmol/L
252
+                   CI : 109  mmol/L
253
+                   Mg: 0.5mmol/L
206 254
                   </span>
207 255
                 </td>
208 256
               </tr>
@@ -265,19 +313,21 @@
265 313
                 <td>{{monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}</td>
266 314
                 <td>{{monitor.ultrafiltration_rate? monitor.ultrafiltration_rate: ""}}</td>
267 315
                 <td>{{monitor.conductivity? monitor.conductivity: ""}}</td>
268
-                <td>{{monitor.dispose? monitor.dispose: ""}}
316
+                <td>
317
+                  {{monitor.symptom?monitor.symptom:"" }}&nbsp;
318
+                  {{monitor.dispose? monitor.dispose: ""}}&nbsp;
269 319
                   {{monitor.result? monitor.result: ""}}
270 320
                 </td>
271 321
                 <td>
272 322
                   <span
273 323
                     style="height: 30px; display: inline-block"
274
-                      v-if="setAdminUserES(monitor.creater) == ''"
324
+                      v-if="setAdminUserES(monitor.monitoring_nurse) == ''"
275 325
                       >
276
-                     {{ getAdminUser(monitor.creater) }}
326
+                     {{ getAdminUser(monitor.monitoring_nurse) }}
277 327
                   </span>
278 328
                   <img
279 329
                     style="height: 40px"
280
-                    :src="setAdminUserES(monitor.creater)"
330
+                    :src="setAdminUserES(monitor.monitoring_nurse)"
281 331
                     alt=""
282 332
                     srcset=""
283 333
                     v-else
@@ -430,14 +480,14 @@
430 480
               </tr>
431 481
               <tr>
432 482
                 <td colspan="4">
433
-                  <span style="width: 14%;">通路评估:
434
-                    {{
483
+                  <span>通路评估:
484
+                    内瘘:{{
435 485
                       afterdialysis.internal_fistula
436 486
                         ? afterdialysis.internal_fistula
437 487
                         : ""
438 488
                      }}
439 489
 
440
-                     {{
490
+                  导管:{{
441 491
                         afterdialysis.catheter ? afterdialysis.catheter : ""
442 492
                     }}
443 493
                   </span>

+ 55 - 8
src/xt_pages/outpatientDoctorStation/doctorDesk.vue Näytä tiedosto

@@ -1778,7 +1778,12 @@ export default {
1778 1778
               if ( this.org_id != 0 && this.$store.getters.xt_user.org.id != 9919 && this.$store.getters.xt_user.org.id != 10485 && this.$store.getters.xt_user.org.id != 10191){
1779 1779
                 if (prescription.pre_time == 0) {
1780 1780
                   if (this.schedule.schedule_type == 1) {
1781
-                    preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
1781
+                    if(this.org_id == 10028){
1782
+                      preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '6:30'
1783
+                    }else{
1784
+                      preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
1785
+
1786
+                    }
1782 1787
                   } else if (this.schedule.schedule_type == 2) {
1783 1788
                     preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
1784 1789
                   } else if (this.schedule.schedule_type == 3) {
@@ -1934,7 +1939,13 @@ export default {
1934 1939
                 var preTime = nowTime
1935 1940
                 if (this.org_id != 0 && this.$store.getters.xt_user.org.id != 9919 && this.$store.getters.xt_user.org.id != 10485 && this.$store.getters.xt_user.org.id != 10191) {
1936 1941
                   if (this.schedule.schedule_type == 1) {
1937
-                     preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
1942
+                    if(this.org_id == 10028){
1943
+                      preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '6:30'
1944
+                    }else{
1945
+                      preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
1946
+
1947
+                    }
1948
+                     // preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
1938 1949
                   } else if (this.schedule.schedule_type == 2) {
1939 1950
                      preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
1940 1951
                   } else if (this.schedule.schedule_type == 3) {
@@ -2245,7 +2256,13 @@ export default {
2245 2256
                     if (this.org_id != 0 && this.$store.getters.xt_user.org.id != 9919 && this.$store.getters.xt_user.org.id != 10485 && this.$store.getters.xt_user.org.id != 10191 ) {
2246 2257
                       if (prescription.pre_time == 0) {
2247 2258
                         if (this.schedule.schedule_type == 1) {
2248
-                          preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
2259
+                          if(this.org_id == 10028){
2260
+                            preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '6:30'
2261
+                          }else{
2262
+                            preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
2263
+
2264
+                          }
2265
+                          // preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
2249 2266
                         } else if (this.schedule.schedule_type == 2) {
2250 2267
                           preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
2251 2268
                         } else if (this.schedule.schedule_type == 3) {
@@ -2402,7 +2419,13 @@ export default {
2402 2419
                       // var preTime = ''
2403 2420
                       if(this.org_id != 0 && this.org_id !=  9919 && this.org_id !=  10485 && this.org_id !=  10191) {
2404 2421
                         if (this.schedule.schedule_type == 1) {
2405
-                          preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
2422
+                          if(this.org_id == 10028){
2423
+                            preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '6:30'
2424
+                          }else{
2425
+                            preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
2426
+
2427
+                          }
2428
+                          // preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
2406 2429
                         } else if (this.schedule.schedule_type == 2) {
2407 2430
                           preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
2408 2431
                         } else if (this.schedule.schedule_type == 3) {
@@ -3909,7 +3932,13 @@ export default {
3909 3932
                     if(this.org_id != 0 && this.org_id != 9919 && this.org_id  != 10485 && this.org_id  != 10191 ) {
3910 3933
                       if (prescription.pre_time == 0) {
3911 3934
                         if (this.schedule.schedule_type == 1) {
3912
-                          preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
3935
+                          if(this.org_id == 10028){
3936
+                            preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '6:30'
3937
+                          }else{
3938
+                            preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
3939
+
3940
+                          }
3941
+                          // preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
3913 3942
                         } else if (this.schedule.schedule_type == 2) {
3914 3943
                           preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
3915 3944
                         } else if (this.schedule.schedule_type == 3) {
@@ -4062,7 +4091,13 @@ export default {
4062 4091
                       var preTime = nowTime
4063 4092
                       if( this.org_id != 0 && this.org_id != 9919 &&  this.org_id != 10485 &&  this.org_id != 10191) {
4064 4093
                         if (this.schedule.schedule_type == 1) {
4065
-                          preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
4094
+                          if(this.org_id == 10028){
4095
+                            preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '6:30'
4096
+                          }else{
4097
+                            preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
4098
+
4099
+                          }
4100
+                          // preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
4066 4101
                         } else if (this.schedule.schedule_type == 2) {
4067 4102
                           preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
4068 4103
                         } else if (this.schedule.schedule_type == 3) {
@@ -4547,7 +4582,13 @@ export default {
4547 4582
                       if (prescription.pre_time == 0) {
4548 4583
                         // preTime = nowTime
4549 4584
                         if (this.schedule.schedule_type == 1) {
4550
-                          preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
4585
+                          if(this.org_id == 10028){
4586
+                            preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '6:30'
4587
+                          }else{
4588
+                            preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
4589
+
4590
+                          }
4591
+                          // preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
4551 4592
                         } else if (this.schedule.schedule_type == 2) {
4552 4593
                           preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
4553 4594
                         } else if (this.schedule.schedule_type == 3) {
@@ -4702,7 +4743,13 @@ export default {
4702 4743
                       // var preTime = ''
4703 4744
                       if(this.org_id != 0 && this.org_id != 9919  && this.org_id != 10485 && this.org_id != 10191 ) {
4704 4745
                         if (this.schedule.schedule_type == 1) {
4705
-                          preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
4746
+                          if(this.org_id == 10028){
4747
+                            preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '6:30'
4748
+                          }else{
4749
+                            preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
4750
+
4751
+                          }
4752
+                          // preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
4706 4753
                         } else if (this.schedule.schedule_type == 2) {
4707 4754
                           preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '11:00'
4708 4755
                         } else if (this.schedule.schedule_type == 3) {

+ 2 - 0
src/xt_pages/stock/query/purchaseNewStockQueryPrint.vue Näytä tiedosto

@@ -25,6 +25,7 @@
25 25
                             <thead>
26 26
                                 <tr>
27 27
                                   <td rowspan="2" width="80">序号</td>
28
+                                  <td rowspan="2" width="80">耗材名称</td>
28 29
                                   <td rowspan="2" width="80">耗材类型</td>
29 30
                                   <td rowspan="2" width="80">规格&单位</td>
30 31
                                   <td rowspan="2" width="80">生产厂商</td>
@@ -52,6 +53,7 @@
52 53
                             <tbody>
53 54
                                 <tr v-for="(item,index) in this.tableList" :key="index">
54 55
                                  <td>{{index + 1}}</td>
56
+                                 <td>{{item.good_name}}</td>
55 57
                                  <td>{{getGoodTypeName(item.good_type_id)}}</td>
56 58
                                  <td>{{item.specification_name}}</td>
57 59
                                  <td> {{getManufacturName(item.manufacturer)}}</td>