瀏覽代碼

bug 修复

lilei 3 年之前
父節點
當前提交
1745787f79
共有 1 個文件被更改,包括 1 次插入6 次删除
  1. 1 6
      src/views/inventoryManagement/inventoryQuery/list.vue

+ 1 - 6
src/views/inventoryManagement/inventoryQuery/list.vue

@@ -192,7 +192,7 @@ export default {
           this.disabled = false
           this.spinning = false
           // 总计
-          this.getTotal(Object.assign(parameter, this.queryParam))
+          this.getTotal(params)
           // 产品分类
           if (this.typeData.length == 0) {
             this.getProductType()
@@ -227,11 +227,6 @@ export default {
     },
     // 合计
     getTotal (param) {
-      if (param.zeroQtyFlag) {
-        param.zeroQtyFlag = '0'
-      } else {
-        param.zeroQtyFlag = ''
-      }
       stockCount(param).then(res => {
         if (res.status == 200 && res.data) {
           this.currentStock = res.data