Browse Source

新分支

28169 1 year ago
parent
commit
57d3960a04

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

970
                       <div class="inline_block" style="flex: 1">
970
                       <div class="inline_block" style="flex: 1">
971
                         透前体重:
971
                         透前体重:
972
                         <div
972
                         <div
973
+                          v-if="org_id == 10580"
973
                           class="under_line"
974
                           class="under_line"
974
                           style="width: 70px; text-align: center"
975
                           style="width: 70px; text-align: center"
975
                         >
976
                         >
985
                               : "/"
986
                               : "/"
986
                           }}
987
                           }}
987
                         </div>
988
                         </div>
989
+                        <div
990
+                          v-if="org_id == 10580"
991
+                          class="under_line"
992
+                          style="width: 70px; text-align: center"
993
+                        >
994
+                          {{
995
+                            record.assessment_before_dislysis &&
996
+                            record.assessment_before_dislysis.weight_before
997
+                              ? parseFloat(record.assessment_before_dislysis.weight_before).toFixed(1)
998
+                              : "/"
999
+                          }}
1000
+                        </div>
988
                         kg
1001
                         kg
989
                       </div>
1002
                       </div>
990
                       <div class="inline_block" style="flex: 1" v-if=" org_id!=10469">
1003
                       <div class="inline_block" style="flex: 1" v-if=" org_id!=10469">

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

573
                 org_id!=10551 &&
573
                 org_id!=10551 &&
574
                 template_id != 43 &&
574
                 template_id != 43 &&
575
                 template_id != 47 &&
575
                 template_id != 47 &&
576
-                org_id!=10558) ||
576
+                org_id!=10558 &&
577
+                org_id!=10517) ||
577
                 org_id == 9779 ||
578
                 org_id == 9779 ||
578
                 template_id == 11 ||
579
                 template_id == 11 ||
579
                 template_id == 20 ||
580
                 template_id == 20 ||
605
             width="100"
606
             width="100"
606
             v-if="
607
             v-if="
607
               isShow('置换量') &&
608
               isShow('置换量') &&
608
-              (template_id != 6 || org_id == 9919 || org_id == 10191 || org_id == 10478 || org_id == 10551 || org_id ==10558) &&
609
+              (template_id != 6 || org_id == 9919 || org_id == 10191 || org_id == 10478 || org_id == 10551 || org_id ==10558 || org_id ==10517) &&
609
               template_id != 9779 &&
610
               template_id != 9779 &&
610
               template_id != 11 &&
611
               template_id != 11 &&
611
               template_id != 20 &&
612
               template_id != 20 &&

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

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 == 48 || template_id == 53  || template_id == 54 || template_id == 56 || org_id == 10432 || org_id == 10445 || org_id == 10410) && org_id!=10558" 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 == 48 || template_id == 53  || template_id == 54 || template_id == 56 || org_id == 10432 || org_id == 10445 || org_id == 10410) && org_id!=10558" width="92px" > 置换率(ml/min) </th>
25
           <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 != 48 && template_id != 53 && template_id != 54 && template_id != 56 && org_id!=10432 && org_id!=10445 && org_id!=10410) || org_id == 10558" width="92px" > 置换率(L/h)  </th>
25
           <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 != 48 && template_id != 53 && template_id != 54 && template_id != 56 && org_id!=10432 && org_id!=10445 && org_id!=10410) || org_id == 10558" width="92px" > 置换率(L/h)  </th>
26
           <th v-if=" isShow('置换量') && (template_id == 43)" width="92px"> 置换量(ml/h)  </th>
26
           <th v-if=" isShow('置换量') && (template_id == 43)" width="92px"> 置换量(ml/h)  </th>
