浏览代码

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