XMLWAN 4 år sedan
förälder
incheckning
ba314e3ec1

+ 26 - 1
src/store/modules/globalConfig.js Visa fil

1796
     {
1796
     {
1797
       id: 21,
1797
       id: 21,
1798
       name: '人份'
1798
       name: '人份'
1799
-    }
1799
+    },
1800
+    {
1801
+      id: 22,
1802
+      name: 'kg'
1803
+    },
1804
+    {
1805
+      id: 23,
1806
+      name: 'g'
1807
+    },
1808
+    {
1809
+      id: 24,
1810
+      name: 'mg'
1811
+    },
1812
+    {
1813
+      id: 25,
1814
+      name: 'u'
1815
+    },
1816
+    {
1817
+      id: 26,
1818
+      name: 'ml'
1819
+    },
1820
+    {
1821
+      id: 27,
1822
+      name: '万u'
1823
+    },
1824
+   
1800
     ],
1825
     ],
1801
     body_fluid: [{
1826
     body_fluid: [{
1802
       id: 1,
1827
       id: 1,

+ 2 - 1
src/xt_pages/stock/drugs/drugStockInOrderAdd.vue Visa fil

429
               this.recordInfo.recordData[this.currentIndex].drug_id = val.selectedGoodInfo[i].id
429
               this.recordInfo.recordData[this.currentIndex].drug_id = val.selectedGoodInfo[i].id
430
               this.recordInfo.recordData[this.currentIndex].price = val.selectedGoodInfo[i].last_price.toString()
430
               this.recordInfo.recordData[this.currentIndex].price = val.selectedGoodInfo[i].last_price.toString()
431
               this.recordInfo.recordData[this.currentIndex].retail_price = val.selectedGoodInfo[i].retail_price.toString()
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
             } else {
433
             } else {
434
               const tempForm = {}
434
               const tempForm = {}
435
               tempForm["id"] = 0;
435
               tempForm["id"] = 0;
469
           } else {
469
           } else {
470
             this.manufacturer = response.data.data.manufacturer;
470
             this.manufacturer = response.data.data.manufacturer;
471
             this.dealer = response.data.data.dealer;
471
             this.dealer = response.data.data.dealer;
472
+            console.log("2222333333",response.data.data.drugs)
472
             for(let i = 0; i<  response.data.data.drugs.length;i++){
473
             for(let i = 0; i<  response.data.data.drugs.length;i++){
473
               this.goodType.push(response.data.data.drugs[i])
474
               this.goodType.push(response.data.data.drugs[i])
474
               if(response.data.data.drugs[i].drug_specs != null) {
475
               if(response.data.data.drugs[i].drug_specs != null) {