Browse Source

透析数据

XMLWAN 4 years ago
parent
commit
d6760e8e40

+ 2 - 3
src/xt_pages/data/components/drugs.vue View File

@@ -372,10 +372,9 @@
372 372
         // this.$refs.maintain.show();
373 373
       },
374 374
       openForm(id) {
375
-
375
+        this.current_id = id
376 376
         this.getAllManufacturer()
377 377
         if (id > 0) {
378
-          this.current_id = id
379 378
           let params = {
380 379
             id: this.current_id
381 380
           }
@@ -462,7 +461,7 @@
462 461
           }
463 462
           this.$refs.addDrugs.show(0, this.formValue)
464 463
         }
465
-      }, 
464
+      },
466 465
 
467 466
        deleteDurg(id,index){
468 467
          console.log("id",id)

+ 5 - 1
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

@@ -73,9 +73,13 @@
73 73
                      @click="open(4)"
74 74
                      type="primary">收费
75 75
           </el-button>
76
+
76 77
           <el-button size="small" @click="open(5)" type="primary"
77
-                    >退费
78
+               v-if="this.hisPatientInfo.id > 0 && this.order.id > 0 &&  this.order.order_status == 2" >退费
78 79
           </el-button>
80
+          <!-- <el-button size="small" @click="open(5)" type="primary"
81
+                    >退费
82
+          </el-button> -->
79 83
 
80 84
 
81 85
           <!--<el-button v-if="this.info.prescription_status >= 2" size="small" @click="open(7)" type="primary"-->

+ 4 - 2
src/xt_pages/stock/drugs/drugStockInOrderAdd.vue View File

@@ -429,7 +429,7 @@
429 429
               this.recordInfo.recordData[this.currentIndex].drug_id = val.selectedGoodInfo[i].id
430 430
               this.recordInfo.recordData[this.currentIndex].price = val.selectedGoodInfo[i].last_price.toString()
431 431
               this.recordInfo.recordData[this.currentIndex].retail_price = val.selectedGoodInfo[i].retail_price.toString()
432
-              // this.recordInfo.recordData[this.currentIndex].min_unit = val.selectedGoodInfo[i].min_unit
432
+              this.recordInfo.recordData[this.currentIndex].min_unit = val.selectedGoodInfo[i].min_unit
433 433
             } else {
434 434
               const tempForm = {}
435 435
               tempForm["id"] = 0;
@@ -487,7 +487,9 @@
487 487
           loading.close()
488 488
 
489 489
         })
490
-      }, typeName: function(drug_id) {
490
+      },
491
+       typeName: function(drug_id) {
492
+         console.log("3333333过年",this.goodInfo)
491 493
         let name = "";
492 494
         for (let i = 0; i < this.goodInfo.length; i++) {
493 495
           if (this.goodInfo[i].id == drug_id) {

+ 4 - 1
src/xt_pages/stock/drugs/drugStockOutOrderAdd.vue View File

@@ -417,6 +417,7 @@ export default {
417 417
       });
418 418
     },
419 419
     typeName: function(drug_id) {
420
+    
420 421
       let name = "";
421 422
       for (let i = 0; i < this.goodInfo.length; i++) {
422 423
         if (this.goodInfo[i].id == drug_id) {
@@ -425,7 +426,8 @@ export default {
425 426
         }
426 427
       }
427 428
       return name;
428
-    }, specificationName: function(drug_id) {
429
+    },
430
+     specificationName: function(drug_id) {
429 431
       let name = "";
430 432
       for (let i = 0; i < this.goodInfo.length; i++) {
431 433
         if (this.goodInfo[i].id == drug_id) {
@@ -469,6 +471,7 @@ export default {
469 471
       }
470 472
     },
471 473
     showDialog(index, row) {
474
+      
472 475
       const loading = this.$loading({
473 476
         lock: true,
474 477
         text: 'Loading',

+ 4 - 1
src/xt_pages/stock/drugs/drugsStockDialog/index.vue View File

@@ -151,6 +151,7 @@
151 151
 
152 152
       },
153 153
       comfirm: function(formName) {
154
+       
154 155
         this.goodInfoTableData = []
155 156
         this.$emit('dialog-comfirm', this.getValue())
156 157
         this.$refs.multipleTable.clearSelection()
@@ -158,6 +159,7 @@
158 159
       },
159 160
       getValue: function() {
160 161
         this.multipleSelection = []
162
+        console.log("库存22222",this.propForm.goods)
161 163
         for (let i = 0; i < this.propForm.goods.length; i++) {
162 164
           for (let a = 0; a < this.propForm.goods[i].drug_specs.length; a++) {
163 165
                 if (this.propForm.goods[i].drug_specs[a].isSelected) {
@@ -170,7 +172,8 @@
170 172
         }
171 173
         console.log(obj)
172 174
         return obj
173
-      }, goodTypeSelect: function(id) {
175
+      },
176
+       goodTypeSelect: function(id) {
174 177
         this.tempGoodInfo = []
175 178
         this.goodInfo = []
176 179
         for (let i = 0; i < this.propForm.goodInfo.length; i++) {