liukangdong
2025-02-07 17d7043f10d55429db919238fe639bff1b51ec0e
admin/src/views/stock/components/inventoryDetails.vue
@@ -36,7 +36,7 @@
            <div class="list">
                <div class="list_search">
                    <div class="list_search_left">
                        <el-input v-model="form.code" style="width: 200px; margin-right: 10px;" placeholder="请输入物料名称/编码"></el-input>
                        <el-input v-model="form.materialCode" style="width: 200px; margin-right: 10px;" placeholder="请输入物料名称/编码"></el-input>
                        <el-select v-model="form.status" style="width: 150px; margin-right: 10px;" placeholder="盘点状态">
                            <el-option label="已盘" :value="1"></el-option>
                            <el-option label="未盘" :value="0"></el-option>
@@ -110,7 +110,7 @@
        info: {},
        list: [],
        form: {
          code: '',
          materialCode: '',
          status: '',
          type: ''
        },
@@ -145,6 +145,7 @@
        this.form.name = ''
        this.form.status = ''
        this.form.type = ''
        this.form.materialCode = ''
        this.page = 1
        this.getList()
      },
@@ -154,12 +155,13 @@
          page: this.page,
          model: {
            stocktakingId: this.id,
            code: this.form.code,
            materialCode: this.form.materialCode,
            status: this.form.status,
            type: this.form.type
          }
        }).then(res => {
          this.list = res.records
          this.total = res.total
        })
      }
    }