Browse Source

打印单

XMLWAN 4 years ago
parent
commit
ba314e3ec1

+ 26 - 1
src/store/modules/globalConfig.js View File

@@ -1796,7 +1796,32 @@ const global_config = {
1796 1796
     {
1797 1797
       id: 21,
1798 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 1826
     body_fluid: [{
1802 1827
       id: 1,

+ 2 - 1
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;
@@ -469,6 +469,7 @@
469 469
           } else {
470 470
             this.manufacturer = response.data.data.manufacturer;
471 471
             this.dealer = response.data.data.dealer;
472
+            console.log("2222333333",response.data.data.drugs)
472 473
             for(let i = 0; i<  response.data.data.drugs.length;i++){
473 474
               this.goodType.push(response.data.data.drugs[i])
474 475
               if(response.data.data.drugs[i].drug_specs != null) {