27
-          <th v-if=" isShow('置换量') && ((template_id == 6 && org_id != 9919 && org_id !=10191 && org_id!=10478 && org_id!=10346) || 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 || template_id == 56 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 10432  || this.$store.getters.xt_user.template_info.org_id == 10445 ) && org_id!=10558" width="92px"  > 置换量(ml)  </th>
28
-          <th v-if=" isShow('置换量') && ((template_id != 6 || org_id == 9919 || org_id == 10191 || org_id == 10478 || org_id ==10346) && 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 && template_id != 56 && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432  && this.$store.getters.xt_user.template_info.org_id != 10445) || org_id == 10558" width="92px" > 置换量(L) </th>
27
+          <th v-if=" isShow('置换量') && ((template_id == 6 && org_id != 9919 && org_id !=10191 && org_id!=10478 && org_id!=10346 && org_id!=10517) || 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 || template_id == 56 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 10432  || this.$store.getters.xt_user.template_info.org_id == 10445 ) && org_id!=10558" width="92px"  > 置换量(ml)  </th>
28
+          <th v-if=" isShow('置换量') && ((template_id != 6 || org_id == 9919 || org_id == 10191 || org_id == 10478 || org_id ==10346 || org_id ==10517) && 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 && template_id != 56 && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432  && this.$store.getters.xt_user.template_info.org_id != 10445) || org_id == 10558" width="92px" > 置换量(L) </th>
29
           <th v-if=" isShow('SpO₂') && template_id != 6 && template_id != 10 && template_id != 11  " width="92px" > SpO₂(%) </th>
29
           <th v-if=" isShow('SpO₂') && template_id != 6 && template_id != 10 && template_id != 11  " width="92px" > SpO₂(%) </th>
30
           <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
30
           <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
31
           <th v-if="isShow('置换液流量') && template_id != 27 && template_id != 60" width="92px">置换液流量(ml/h)</th>
31
           <th v-if="isShow('置换液流量') && template_id != 27 && template_id != 60" width="92px">置换液流量(ml/h)</th>

+ 6 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

986
                         class="under_line"
986
                         class="under_line"
987
                         style="width: 70px; text-align: center"
987
                         style="width: 70px; text-align: center"
988
                       >
988
                       >
