chenrui 3 лет назад
Родитель
Сommit
e210a92257

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

@@ -51,9 +51,6 @@
               </a-col>
               <a-col :md="6" :sm="24">
                 <a-form-item label="库存情况">
-                  <!-- <a-select placeholder="请选择库存情况" id="inventoryQueryList-zeroQtyFlag" allowClear v-model="queryParam.zeroQtyFlag">
-                    <a-select-option v-for="item in zeroQtyData" :key="item.id" :value="item.id">{{ item.name }}</a-select-option>
-                  </a-select> -->
                   <a-checkbox v-model="queryParam.zeroQtyFlag" id="inventoryQueryList-zeroQtyFlag">只查看有库存</a-checkbox>
                 </a-form-item>
               </a-col>
@@ -258,7 +255,12 @@ export default {
     //  导出
     handleExport () {
       const _this = this
-      const params = this.queryParam
+      const params = JSON.parse(JSON.stringify(this.queryParam))
+      if (params.zeroQtyFlag) {
+        params.zeroQtyFlag = '0'
+      } else {
+        params.zeroQtyFlag = ''
+      }
       this.exportLoading = true
       _this.spinning = true
       stockExport(params).then(res => {

+ 1 - 0
src/views/salesManagement/backorder/list.vue

@@ -107,6 +107,7 @@ export default {
       this.queryParam.beginDate = ''
       this.queryParam.endDate = ''
       this.queryParam.buyerSn = undefined
+      this.$refs.custList.resetForm()
       this.$refs.table.refresh(true)
     },
     // 关闭

+ 3 - 0
src/views/salesManagement/shortageStatisticsC/list.vue

@@ -273,6 +273,9 @@ export default {
       this.queryParam.beginDate = getDate.getCurrMonthDays().starttime
       this.queryParam.endDate = getDate.getCurrMonthDays().endtime
       this.queryParam.buyerSn = undefined
+      if (this.advanced) {
+        this.$refs.custList.resetForm()
+      }
       this.queryParam.subareaSn = undefined
       this.queryParam.productName = ''
       this.queryParam.productCode = ''