Browse Source

bug修复

chenrui 3 years ago
parent
commit
482227b7dc
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/views/inventoryManagement/inventoryQuery/list.vue

+ 5 - 0
src/views/inventoryManagement/inventoryQuery/list.vue

@@ -262,6 +262,11 @@ export default {
     handleExcelOk (exportType) {
       const _this = this
       const params = JSON.parse(JSON.stringify(this.queryParam))
+      if (params.zeroQtyFlag) {
+        params.zeroQtyFlag = '0'
+      } else {
+        params.zeroQtyFlag = ''
+      }
       params.exportType = exportType
       this.exportLoading = true
       this.spinning = true