Browse Source

11月14日 库存扣减更新

XMLWAN 3 years ago
parent
commit
7ff0610627

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

1758
                           style="width: 80px;text-align: left"
1758
                           style="width: 80px;text-align: left"
1759
                           v-if="!record.check"
1759
                           v-if="!record.check"
1760
                         ></div>
1760
                         ></div>
1761
-                      <div class="under_line" style="width: 80px;text-align: center" v-if="record.dialysis_order == null">
1761
+                      <div class="under_line" style="width: 80px;text-align: center" v-if="record.check != null && record.dialysis_order == null">
1762
                         <span style="height: 30px;display: inline-block;" v-if="setAdminUserES(record.check, 'creater') == ''">
1762
                         <span style="height: 30px;display: inline-block;" v-if="setAdminUserES(record.check, 'creater') == ''">
1763
                          {{getAdminUser(record.check, "creater")? getAdminUser(record.check, "creater") : "/" }}
1763
                          {{getAdminUser(record.check, "creater")? getAdminUser(record.check, "creater") : "/" }}
1764
                         </span>
1764
                         </span>
1765
                         <img style="height:30px;" :src="setAdminUserES(record.check, 'creater')" alt="" srcset="" v-else />
1765
                         <img style="height:30px;" :src="setAdminUserES(record.check, 'creater')" alt="" srcset="" v-else />
1766
                       </div>
1766
                       </div>
1767
-                      <div class="under_line" style="width: 80px;text-align: center" v-if="record.dialysis_order != null && record.dialysis_order.start_nurse == record.check.modifier">
1767
+                      <div class="under_line" style="width: 80px;text-align: center" v-if="record.check != null && record.dialysis_order != null && record.dialysis_order.start_nurse == record.check.modifier">
1768
                         <span style="height: 30px;display: inline-block;" v-if="setAdminUserES(record.check, 'creater') == ''">
1768
                         <span style="height: 30px;display: inline-block;" v-if="setAdminUserES(record.check, 'creater') == ''">
1769
                          {{getAdminUser(record.check, "creater")? getAdminUser(record.check, "creater") : "/" }}
1769
                          {{getAdminUser(record.check, "creater")? getAdminUser(record.check, "creater") : "/" }}
1770
                         </span>
1770
                         </span>
1771
                         <img style="height:30px;" :src="setAdminUserES(record.check, 'creater')" alt="" srcset="" v-else />
1771
                         <img style="height:30px;" :src="setAdminUserES(record.check, 'creater')" alt="" srcset="" v-else />
1772
                       </div>
1772
                       </div>
1773
-                      <div class="under_line" style="width: 80px;text-align: center" v-if="record.dialysis_order != null && record.dialysis_order.start_nurse == record.check.creater">
1773
+                      <div class="under_line" style="width: 80px;text-align: center" v-if="record.check != null && record.dialysis_order != null && record.dialysis_order.start_nurse == record.check.creater">
1774
                         <span style="height: 30px;display: inline-block;" v-if="setAdminUserES(record.check, 'modifier') == ''">
1774
                         <span style="height: 30px;display: inline-block;" v-if="setAdminUserES(record.check, 'modifier') == ''">
1775
                           {{getAdminUser(record.check, "modifier")? getAdminUser(record.check, "modifier") : "/" }}
1775
                           {{getAdminUser(record.check, "modifier")? getAdminUser(record.check, "modifier") : "/" }}
1776
                         </span>
1776
                         </span>
1777
                         <img style="height:30px;" :src="setAdminUserES(record.check, 'modifier')" alt="" srcset="" v-else />
1777
                         <img style="height:30px;" :src="setAdminUserES(record.check, 'modifier')" alt="" srcset="" v-else />
1778
                       </div>
1778
                       </div>
1779
-                      <div class="under_line" style="width: 80px;text-align: center" v-if="record.dialysis_order  != null && record.dialysis_order.start_nurse != record.check.creater && record.dialysis_order.start_nurse != record.check.modifier">
1779
+                      <div class="under_line" style="width: 80px;text-align: center" v-if="record.check != null && record.dialysis_order  != null && record.dialysis_order.start_nurse != record.check.creater && record.dialysis_order.start_nurse != record.check.modifier">
1780
                         <span style="height: 30px;display: inline-block;" v-if="setAdminUserES(record.check, 'creater') == ''">
1780
                         <span style="height: 30px;display: inline-block;" v-if="setAdminUserES(record.check, 'creater') == ''">
1781
                           {{getAdminUser(record.check, "creater")? getAdminUser(record.check, "creater") : "/" }}
1781
                           {{getAdminUser(record.check, "creater")? getAdminUser(record.check, "creater") : "/" }}
1782
                         </span>
1782
                         </span>

+ 2 - 2
src/xt_pages/dialysis/details/DialysisPrescription.vue View File

111
           <label>目标超滤量 : </label>
111
           <label>目标超滤量 : </label>
112
           <span class="content">{{ target_ultrafiltration != "0" ? target_ultrafiltration : ""}}</span>
