lilei 3 роки тому
батько
коміт
1745787f79

+ 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