28169 11 mēnešus atpakaļ
vecāks
revīzija
e5e7532891

+ 2 - 2
src/xt_pages/stock/drugs/historyDrugInvetory.vue Parādīt failu

@@ -19,7 +19,7 @@
19 19
                 style="width: 200px"
20 20
                 v-model="keywords"
21 21
                 class="filter-item"
22
-                placeholder="请输入耗材名称"
22
+                placeholder="请输入药品名称"
23 23
                 clearable
24 24
               />
25 25
               <el-button
@@ -294,7 +294,7 @@
294 294
         var now_in_number = 0
295 295
         stock_in_number = row.warehousing_count * row.XtBaseDrug.min_number
296 296
 
297
-        now_in_number = row.last_stock_max_number * row.XtBaseDrug.min_number + row.last_stock_min_number
297
+        now_in_number = parseInt(row.last_stock_max_number * row.XtBaseDrug.min_number) +parseInt(row.last_stock_min_number) 
298 298
        if(parseInt(row.last_stock_max_number)<0 && parseInt(row.last_stock_min_number)<0){
299 299
         this.$message.error("盘点后数量不能为负数!")
300 300
         return false

+ 2 - 2
src/xt_pages/stock/drugs/inventoryDetails.vue Parādīt failu

@@ -47,11 +47,11 @@
47 47
                  {{scope.row.specification_name}}
48 48
                </template>
49 49
             </el-table-column>
50
-            <el-table-column prop="name" label="单位" width="80"  align="center">
50
+            <!-- <el-table-column prop="name" label="单位" width="80"  align="center">
51 51
                 <template slot-scope="scope">
52 52
                   {{scope.row.warehousing_unit}}
53 53
                </template>
54
-            </el-table-column>
54
+            </el-table-column> -->
55 55
           
56 56
             <el-table-column prop="name" label="进价" width="80"  align="center">
57 57
                 <template slot-scope="scope">

+ 1 - 0
src/xt_pages/stock/historyInventory.vue Parādīt failu

@@ -282,6 +282,7 @@
282 282
        })
283 283
      },
284 284
      UpdateWarehouseInfo(row){
285
+    
285 286
        if(parseInt(row.last_stock_count)<0){
286 287
         this.$message.error("盘点后数量不能为负数!")
287 288
         return false