XMLWAN 2 лет назад
Родитель
Сommit
6369e89c5e

+ 0 - 1
src/api/stock.js Просмотреть файл

578
 }
578
 }
579
 
579
 
580
 export function postGoodInformation(params) {
580
 export function postGoodInformation(params) {
581
-  console.log('PARMAS22', params)
582
   return request({
581
   return request({
583
     url: '/api/good/postgoodinformation',
582
     url: '/api/good/postgoodinformation',
584
     method: 'Post',
583
     method: 'Post',

+ 2 - 2
src/xt_pages/data/basicConfig.vue Просмотреть файл

39
             <p style="margin-top:20px;">耗材先出库再执行:
39
             <p style="margin-top:20px;">耗材先出库再执行:
40
                 <el-switch v-model="is_open_is_type" @change="changeFuncType"></el-switch>
40
                 <el-switch v-model="is_open_is_type" @change="changeFuncType"></el-switch>
41
             </p>
41
             </p>
42
-            <!-- <p style="margin-top:20px;">药品在保存处方时出库:
42
+            <p style="margin-top:20px;">药品在保存处方时出库:
43
                 <el-switch v-model="drug_out_open" @change="changeDrugOpen"></el-switch>
43
                 <el-switch v-model="drug_out_open" @change="changeDrugOpen"></el-switch>
44
-            </p> -->
44
+            </p>
45
         </div>
45
         </div>
46
 
46
 
47
 
47
 

+ 1 - 3
src/xt_pages/data/components/consumables.vue Просмотреть файл

1451
        let params = {
1451
        let params = {
1452
           'goods':tableData
1452
           'goods':tableData
1453
         };
1453
         };
1454
-
1455
-
1456
-
1454
+        console.log("param2332323223",params)
1457
         postGoodInformation(params).then(response=>{
1455
         postGoodInformation(params).then(response=>{
1458
            if(response.data.state == 1){
1456
            if(response.data.state == 1){
1459
              var msg =  response.data.data.msg;
1457
              var msg =  response.data.data.msg;

+ 10 - 2
src/xt_pages/data/components/drugs.vue Просмотреть файл

1114
 
1114
 
1115
 
1115
 
1116
           if (results[i]['*拆零零售价'] === undefined) {
1116
           if (results[i]['*拆零零售价'] === undefined) {
1117
-                obj['retail_price'] = ''
1117
+                obj['min_price'] = ''
1118
               } else {
1118
               } else {
1119
            if (key == '*拆零零售价') {
1119
            if (key == '*拆零零售价') {
1120
+               obj['min_price'] = results[i][key].replace(/\s/g,"")
1121
+              }
1122
+           }
1123
+
1124
+            if (results[i]['*包装零售价'] === undefined) {
1125
+                obj['retail_price'] = ''
1126
+              } else {
1127
+           if (key == '*包装零售价') {
1120
                obj['retail_price'] = results[i][key].replace(/\s/g,"")
1128
                obj['retail_price'] = results[i][key].replace(/\s/g,"")
1121
               }
1129
               }
1122
            }
1130
            }
1435
         }
1443
         }
1436
        }
1444
        }
1437
        for(let i=0;i<tableData.length;i++){
1445
        for(let i=0;i<tableData.length;i++){
1438
-          tableData[i].dose = parseInt(tableData[i].dose)
1446
+          tableData[i].dose = tableData[i].dose.toString()
1439
        }
1447
        }
1440
        let params = {
1448
        let params = {
1441
           'drugs':tableData
1449
           'drugs':tableData

+ 7 - 7
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Просмотреть файл

200
                     </el-col>
200
                     </el-col>
201
 
201
 
202
                     <el-col :span="8" v-if="anticoagulant.shouji != -1 && isShows('首剂')">
202
                     <el-col :span="8" v-if="anticoagulant.shouji != -1 && isShows('首剂')">
203
-                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157">
203
+                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157 && this.$store.getters.xt_user.template_info.template_id!=54">
204
                           <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45">
204
                           <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45">
205
                             <el-form-item
205
                             <el-form-item
206
                                     v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.org_id != 9987'
206
                                     v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.org_id != 9987'
261
 
261
 
262
                     <el-col :span="8" v-if="anticoagulant.weichi != -1 && isShows('维持')">
262
                     <el-col :span="8" v-if="anticoagulant.weichi != -1 && isShows('维持')">
263
                         <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157">
263
                         <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157">
264
-                          <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45">
264
+                          <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.template_id != 54">
265
                             <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '"
265
                             <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '"
266
-                                          v-if="anticoagulant.weichi != -1 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.org_id != 9987">
266
+                                          v-if="anticoagulant.weichi != -1 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.org_id != 9987  && this.$store.getters.xt_user.template_info.org_id != 54">
267
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
267
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
268
                                           v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
268
                                           v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
269
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
269
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
270
                                           v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
270
                                           v-model="dialysisPrescription.no_anticoagulant_weichi"></el-input>
271
                             </el-form-item>
271
                             </el-form-item>
272
                             <el-form-item :label="'维持(mg/h) : '"
272
                             <el-form-item :label="'维持(mg/h) : '"
273
-                                          v-if="anticoagulant.weichi != -1 && this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.org_id == 9987  ">
273
+                                          v-if="anticoagulant.weichi != -1 && this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.org_id == 9987 || this.$store.getters.xt_user.template_info.org_id == 54  ">
274
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
274
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
275
                                           v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
275
                                           v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
276
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
276
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
313
 
313
 
314
                     <el-col :span="8" v-if="anticoagulant.zongliang != -1 && isShows('总量')">
314
                     <el-col :span="8" v-if="anticoagulant.zongliang != -1 && isShows('总量')">
315
                         <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157">
315
                         <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157">
316
-                          <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45">
316
+                          <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.template_id != 54">
317
                             <el-form-item
317
                             <el-form-item
318
-                                    v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38  && this.$store.getters.xt_user.template_info.org_id != 9987'
318
+                                    v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38  && this.$store.getters.xt_user.template_info.org_id != 9987 && this.$store.getters.xt_user.template_info.template_id != 54'
319
                                     :label="'总量(' + anticoagulant.zongliang_unit + ') : '">
319
                                     :label="'总量(' + anticoagulant.zongliang_unit + ') : '">
320
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
320
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
321
                                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
321
                                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
323
                                           v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
323
                                           v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
324
                             </el-form-item>
324
                             </el-form-item>
325
                             <el-form-item
325
                             <el-form-item
326
-                                    v-if='this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 38||  this.$store.getters.xt_user.template_info.org_id == 9987'
326
+                                    v-if='this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 38||  this.$store.getters.xt_user.template_info.org_id == 9987 || this.$store.getters.xt_user.template_info.template_id == 54'
327
                                     :label="'总量(mg) : '">
327
                                     :label="'总量(mg) : '">
328
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
328
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
329
                                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
329
                                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>

+ 16 - 0
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue Просмотреть файл

232
                 template_id == 48 ||
232
                 template_id == 48 ||
233
                 template_id == 51 ||
233
                 template_id == 51 ||
234
                 template_id == 53 ||
234
                 template_id == 53 ||
235
+                template_id == 54 ||
235
                 org_id == 10210 ||
236
                 org_id == 10210 ||
236
                 org_id == 9555)
237
                 org_id == 9555)
237
             "
238
             "
285
               template_id != 48 &&
286
               template_id != 48 &&
286
               template_id != 51 &&
287
               template_id != 51 &&
287
               template_id != 53 &&
288
               template_id != 53 &&
289
+              template_id != 54 &&
288
               org_id!= 10210 &&
290
               org_id!= 10210 &&
289
               org_id != 9555
291
               org_id != 9555
290
             "
292
             "
331
                 template_id == 46 ||
333
                 template_id == 46 ||
332
                 template_id == 48 ||
334
                 template_id == 48 ||
333
                 template_id == 53 ||
335
                 template_id == 53 ||
336
+                template_id == 54 ||
334
                 template_id == 47)
337
                 template_id == 47)
335
             "
338
             "
336
           >
339
           >
374
               template_id != 44 &&
377
               template_id != 44 &&
375
               template_id != 46 &&
378
               template_id != 46 &&
376
               template_id != 53 &&
379
               template_id != 53 &&
380
+              template_id != 54 &&
377
               template_id != 48 &&
381
               template_id != 48 &&
378
               template_id != 47
382
               template_id != 47
379
             "
383
             "
431
                 template_id == 29 ||
435
                 template_id == 29 ||
432
                 template_id == 48 ||
436
                 template_id == 48 ||
433
                 template_id == 53 ||
437
                 template_id == 53 ||
438
+                template_id == 54 ||
434
                 template_id == 47)
439
                 template_id == 47)
435
             "
440
             "
436
           >
441
           >
454
               template_id != 29 &&
459
               template_id != 29 &&
455
               template_id != 48 &&
460
               template_id != 48 &&
456
               template_id != 53 &&
461
               template_id != 53 &&
462
+              template_id != 54 &&
457
               template_id != 47
463
               template_id != 47
458
             "
464
             "
459
           >
465
           >
494
                 template_id == 26 ||
500
                 template_id == 26 ||
495
                 template_id == 29 ||
501
                 template_id == 29 ||
496
                 template_id == 53 ||
502
                 template_id == 53 ||
503
+                template_id == 54 ||
497
                 template_id == 48)
504
                 template_id == 48)
498
             "
505
             "
499
           >
506
           >
521
               template_id != 29 &&
528
               template_id != 29 &&
522
               template_id != 43 &&
529
               template_id != 43 &&
523
               template_id != 53 &&
530
               template_id != 53 &&
531
+              template_id != 54 &&
524
               template_id != 48
532
               template_id != 48
525
             "
533
             "
526
           >
534
           >
995
                 template_id == 46 ||
1003
                 template_id == 46 ||
996
                 template_id == 48 ||
1004
                 template_id == 48 ||
997
                 template_id == 53 ||
1005
                 template_id == 53 ||
1006
+                template_id == 54 ||
998
                 template_id == 47)
1007
                 template_id == 47)
