Kaynağa Gözat

合并带嘛

csx 2 yıl önce
ebeveyn
işleme
659a68bdab

+ 2 - 2
src/xt_pages/hospitalStation/components/prescriptionTable.vue Dosyayı Görüntüle

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

+ 6 - 5
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Dosyayı Görüntüle

@@ -4359,13 +4359,14 @@ export default {
4359 4359
                 this.form.diagnosis = []
4360 4360
               } else {
4361 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