Browse Source

11月14日 库存扣减更新

XMLWAN 3 years ago
parent
commit
c459fcca63
1 changed files with 11 additions and 11 deletions
  1. 11 11
      src/xt_pages/dialysis/details/dialog/computer_dialog.vue

+ 11 - 11
src/xt_pages/dialysis/details/dialog/computer_dialog.vue View File

@@ -26,7 +26,7 @@
26 26
             <el-option v-for="(admin, index) in adminRoles" :key="index" :value="admin.id" :label="admin.name"></el-option>
27 27
           </el-select>
28 28
         </el-form-item>
29
-        
29
+
30 30
         <el-form-item label="换药护士"  v-if="isShowFiled('换药护士')">
31 31
           <el-select v-model="form.change_nurse" placeholder="换药护士">
32 32
             <el-option v-for="(admin, index) in adminRoles" :key="index" :value="admin.id" :label="admin.name"></el-option>
@@ -52,8 +52,8 @@
52 52
             </el-select>
53 53
         </el-form-item>
54 54
 
55
-     
56
-        <el-form-item label="引血(ml/min)" v-show="引血">
55
+
56
+        <el-form-item label="引血(ml/min)" v-if="isShowFiled('引血')">
57 57
           <el-input type="number" v-model="form.blood_drawing" style="width:200px;"></el-input>
58 58
         </el-form-item>
59 59
 
@@ -157,13 +157,13 @@
157 157
       this.form.nurse_id = this.dialysis_order.id == 0 ? this.$store.getters.xt_user.user.id : this.dialysis_order.start_nurse
158 158
       this.form.puncture_nurse_id = this.dialysis_order.id == 0 ? this.$store.getters.xt_user.user.id : this.dialysis_order.puncture_nurse
159 159
       this.form.washpipe_nurse = this.dialysis_order.id == 0 ? this.$store.getters.xt_user.user.id : this.dialysis_order.washpipe_nurse
160
-      
161
-     
160
+
161
+
162 162
       if (this.form.puncture_nurse_id == 0) {
163 163
         this.form.puncture_nurse_id = this.$store.getters.xt_user.user.id
164 164
       }
165
-      
166
-     
165
+
166
+
167 167
     },
168 168
     watch: {
169 169
       patient:{
@@ -203,7 +203,7 @@
203 203
         if(this.admins.length > 0 ){
204 204
           for(let i=0;i<this.admins.length;i++){
205 205
             this.adminRoles.push(this.admins[i])
206
-          } 
206
+          }
207 207
         }
208 208
         console.log("人员",this.adminRoles)
209 209
       }
@@ -245,7 +245,7 @@
245 245
         ParamsQuery['record_date'] = this.$route.query.date
246 246
         console.log("列表33333333333333333333",ParamsQuery)
247 247
         // console.log("路由",this.$route.query.date)
248
-       
248
+
249 249
         GetSchedualNumber(ParamsQuery).then(response => {
250 250
           if (response.data.state == 0) {
251 251
             this.$message.error(response.data.msg)
@@ -371,7 +371,7 @@
371 371
             // axios.get('/api/index/uppatient?org_id='+ orgId + '&admin_user_id='+ this.form.nurse_id + '&patient_id=' + this.patient_id + '&up_time=' + (new Date(this.form.start_time).getTime() / 1000)).then((res) => {
372 372
             //   console.log('res',res.data)
373 373
 
374
-            // }) 
374
+            // })
375 375
             this.hide()
376 376
             this.$emit('monitor', resp.data.monitor)
377 377
             this.$message.success('上机成功')
@@ -379,7 +379,7 @@
379 379
             this.$message.error(resp.msg)
380 380
           }
381 381
         })
382
-      }, 
382
+      },
383 383
       editOrder() {
384 384
         let ParamsQuery = {}
385 385
         ParamsQuery['schedual_type'] = this.schedual_type