999
             "
1008
             "
1000
           >
1009
           >
1032
               template_id != 46 &&
1041
               template_id != 46 &&
1033
               template_id != 48 &&
1042
               template_id != 48 &&
1034
               template_id != 53 &&
1043
               template_id != 53 &&
1044
+              template_id != 54 &&
1035
               template_id != 47
1045
               template_id != 47
1036
             "
1046
             "
1037
           >
1047
           >
1076
                 template_id == 48 ||
1086
                 template_id == 48 ||
1077
                 template_id == 51 ||
1087
                 template_id == 51 ||
1078
                 template_id == 53 ||
1088
                 template_id == 53 ||
1089
+                template_id == 54 ||
1079
                 org_id == 10210 ||
1090
                 org_id == 10210 ||
1080
                 org_id == 9555)
1091
                 org_id == 9555)
1081
             "
1092
             "
1121
               template_id != 51 &&
1132
               template_id != 51 &&
1122
               template_id == 48 &&
1133
               template_id == 48 &&
1123
               template_id == 53 &&
1134
               template_id == 53 &&
1135
+              template_id == 54 &&
1124
               org_id !=  10210 &&
1136
               org_id !=  10210 &&
1125
               org_id != 9555
1137
               org_id != 9555
1126
             "
1138
             "
