csx 3 år sedan
förälder
incheckning
659a68bdab

+ 2 - 2
src/xt_pages/hospitalStation/components/prescriptionTable.vue Visa fil

335
         })
335
         })
336
 
336
 
337
       }, deleteDrug: function(index, row) {
337
       }, deleteDrug: function(index, row) {
338
-        if (this.prescription.order_status == 2) {
338
+        if (this.prescription.order_status == 2  || this.prescription.order_status == 4) {
339
           this.$message.error('该处方已经结算,无法删除')
339
           this.$message.error('该处方已经结算,无法删除')
340
           return
340
           return
341
         }
341
         }
406
         return name
406
         return name
407
       },
407
       },
408
       deleteProject(row, i) {
408
       deleteProject(row, i) {
409
-        if (this.prescription.order_status == 2) {
409
+        if (this.prescription.order_status == 2 || this.prescription.order_status == 4) {
410
           this.$message.error('该处方已经结算,无法删除')
410
           this.$message.error('该处方已经结算,无法删除')
411
           return
411
           return
412
         }
412
         }

+ 6 - 5
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Visa fil

4359
                 this.form.diagnosis = []
4359
                 this.form.diagnosis = []
4360
               } else {
4360
               } else {
4361
                 for (let i = 0; i < response.data.data.info.diagnosis.split(',').length; i++) {
4361
                 for (let i = 0; i < response.data.data.info.diagnosis.split(',').length; i++) {
4362
-                  this.form.diagnosis.push(parseInt(response.data.data.info.diagnosis.split(',')[i]))
4362
+                  if(parseInt(response.data.data.info.diagnosis.split(',')[i]) !== NaN){
4363
+                    this.form.diagnosis.push(parseInt(response.data.data.info.diagnosis.split(',')[i]))
4364
+                  }
4363
                 }
4365
                 }
4364
               }
4366
               }
4365
-              console.log("~~~~~~")
4366
-              console.log(this.form.diagnosis)
4367
-              console.log(this.diagnoses)
4368
-              console.log("~~~~~~")
4367
+
4368
+
4369
+
4369
 
4370
 
4370
 
4371
 
4371
 
4372