XMLWAN 3 years ago
parent
commit
25f5caafa9

+ 1 - 0
src/xt_pages/stock/drugs/cancelDrugStockOrderAdd.vue View File

@@ -303,6 +303,7 @@ export default {
303 303
   },
304 304
   methods: {
305 305
     comfirm: function(val) {
306
+     
306 307
       this.propForm.goodType = []
307 308
       this.propForm.goods = []
308 309
 

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

@@ -421,7 +421,7 @@
421 421
         this.isVisibility = true
422 422
       }, 
423 423
       comfirm: function(val) {
424
-        console.log("Val2222222",val)
424
+        console.log("Val2222222",this.currentIndex)
425 425
         this.$refs.dialog.hide()
426 426
         if (val.selectedGoodInfo.length > 0) {
427 427
           for (let i = val.selectedGoodInfo.length - 1; i >= 0; i--) {

+ 1 - 0
src/xt_pages/stock/drugs/drugStockInOrderEdit.vue View File

@@ -375,6 +375,7 @@ export default {
375 375
     comfirm: function(val) {
376 376
       this.$refs.dialog.hide();
377 377
       console.log(val)
378
+      console.log("下摆哦2222222",this.currentIndex)
378 379
       if (val.selectedGoodInfo.length > 0) {
379 380
         for (let i = val.selectedGoodInfo.length - 1; i >= 0 ; i--) {
380 381
           if (i == 0) {

+ 1 - 3
src/xt_pages/stock/stockQuery.vue View File

@@ -150,9 +150,7 @@
150 150
 
151 151
         <el-table-column label="剩余库存" align="center">
152 152
           <template slot-scope="scope">
153
-            <span>{{
154
-              stockInCount(scope.row)- stockOutCount(scope.row) + cancelStockCount(scope.row)
155
-            }}</span>
153
+            <span>{{stockInCount(scope.row)  - stockOutCount(scope.row) }}</span>
156 154
           </template>
157 155
         </el-table-column>
158 156
       </el-table>