1156
               template_id != 46 &&
1168
               template_id != 46 &&
1157
               template_id != 47 &&
1169
               template_id != 47 &&
1158
               template_id != 48 &&
1170
               template_id != 48 &&
1171
+              template_id != 54 &&
1159
               template_id != 53
1172
               template_id != 53
1160
             "
1173
             "
1161
           >
1174
           >
1176
                 template_id == 46 ||
1189
                 template_id == 46 ||
1177
                 template_id == 47 ||
1190
                 template_id == 47 ||
1178
                 template_id == 53 ||
1191
                 template_id == 53 ||
1192
+                template_id == 54 ||
1179
                 template_id == 48)
1193
                 template_id == 48)
1180
             "
1194
             "
1181
           >
1195
           >
1201
               template_id != 43 &&
1215
               template_id != 43 &&
1202
               template_id != 46 &&
1216
               template_id != 46 &&
1203
               template_id != 53 &&
1217
               template_id != 53 &&
1218
+              template_id != 54 &&
1204
               template_id != 48
1219
               template_id != 48
1205
             "
1220
             "
1206
           >
1221
           >
1223
                 template_id == 29 ||
1238
                 template_id == 29 ||
1224
                 template_id == 46 ||
1239
                 template_id == 46 ||
1225
                 template_id == 53 ||
1240
                 template_id == 53 ||
1241
+                template_id == 54 ||
1226
                 template_id == 48)
1242
                 template_id == 48)
1227
             "
1243
             "
1228
           >
1244
           >

+ 6 - 6
src/xt_pages/dialysis/details/dialysisMonitoring.vue Просмотреть файл

14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
16
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
16
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
17
-          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || template_id == 53)" width="76px" > 超滤量(ml)</th>
18
-          <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43 && template_id != 44 && template_id != 46  && template_id != 47 && template_id != 48 && template_id != 53 && this.$store.getters.xt_user.template_info.org_id != 9555"  width="76px"> 超滤量(L) </th>
17
+          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || template_id == 53 || template_id == 54)" width="76px" > 超滤量(ml)</th>
18
+          <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43 && template_id != 44 && template_id != 46  && template_id != 47 && template_id != 48 && template_id != 53  && template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 9555"  width="76px"> 超滤量(L) </th>
19
           <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47  || template_id == 48  || template_id == 53)" width="50px"> 超滤率 <br />(ml/h) </th>
