| | |
| | | <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> |
| | |
| | | info: {}, |
| | | list: [], |
| | | form: { |
| | | code: '', |
| | | materialCode: '', |
| | | status: '', |
| | | type: '' |
| | | }, |
| | |
| | | this.form.name = '' |
| | | this.form.status = '' |
| | | this.form.type = '' |
| | | this.form.materialCode = '' |
| | | this.page = 1 |
| | | this.getList() |
| | | }, |
| | |
| | | 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 |
| | | }) |
| | | } |
| | | } |