chenrui 4 år sedan
förälder
incheckning
a3a0ba56ee
1 ändrade filer med 8 tillägg och 8 borttagningar
  1. 8 8
      src/views/allocationManagement/warehouseAllocation/list.vue

+ 8 - 8
src/views/allocationManagement/warehouseAllocation/list.vue

@@ -103,8 +103,9 @@ export default {
       advanced: false,  // 高级搜索 展开/关闭
       creatDate: undefined,  //  创建时间
       queryParam: { //  查询条件
-        bundleName: '', //  品牌名称
-        state: undefined,  //  状态
+        outWarehouseName: undefined, //  调出仓库
+        putWarehouseName: undefined, //  调入仓库
+        state: undefined,  //  审核状态
       },
       disabled: false, //  查询、重置按钮是否可操作
       dateFormat: 'YYYY-MM-DD',
@@ -123,6 +124,7 @@ export default {
       // 加载数据方法 必须为 Promise 对象
       loadData: parameter => {
         this.disabled = true
+        this.queryParam = {}
         return allocWarehouseList( Object.assign(parameter, this.queryParam) ).then(res => {
           const data = res.data
           const no = (data.pageNo - 1) * data.pageSize
@@ -144,12 +146,10 @@ export default {
     },
     //  重置
     resetSearchForm () {
-      this.queryParam.orderBundleNo = ''
-      this.queryParam.orderBundle.custMobile = ''
-      this.queryParam.bundleName = ''
-      this.queryParam.itemName = ''
-      this.oldTime = undefined
-      this.newTime = undefined
+      this.queryParam.outWarehouseName = undefined
+      this.queryParam.putWarehouseName = undefined
+      this.queryParam.state = undefined
+      this.creatDate = undefined
       this.$refs.table.refresh(true)
     },
     //  基本信息  保存