19
           <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47  || template_id == 48  || template_id == 53)" width="50px"> 超滤率 <br />(ml/h) </th>
20
           <th v-if="isShow('超滤率') && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48 &&  template_id !=53" width="50px"> 超滤率 <br />(L/h) </th>
20
           <th v-if="isShow('超滤率') && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48 &&  template_id !=53" width="50px"> 超滤率 <br />(L/h) </th>
21
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
21
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
22
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
22
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
23
-          <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46 || template_id == 47 || template_id == 48 || template_id == 53) " width="92px" > 置换率(ml/min) </th>
24
-          <th v-if=" isShow('置换率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 47 && template_id != 48 && template_id != 53" width="92px" > 置换率(L/h)  </th>
23
+          <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46 || template_id == 47 || template_id == 48 || template_id == 53  || template_id == 54) " width="92px" > 置换率(ml/min) </th>
24
+          <th v-if=" isShow('置换率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 47 && template_id != 48 && template_id != 53 && template_id != 54" width="92px" > 置换率(L/h)  </th>
25
           <th v-if=" isShow('置换量') && (template_id == 43)" width="92px"> 置换量(ml/h)  </th>
25
           <th v-if=" isShow('置换量') && (template_id == 43)" width="92px"> 置换量(ml/h)  </th>
26
-          <th v-if=" isShow('置换量') && ((template_id == 6 && org_id != 9919 && org_id !=10191) || org_id == 9779 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46 || template_id == 48 || template_id == 53)" width="92px"  > 置换量(ml)  </th>
27
-          <th v-if=" isShow('置换量') && ((template_id != 6 || org_id == 9919 || org_id == 10191) && org_id != 9779 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 48 && template_id != 53)" width="92px" > 置换量(L) </th>
26
+          <th v-if=" isShow('置换量') && ((template_id == 6 && org_id != 9919 && org_id !=10191) || org_id == 9779 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46 || template_id == 48 || template_id == 53 || template_id == 54)" width="92px"  > 置换量(ml)  </th>
27
+          <th v-if=" isShow('置换量') && ((template_id != 6 || org_id == 9919 || org_id == 10191) && org_id != 9779 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 48 && template_id != 53 && template_id != 54)" width="92px" > 置换量(L) </th>
28
           <th v-if=" isShow('SpO₂') && template_id != 6 && template_id != 10 && template_id != 11  " width="92px" > SpO₂(%) </th>
28
           <th v-if=" isShow('SpO₂') && template_id != 6 && template_id != 10 && template_id != 11  " width="92px" > SpO₂(%) </th>
29
           <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
29
           <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
30
           <th v-if="isShow('置换液流量') && template_id != 27" width="92px">置换液流量(ml/h)</th>
30
           <th v-if="isShow('置换液流量') && template_id != 27" width="92px">置换液流量(ml/h)</th>

+ 1 - 1
src/xt_pages/hospitalStation/components/deskPrescription.vue Просмотреть файл

3400
 
3400
 
3401
                 teamList.push(obj)
3401
                 teamList.push(obj)