112
           <span class="content">{{ target_ultrafiltration != "0" ? target_ultrafiltration : ""}}</span>
113
           
113
           
114
-          <span v-if="this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 43 && this.$store.getters.xt_user.template_info.template_id != 45  && this.$store.getters.xt_user.template_info.template_id != 46  && this.$store.getters.xt_user.template_info.template_id != 47 && this.$store.getters.xt_user.template_info.org_id != 9555"  class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
115
-          <span v-if="this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id != 40 || this.$store.getters.xt_user.template_info.template_id != 43 || this.$store.getters.xt_user.template_info.template_id != 45 || this.$store.getters.xt_user.template_info.template_id != 46 || this.$store.getters.xt_user.template_info.template_id != 47 || this.$store.getters.xt_user.template_info.org_id == 9555" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
114
+          <span v-if="this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 43 && this.$store.getters.xt_user.template_info.template_id != 45  && this.$store.getters.xt_user.template_info.template_id != 46  && this.$store.getters.xt_user.template_info.org_id != 9555"  class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
115
+          <span v-if="this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id != 40 || this.$store.getters.xt_user.template_info.template_id != 43 || this.$store.getters.xt_user.template_info.template_id != 45 || this.$store.getters.xt_user.template_info.template_id != 46  || this.$store.getters.xt_user.template_info.org_id == 9555" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
116
         </li>
116
         </li>
117
 
117
 
118
          <li v-if="isShow('目标超滤量') && this.$store.getters.xt_user.template_info.org_id == 10290">
118
          <li v-if="isShow('目标超滤量') && this.$store.getters.xt_user.template_info.org_id == 10290">

+ 2 - 2
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

87
                     </el-col>
87
                     </el-col>
88
 
88
 
89
                     <el-col :span="8"
89
                     <el-col :span="8"
90
-                            v-if="isShows('目标超滤量') && (this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22  || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28  || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 38 ||  this.$store.getters.xt_user.template_info.template_id == 40 ||  this.$store.getters.xt_user.template_info.template_id == 43 ||  this.$store.getters.xt_user.template_info.template_id == 45  ||  this.$store.getters.xt_user.template_info.template_id == 46 ||  this.$store.getters.xt_user.template_info.template_id == 47 || this.$store.getters.xt_user.template_info.org_id == 9555 )">
90
+                            v-if="isShows('目标超滤量') && (this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22  || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28  || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 38 ||  this.$store.getters.xt_user.template_info.template_id == 40 ||  this.$store.getters.xt_user.template_info.template_id == 43 ||  this.$store.getters.xt_user.template_info.template_id == 45  ||  this.$store.getters.xt_user.template_info.template_id == 46  || this.$store.getters.xt_user.template_info.org_id == 9555 )">
91
                         <el-form-item label="目标超滤量(ml):">
91
                         <el-form-item label="目标超滤量(ml):">
92
                             <el-input
92
                             <el-input
93
                                     type="number"
93
                                     type="number"
98
 
98
 
99
 
99
 
100
                     <el-col :span="8"
100
                     <el-col :span="8"
101
-                            v-if="isShows('目标超滤量')  && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 38 &&  this.$store.getters.xt_user.template_info.template_id != 40 &&  this.$store.getters.xt_user.template_info.template_id != 43 &&  this.$store.getters.xt_user.template_info.template_id != 45 &&  this.$store.getters.xt_user.template_info.template_id != 46  &&  this.$store.getters.xt_user.template_info.template_id != 47 && this.$store.getters.xt_user.template_info.org_id != 9555 ">
101
+                            v-if="isShows('目标超滤量')  && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 38 &&  this.$store.getters.xt_user.template_info.template_id != 40 &&  this.$store.getters.xt_user.template_info.template_id != 43 &&  this.$store.getters.xt_user.template_info.template_id != 45 &&  this.$store.getters.xt_user.template_info.template_id != 46   && this.$store.getters.xt_user.template_info.org_id != 9555 ">
102
                         <el-form-item label="目标超滤量(L):">
102
                         <el-form-item label="目标超滤量(L):">
103
                             <el-input
103
                             <el-input
104
                                     type="number"
104
                                     type="number"

+ 1 - 1
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

1578
     // this.form.monitoring_time = parseTime(new Date(), "{h}:{i}")
1578
     // this.form.monitoring_time = parseTime(new Date(), "{h}:{i}")
1579
     this.form.operate_time = new Date().getTime();
1579
     this.form.operate_time = new Date().getTime();
1580
     var symptoms = getDataConfig("hemodialysis", "symptoms");
1580
     var symptoms = getDataConfig("hemodialysis", "symptoms");
1581
-    console.log("sysmptoms3333333333", symptoms);
1581
+    
1582
     this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
1582
     this.anticoagulantsConfit = this.$store.getters.anticoagulants_confit;
1583
     //console.log("抗凝剂",this.anticoagulantsConfit)
1583
     //console.log("抗凝剂",this.anticoagulantsConfit)
1584
     this.bloodPressureMmonitoringSite = getDataConfig(
1584
     this.bloodPressureMmonitoringSite = getDataConfig(