ソースを参照

库存显示展示

XMLWAN 2 年 前
コミット
e688684940

+ 1 - 1
src/xt_pages/Pharmacy/DrugDispensing.vue ファイルの表示

@@ -484,7 +484,7 @@ export default {
484 484
       isVisibility: "",
485 485
       propsTable: "",
486 486
       doctorList: [],
487
-      admin_user_id: 0,
487
+      admin_user_id:this.store.getters.xt_user.user.id,
488 488
       waiting_drug: [], //待发药列表
489 489
       issued_drug: [], //已发药列表
490 490
       currentRow: null,

+ 7 - 2
src/xt_pages/dialysis/PatientBox.vue ファイルの表示

@@ -158,16 +158,21 @@
158 158
         </p>
159 159
 
160 160
 
161
-        <p v-if="$store.getters.xt_user.org.id!=9671 && $store.getters.xt_user.org.id!=9675 && $store.getters.xt_user.org.id!=10340">
161
+        <p v-if="$store.getters.xt_user.org.id!=9675 && $store.getters.xt_user.org.id!=10340">
162 162
           透析器/灌流器:{{schedule.prescription? schedule.prescription.dialyzer_perfusion_apparatus: ""}}
163 163
           <span v-if="schedule.prescription != null">{{schedule.prescription? schedule.prescription.dialysis_dialyszers: ""}}</span>
164 164
           <span v-if="schedule.prescription != null &&schedule.prescription.dialysis_irrigation != ''">/</span>
165 165
           <span v-if="schedule.prescription != null">{{schedule.prescription? schedule.prescription.dialysis_irrigation: ""}}</span>
166 166
         </p>
167
-        <p v-if="$store.getters.xt_user.org.id==9671 || $store.getters.xt_user.org.id==9675 || $store.getters.xt_user.org.id==10340">
167
+        <p v-if="$store.getters.xt_user.org.id==9675 || $store.getters.xt_user.org.id==10340">
168 168
              透析器/灌流器:
169 169
              <span v-if="schedule.dialysis_order!=null">{{schedule.dialysis_order.dialysis_dialyszers}}</span>
170 170
              <span v-if="schedule.dialysis_order!=null">{{schedule.dialysis_order.dialysis_irrigation}}</span>
171
+             
172
+        </p>
173
+        <p v-if="$store.getters.xt_user.org.id==9671 || $store.getters.xt_user.org.id==10445">
174
+           滤过器:
175
+           <span v-if="schedule.prescription != null">{{schedule.prescription? schedule.prescription.dialysis_strainer: ""}}</span>
171 176
         </p>
172 177
       
173 178
         <p v-if="$store.getters.xt_user.org.id==9671 || $store.getters.xt_user.org.id==9675 || $store.getters.xt_user.org.id==10340">

+ 5 - 3
src/xt_pages/dialysis/details/consumable/dialysisDrug.vue ファイルの表示

@@ -258,7 +258,8 @@
258 258
             return v.getTime() < new Date().getTime() - 86400000;
259 259
           },
260 260
         },
261
-        zoneIdList:[]
261
+        zoneIdList:[],
262
+        partion_str:"",
262 263
       }
263 264
     },
264 265
     created() {
@@ -416,7 +417,8 @@
416 417
          if(this.partion_type!=0){
417 418
             str = this.partion_type.join(",")
418 419
          }
419
-          
420
+         this.partion_str = ""
421
+         this.partion_str = str  
420 422
           var params = {
421 423
             schedule_type:this.schedule_type,
422 424
             partion_type:str,
@@ -739,7 +741,7 @@
739 741
        this.$router.push({path:'/dialysis/consumable/dialysisdrugprint?limit='+this.query.limit+"&page="+this.query.page+"&partition_id="+this.query.partition_id+"&schedule_date="+this.query.schedule_date+"&schedule_type="+this.query.schedule_type+"&keywords="+this.query.keywords+"&ids="+this.ids})
740 742
       },
741 743
       toPrintOne(){
742
-        this.$router.push({path:'/dialysis/consumable/dialysisdrugcountprint?schedule_type='+this.schedule_type+"&partion_type="+this.partion_type+"&schedule_date="+this.query.schedule_date+"&is_open="+this.config.is_open})
744
+        this.$router.push({path:'/dialysis/consumable/dialysisdrugcountprint?schedule_type='+this.schedule_type+"&partion_type="+this.partion_str+"&schedule_date="+this.query.schedule_date+"&is_open="+this.config.is_open})
743 745
       },
744 746
      changeScheduleType(){
745 747
       this.tableList = []

+ 7 - 4
src/xt_pages/dialysis/details/consumable/dialysisGood.vue ファイルの表示

@@ -476,6 +476,7 @@
476 476
         ids:"",
477 477
         org_id:0,
478 478
         zoneIdList:[],
479
+        pationType_str:"",
479 480
       }
480 481
     },
