MrShi
2025-02-06 b7f74340de27a3427d8afb8750724b788c8a780c
admin/src/views/stock/components/AssetSel.vue
@@ -55,6 +55,7 @@
        total: 0
      },
      isOut: false,
      warehouseId: false,
      list: [],
      selList: [],
      cateList: [],
@@ -79,7 +80,7 @@
      this.selList = val
    },
    getList(page) {
      const { pagination, searchForm, isOut } = this
      const { pagination, searchForm, isOut, warehouseId } = this
      this.listLoading = true
      if(page){pagination.page = page}
      console.log('isOut', isOut);
@@ -88,7 +89,7 @@
      fn({
        capacity: pagination.pageSize,
        page: pagination.page,
        model: {...searchForm,status: 0}
        model: {...searchForm,status: 0, warehouseId}
      }).then((res) => {
        this.listLoading = false
        this.list = res.records