989
-                      <span v-if="org_id !=10447 && org_id != 9675">{{
989
+                      <span v-if="org_id !=10447 && org_id != 9675 && org_id!=10580">{{
990
                           predialysis.weight_before
990
                           predialysis.weight_before
991
                             ? parseFloat(
991
                             ? parseFloat(
992
                                 predialysis.weight_before -
992
                                 predialysis.weight_before -
1005
                             : "未称重"
1005
                             : "未称重"
1006
                         }}
1006
                         }}
1007
                        </span>
1007
                        </span>
1008
+                       <span v-if="org_id ==10580">
1009
+                        {{
1010
+                          predialysis.weight_before? parseFloat(predialysis.weight_before).toFixed(1): "未称重"
1011
+                        }}
1012
+                       </span>
1008
                       </div>
1013
                       </div>
1009
                       kg
1014
                       kg
1010
                     </div>
1015
                     </div>

+ 2 - 2
src/xt_pages/role/admin.vue View File

224
           style="float:left"
224
           style="float:left"
225
           @click="toAutoDrug">自动生成</el-button> -->
225
           @click="toAutoDrug">自动生成</el-button> -->
226
 
226
 
227
-
227
+<!-- 
228
          <el-button
228
          <el-button
229
           type="primary"
229
           type="primary"
230
           size="small"
230
           size="small"
231
           icon="el-icon-circle-plus-outline"
231
           icon="el-icon-circle-plus-outline"
232
           style="float:left"
232
           style="float:left"
233
-          @click="toAutoDiagnose">自动脚本</el-button> 
233
+          @click="toAutoDiagnose">自动脚本</el-button>  -->
234
      </div>
234
      </div>
235
 
235
 
236
 
236
 

+ 18 - 4
src/xt_pages/stock/drugs/drugStockOutOrder.vue View File

1570
       getExportOutOrderDrugList(params).then((response) => {
1570
       getExportOutOrderDrugList(params).then((response) => {
1571
         if (response.data.state == 1) {
1571
         if (response.data.state == 1) {
1572
           var list = response.data.data.list;
1572
           var list = response.data.data.list;
1573
-        
1573
+          if(list!=null){
1574
+            for(let i=0;i<list.length;i++){
1575
+              list[i].count_one =0
1576
+              if(list[i].count_unit == list[i].max_unit && list[i].max_unit!=list[i].min_unit){
1577
+                 list[i].count_one = list[i].count * list[i].min_number
1578
+              }
1579
+              if(list[i].count_unit == list[i].min_unit && list[i].max_unit!=list[i].min_unit){
1580
+                 list[i].count_one = list[i].count 
1581
+              }
1582
+
1583
+              if(list[i].count_unit == list[i].max_unit && list[i].max_unit==list[i].min_unit){
1584
+                 list[i].count_one = list[i].count 
1585
+              }
1586
+            }
1587
+          }
1574
           this.exportList = list;
1588
           this.exportList = list;
1575
           this.exportLoding = false
1589
           this.exportLoding = false
1576
           this.manufacturerList = response.data.data.manufacturerList;
1590
           this.manufacturerList = response.data.data.manufacturerList;
1631
             this.exportList[i].dealer = this.dealerList[z].dealer_name;
1645
             this.exportList[i].dealer = this.dealerList[z].dealer_name;
1632
           }
1646
           }
1633
         }
1647
         }
1634
-        if(this.exportList[i].retail_price ==0){
1635
-           this.exportList[i].retail_price = (this.exportList[i].count * this.exportList[i].price).toFixed(2)
1636
-        }
1648
+       
1649
+        this.exportList[i].retail_price = (this.exportList[i].count_one * this.exportList[i].min_price).toFixed(2)
1650
+        
1637
         this.exportList[i].ctime = this.getTime(this.exportList[i].ctime)
1651
         this.exportList[i].ctime = this.getTime(this.exportList[i].ctime)
1638
       }
1652
       }
1639
 
1653
 

+ 3 - 4
src/xt_pages/stock/drugs/drugStockOutOrderEdit.vue View File

1001
               "{y}-{h}-{d}"
1001
               "{y}-{h}-{d}"
1002
             );
1002
             );
1003
 
1003
 
1004
-            response.data.data.list[i].stock_count =
1005
-              response.data.data.list[i].stock_count;
1006
-            response.data.data.list[i].last_price =
1007
-              response.data.data.list[i].last_price;
1004
+            response.data.data.list[i].stock_count = response.data.data.list[i].stock_count;
1005
+            response.data.data.list[i].last_price = response.data.data.list[i].last_price;
1006
+            response.data.data.list[i].patient_id = response.data.data.list[i].patient_id
1008
             this.recordInfo.recordData.push(response.data.data.list[i]);
1007
             this.recordInfo.recordData.push(response.data.data.list[i]);
1009
           }
1008
           }
1010
 
1009
 

+ 1 - 0
src/xt_pages/stock/stockOutOrderEdit.vue View File

913
             response.data.data.list[i].remark = response.data.data.list[i].remark
913
             response.data.data.list[i].remark = response.data.data.list[i].remark
914
             response.data.data.list[i].buy_price = response.data.data.list[i].buy_price.toString()
914
             response.data.data.list[i].buy_price = response.data.data.list[i].buy_price.toString()
915
             response.data.data.list[i].stock_count = response.data.data.list[i].stock_count.toString()
915
             response.data.data.list[i].stock_count = response.data.data.list[i].stock_count.toString()
916
+            response.data.data.list[i].patient_id = response.data.data.list[i].patient_id
916
             if(response.data.data.list[i].dealer == 0){
917
             if(response.data.data.list[i].dealer == 0){
917
                response.data.data.list[i].dealer = ""
918
                response.data.data.list[i].dealer = ""
918
             }
919
             }