481 482
     created() {
@@ -773,7 +774,8 @@
773 774
          if(this.partion_type != 0){
774 775
             str = this.partion_type.join(',')
775 776
          }
776
-        
777
+         this.pationType_str = ""
778
+         this.pationType_str = str
777 779
         console.log("str-==-------",str)
778 780
         var params = {
779 781
           schedule_type:this.schedule_type,
@@ -1126,7 +1128,8 @@
1126 1128
          if(this.partion_type != 0){
1127 1129
             str = this.partion_type.join(',')
1128 1130
          }
1129
-        
1131
+         this.pationType_str=""
1132
+         this.pationType_str = str
1130 1133
          var params = {
1131 1134
           schedule_type:this.schedule_type,
1132 1135
           partion_type:str,
@@ -1999,10 +2002,10 @@
1999 2002
      this.$router.push({path:'/dialysis/consumable/dialysisgoodprint?limit='+this.query.limit+"&page="+this.query.page+"&partition_id="+this.query.partition_id+"&schedule_date="+this.query.schedule_date+"&schedule_type="+this.query.schedule_type+"&keywords="+this.query.keywords+"&ids="+this.ids})
2000 2003
     },
2001 2004
     toPrintOne(){
2002
-      this.$router.push({path:"/dialysis/consumable/dialysisgoodcountprint?schedule_type="+this.schedule_type+"&partion_type="+this.partion_type+"&schedule_date="+this.query.schedule_date+"&is_open="+this.his_config.is_open})
2005
+      this.$router.push({path:"/dialysis/consumable/dialysisgoodcountprint?schedule_type="+this.schedule_type+"&partion_type="+this.pationType_str+"&schedule_date="+this.query.schedule_date+"&is_open="+this.his_config.is_open})
2003 2006
     },
2004 2007
     toHisPrint(){
2005
-      this.$router.push({path:"/dialysis/consumable/dialysisgoodcountprint?schedule_type="+this.schedule_type+"&partion_type="+this.partion_type+"&schedule_date="+this.query.schedule_date+"&is_open="+this.his_config.is_open})
2008
+      this.$router.push({path:"/dialysis/consumable/dialysisgoodcountprint?schedule_type="+this.schedule_type+"&partion_type="+this.pationType_str+"&schedule_date="+this.query.schedule_date+"&is_open="+this.his_config.is_open})
2006 2009
     },
2007 2010
     toExportListOne(){
2008 2011
       import('@/vendor/Export2Excel').then(excel => {

File diff suppressed because it is too large
+ 1048 - 1040
src/xt_pages/outpatientCharges/statementPrint.vue


+ 1 - 0
src/xt_pages/stock/drugs/components/drugQuery.vue ファイルの表示

@@ -356,6 +356,7 @@ export default {
356 356
      goodList:[
357 357
       {id:1,name:"全部药品"},
358 358
       {id:2,name:"库存预警"},
359
+      {id:3,name:"库存为零"},
359 360
      ],
360 361
      houseList:[],
361 362
      storehouse_id:0,

+ 1 - 0
src/xt_pages/stock/query/goodNewQuery.vue ファイルの表示

@@ -320,6 +320,7 @@ export default {
320 320
      goodList:[
321 321
       {id:1,name:"全部耗材"},
322 322
       {id:2,name:"库存预警"},
323
+      {id:3,name:"库存为零"},
323 324
      ],
324 325
      houseList:[],
325 326
      storehouse_id:0,

+ 49 - 6
src/xt_pages/user/dialysisSolution.vue ファイルの表示

@@ -226,6 +226,7 @@
226 226
         <el-row :gutter="20">
227 227
           <el-col :span="6"  v-if="isShows('置换液') && (current_solution.mode_id == 2 || current_solution.mode_id == 5 || current_solution.mode_id == 12)"><div class="grid-content bg-purple">置换液:{{getDisplaceLiqui(current_solution.displace_liqui_part)}}</div></el-col>
228 228
           <el-col :span="6"  v-if="isShows('置换液总量') && (current_solution.mode_id == 2 || current_solution.mode_id == 5 || current_solution.mode_id == 12)"><div class="grid-content bg-purple">置换液总量:{{current_solution.displace_liqui_value}}</div></el-col>
229
+           <el-col :span="6"  v-if="isShows('滤过器')"><div class="grid-content bg-purple">滤过器:{{current_solution.dialysis_strainer}}</div></el-col>
229 230
         </el-row>
230 231
         <el-row :gutter="20">
231 232
           <el-col :span="6"  v-if="isShows('吸氧')"><div class="grid-content bg-purple">吸氧:
@@ -512,9 +513,17 @@
512 513
             </el-form-item>
513 514
           </el-col>
514 515
 
515
-          <el-col :span="8" v-if="isShows('灌流器') && (addPlan.mode == 2 || addPlan.mode == 3 || addPlan.mode == 12 || addPlan.mode == 5)">
516
-            <el-form-item label="灌流器:">
517
-              <el-input v-model="dialysis_irrigation" @focus="showInnerDialog('7')"></el-input>
516
+          <el-col :span="8" v-if="isShows('透析器')">
517
+            <el-form-item label="透析器:">
518
+              <el-input v-model="dialysis_dialyszers" @focus="showInnerDialog('6')"></el-input>
519
+            </el-form-item>
520
+          </el-col>
521
+
522
+
523
+
524
+          <el-col :span="8" v-if="isShows('滤过器')">
525
+            <el-form-item label="滤过器:">
526
+              <el-input v-model="dialysis_strainer" @focus="showInnerDialog('11')"></el-input>
518 527
             </el-form-item>
519 528
           </el-col>
520 529
 
@@ -1074,6 +1083,7 @@
1074 1083
           epo_count:"",
1075 1084
           max_ultrafiltration_rate:"",
1076 1085
           amylaceum:"",
1086
+          dialysis_strainer:"",
1077 1087
         },
1078 1088
         childPlan: {
1079 1089
           mode: '',
@@ -1190,7 +1200,8 @@
1190 1200
           anticoagulant_weichi: '',
1191 1201
           anticoagulant_zongliang: '',
1192 1202
           anticoagulant_gaimingcheng: '',
1193
-          anticoagulant_gaijiliang: ''
1203
+          anticoagulant_gaijiliang: '',
1204
+          dialysis_strainer:"",
1194 1205
         },
1195 1206
         queryParams: {
1196 1207
           page: 1,
@@ -1202,6 +1213,8 @@
1202 1213
         dialyzers:[],
1203 1214
         dialysis_dialyszers:'',
1204 1215
         dialysis_irrigation:"",
1216
+        dialysis_strainer:"",
1217
+        dialysisStrainerList:[],
1205 1218
         plasmaSeparatorList:[],
1206 1219
         bilirubinAdsorptionColumn:[],
1207 1220
         oxygenList:[
@@ -1333,6 +1346,17 @@
1333 1346
             this.InnerDialogProps.selected = this.addPlan.puncture_needle
1334 1347
             this.InnerDialogProps.isShowTextArea = false
1335 1348
 
1349
+            break
1350
+           case '11':
1351
+            for(let i=0;i<this.dialysisStrainerList.length;i++){
1352
+              this.dialysisStrainerList[i].name = this.dialysisStrainerList[i].specification_name
1353
+            }
1354
+            this.InnerDialogProps.values = this.dialysisStrainerList
1355
+            this.InnerDialogProps.titles = '滤过器'
1356
+            this.InnerDialogProps.type = 'dialysis_strainer'
1357
+            this.InnerDialogProps.selected = this.dialysis_strainer
1358
+            this.InnerDialogProps.isShowTextArea = false
1359
+
1336 1360
             break
1337 1361
         }
1338 1362
       },
@@ -1358,6 +1382,9 @@
1358 1382
           case 'puncture_needle':
1359 1383
             this.addPlan.puncture_needle = val.value.join(',')
1360 1384
             break
1385
+          case 'dialysis_strainer':
1386
+             this.dialysis_strainer = val.value.join(',')
1387
+            break
1361 1388
         }
1362 1389
       },
1363 1390
       innerDialogCancle: function() {
@@ -1661,6 +1688,7 @@
1661 1688
             }
1662 1689
             this.addPlan.dialysis_dialyszers = this.dialysis_dialyszers
1663 1690
             this.addPlan.dialysis_irrigation = this.dialysis_irrigation
1691
+            this.addPlan.dialysis_strainer = this.dialysis_strainer
1664 1692
             this.addPlan.mode_id = parseInt(this.addPlan.mode_id)
1665 1693
             if(this.addPlan.mode!=2 && this.addPlan.mode!=5&&this.addPlan.mode!=12){
1666 1694
               this.addPlan.displace_liqui_part = 0
@@ -1727,6 +1755,7 @@
1727 1755
                 this.current_solution.epo_count = response.data.data.solution.epo_count
1728 1756
                 this.current_solution.max_ultrafiltration_rate = response.data.data.solution.max_ultrafiltration_rate
1729 1757
                 this.current_solution.remark = response.data.data.solution.remark
1758
+                this.current_solution.dialysis_strainer = response.data.data.dialysis_strainer
1730 1759
                 this.FindePatientDialysisLongSolutions()
1731 1760
                 return false
1732 1761
               }
@@ -1745,6 +1774,7 @@
1745 1774
             const mode = '1'
1746 1775
             this.addPlan.dialysis_dialyszers = this.dialysis_dialyszers
1747 1776
             this.addPlan.dialysis_irrigation = this.dialysis_irrigation
1777
+            this.addPlan.dialysis_strainer = this.dialysis_strainer
1748 1778
             this.addPlan.mode_id = parseInt(this.addPlan.mode_id)
1749 1779
             console.log("add",this.addPlan)
1750 1780
             createPatientDialysisSolution(
@@ -1796,7 +1826,7 @@
1796 1826
         this.getDialysisSolutionDetailList()
1797 1827
       },
1798 1828
       openEdit(index, row) {
1799
-
1829
+        console.log("row-------",row)
1800 1830
         this.current_index = index
1801 1831
         this.addPlan.id = row.id
1802 1832
         this.addPlan.mode = row.mode_id
@@ -1924,10 +1954,13 @@
1924 1954
         this.addPlan.dialysis_dialyszers = row.dialysis_dialyszers
1925 1955
         this.dialysis_irrigation = row.dialysis_irrigation
1926 1956
         this.dialysis_dialyszers = row.dialysis_dialyszers
1957
+        this.dialysis_strainer = row.dialysis_strainer
1958
+        this.addPlan.dialysis_strainer = row.dialysis_strainer
1927 1959
         this.addPlan.oxygen_uptake = row.oxygen_uptake
1928 1960
         this.addPlan.max_ultrafiltration_rate = row.max_ultrafiltration_rate
1929 1961
         this.addPlan.oxygen_flow = row.oxygen_flow
1930 1962
         this.addPlan.oxygen_time = row.oxygen_time
1963
+       
1931 1964
         if(row.oxygen_uptake == 1){
1932 1965
           this.oxygenShow = true
1933 1966
         }
@@ -2112,6 +2145,7 @@
2112 2145
             if(this.stockType.length >0 ){
2113 2146
               var arr = []
2114 2147
               var arrTwo = []
2148
+              var arrThree = []
2115 2149
               for(let i=0;i<this.stockType.length;i++){
2116 2150
                 if(this.stockType[i].stock_attribute == 2){
2117 2151
                   arr.push(this.stockType[i])
@@ -2119,9 +2153,13 @@
2119 2153
                 if(this.stockType[i].stock_attribute == 3){
2120 2154
                   arrTwo.push(this.stockType[i])
2121 2155
                 }
2156
+                 if(this.stockType[i].stock_attribute == 4){
2157
+                  arrThree.push(this.stockType[i])
2158
+                }
2122 2159
               }
2123 2160
               var dialyzator = []
2124 2161
               var irrigation = []
2162
+              var dialysisStrainer = []
2125 2163
               for(let i=0;i<arr.length;i++){
2126 2164
                 for(let j=0;j<arr[i].GoodInfo.length;j++){
2127 2165
                   dialyzator.push(arr[i].GoodInfo[j])
@@ -2129,7 +2167,12 @@
2129 2167
               }
2130 2168
               console.log("透析器",dialyzator)
2131 2169
               this.dialyzers = dialyzator
2132
-
2170
+              for(let i=0;i<arrThree.length;i++){
2171
+                for(let j=0;j<arrThree[i].GoodInfo.length;j++){
2172
+                  dialysisStrainer.push(arrThree[i].GoodInfo[j])
2173
+                }
2174
+              }
2175
+              this.dialysisStrainerList = dialysisStrainer
2133 2176
               for(let i=0;i<arrTwo.length;i++){
2134 2177
                 for(let j=0;j<arrTwo[i].GoodInfo.length;j++){
2135 2178
                   irrigation.push(arrTwo[i].GoodInfo[j])