| | |
| | | :show-apply="false" |
| | | :placeholder="'请输入位置/产品'" |
| | | :amount-view="false" |
| | | :search-task-map="searchTaskMap" |
| | | @addCommonClick="addProductClick" |
| | | @searchClick="getList" |
| | | @discardBtnClick="discardBtnClick" |
| | | @delSelectClick="delSelectClick" |
| | | /> |
| | | </div> |
| | | <div class="content_wrap"> |
| | |
| | | maxInventory: 0, |
| | | orderNumber: 0, |
| | | unit: "", |
| | | reorderId: 0 |
| | | reorderId: 0, |
| | | searchTaskMap: [], |
| | | type: "bh" |
| | | } |
| | | }, |
| | | created() { |
| | | this.setTable() |
| | | this.searchTaskMap = [{ type: this.type, title: "重新订购" }] |
| | | this.getData() |
| | | this.getLocationList() |
| | | }, |
| | |
| | | async getData(data) { |
| | | await getReorderRuleList({ |
| | | locationId: data?.id, |
| | | type: "bh", |
| | | type: this.type, |
| | | keyWord: data?.jointName, |
| | | page: this.pagerOptions.currPage, |
| | | pageSize: this.pagerOptions.pageSize |
| | |
| | | ] |
| | | console.log(res, "res666") |
| | | }) |
| | | }, |
| | | // 删除type |
| | | delSelectClick() { |
| | | this.type = "" |
| | | this.getData() |
| | | } |
| | | } |
| | | } |