Browse Source

11月14日 库存扣减更新

XMLWAN 3 years ago
parent
commit
bef09e36d2
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/xt_pages/stock/detail/stockOutDetail.vue

+ 3 - 3
src/xt_pages/stock/detail/stockOutDetail.vue View File

873
     }, 
873
     }, 
874
     getMySelfCount(good_id){
874
     getMySelfCount(good_id){
875
        var total = 0
875
        var total = 0
876
-       for(let i=0;i<this.stockDatas.length;i++){
877
-         if(good_id == this.stockDatas[i].good_id){
878
-            total+= this.stockDatas[i].count
876
+       for(let i=0;i<this.tableOut.length;i++){
877
+         if(good_id == this.tableOut[i].good_id){
878
+            total+= this.tableOut[i].count
879
          }
879
          }
880
        }
880
        }
881
        return total
881
        return total