3402
               } else if (project[i].type == 3 && project[i].status == 1) {
3402
               } else if (project[i].type == 3 && project[i].status == 1) {
3403
-                if (project[i].good_info.total <= 0) {
3403
+                if (project[i].good_info.sum_count <= 0) {
3404
                   num++
3404
                   num++
3405
                   this.$refs.tabProjectTeam.toggleRowSelection(row)
3405
                   this.$refs.tabProjectTeam.toggleRowSelection(row)
3406
                   this.$message.error(project[i].good_info.good_name + '库存不足')
3406
                   this.$message.error(project[i].good_info.good_name + '库存不足')

+ 1 - 1
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Просмотреть файл

3404
 
3404
 
3405
                   teamList.push(obj)
3405
                   teamList.push(obj)
3406
                 } else if (project[i].type == 3 && project[i].status == 1) {
3406
                 } else if (project[i].type == 3 && project[i].status == 1) {
3407
-                  if (project[i].good_info.total <= 0) {
3407
+                  if (project[i].good_info.sum_count <= 0) {
3408
                     num++
3408
                     num++
3409
                     this.$refs.tabProjectTeam.toggleRowSelection(row)
3409
                     this.$refs.tabProjectTeam.toggleRowSelection(row)
3410
                     this.$message.error(project[i].good_info.good_name + '库存不足')
3410
                     this.$message.error(project[i].good_info.good_name + '库存不足')

+ 13 - 19
src/xt_pages/user/dialysisSolution.vue Просмотреть файл

397
               ></el-input>
397
               ></el-input>
398
             </el-form-item>
398
             </el-form-item>
399
           </el-col>
399
           </el-col>
400
-          <el-col :span="8" v-if="isShows('置换量')" v-show="zhiShow">
401
-            <el-form-item label="置换量(L) : " prop="replacement_total">
402
-              <el-input
403
-                v-model="addPlan.replacement_total"
404
-                type="number"
405
-              ></el-input>
406
-            </el-form-item>
407
-          </el-col>
400
+         
408
 
401
 
409
           <el-col :span="8" v-if="isShows('钾')">
402
           <el-col :span="8" v-if="isShows('钾')">
410
             <el-form-item label="钾(mmol/L): " prop="kalium">
403
             <el-form-item label="钾(mmol/L): " prop="kalium">
517
               <el-input v-model="addPlan.special_medicine_other"></el-input>
510
               <el-input v-model="addPlan.special_medicine_other"></el-input>
518
             </el-form-item>
511
             </el-form-item>
519
           </el-col>
512
           </el-col>
520
-
513
+           <el-col :span="8" v-if="isShows('置换量') && (addPlan.mode == 2 || addPlan.mode == 5 || addPlan.mode == 12)">
514
+            <el-form-item label="置换量(L) : " prop="replacement_total">
515
+              <el-input
516
+                v-model="addPlan.replacement_total"
517
+                type="number"
518
+              ></el-input>
519
+            </el-form-item>
520
+          </el-col>
521
           <el-col :span="8">
521
           <el-col :span="8">
522
             <el-form-item
522
             <el-form-item
523
-              label="置换液:"
524
-              v-if="
525
-                isShows('置换液') &&
526
-                  this.$store.getters.xt_user.template_info.template_id != 6
523
+              label="置换液:" v-if="isShows('置换液') &&   (addPlan.mode == 2 || addPlan.mode == 5 || addPlan.mode == 12)
527
               "
524
               "
528
-              v-show="huShow"
529
             >
525
             >
530
               <el-select
526
               <el-select
531
                 v-model="addPlan.displace_liqui_part"
527
                 v-model="addPlan.displace_liqui_part"
544
             <el-form-item
540
             <el-form-item
545
               label="置换方式:"
541
               label="置换方式:"
546
               v-if="
542
               v-if="
547
-                isShows('置换液') &&
548
-                  this.$store.getters.xt_user.template_info.template_id == 6
543
+                isShows('置换液')   && (addPlan.mode == 2 || addPlan.mode == 5 || addPlan.mode == 12)
549
               "
544
               "
550
             >
545
             >
551
               <el-select
546
               <el-select
563
             </el-form-item>
558
             </el-form-item>
564
           </el-col>
559
           </el-col>
565
 
560
 
566
-          <el-col :span="8" v-if="isShows('置换液总量')" v-show="totalShow">
561
+          <el-col :span="8" v-if="isShows('置换液总量')  && (addPlan.mode == 2 || addPlan.mode == 5 || addPlan.mode == 12)">
567
             <el-form-item label="置换液总量(L)">
562
             <el-form-item label="置换液总量(L)">
568
               <el-input v-model="addPlan.displace_liqui_value"></el-input>
563
               <el-input v-model="addPlan.displace_liqui_value"></el-input>
569
             </el-form-item>
564
             </el-form-item>
900
         epo:"",
895
         epo:"",
901
         epo_count:"",
896
         epo_count:"",
902
         max_ultrafiltration_rate:"",
897
         max_ultrafiltration_rate:"",
903
-   
898
+        
904
       },
899
       },
905
       childPlan: {
900
       childPlan: {
906
         mode: '',
901
         mode: '',
1574
     openEdit(index, row) {
1569
     openEdit(index, row) {
1575
       console.log("ro2333333",row)
1570
       console.log("ro2333333",row)
1576
       this.current_index = index
1571
       this.current_index = index
1577
-
1578
       this.addPlan.id = row.id
1572
       this.addPlan.id = row.id
1579
       this.addPlan.mode = row.mode_id
1573
       this.addPlan.mode = row.mode_id
1580
       this.addPlan.mode_name = row.mode_name
1574
       this.addPlan.mode_name = row.mode_name