XMLWAN пре 3 година
родитељ
комит
25f5caafa9

+ 1 - 0
src/xt_pages/stock/drugs/cancelDrugStockOrderAdd.vue Прегледај датотеку

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

+ 1 - 1
src/xt_pages/stock/drugs/drugStockInOrderAdd.vue Прегледај датотеку

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

+ 1 - 0
src/xt_pages/stock/drugs/drugStockInOrderEdit.vue Прегледај датотеку

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

+ 1 - 3
src/xt_pages/stock/stockQuery.vue Прегледај датотеку

150
 
150
 
151
         <el-table-column label="剩余库存" align="center">
151
         <el-table-column label="剩余库存" align="center">
152
           <template slot-scope="scope">
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
           </template>
154
           </template>
157
         </el-table-column>
155
         </el-table-column>
158
       </el-table>
156
       </el-table>