ソースを参照

11月14日 库存扣减更新

XMLWAN 3 年 前
コミット
bef09e36d2
共有1 個のファイルを変更した3 個の追加3 個の削除を含む
  1. 3 3
      src/xt_pages/stock/detail/stockOutDetail.vue

+ 3 - 3
src/xt_pages/stock/detail/stockOutDetail.vue ファイルの表示

@@ -873,9 +873,9 @@ export default {
873 873
     }, 
874 874
     getMySelfCount(good_id){
875 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 881
        return total