| | |
| | | <template> |
| | | <div class="rightContent"> |
| | | <div class="top"> |
| | | <SearchCommonView |
| | | :add-title="'新建'" |
| | | :showAdd="false" |
| | | :placeholder="'请输入位置名称、产品名称或产品类别'" |
| | | :amount-view="false" |
| | | @addCommonClick="addBtnClick" |
| | | @searchClick="getList" |
| | | :isDisabled="true" |
| | | /> |
| | | <SearchCommonView |
| | | :add-title="'新建'" |
| | | :showAdd="false" |
| | | :placeholder="'请输入位置名称、产品名称或产品类别'" |
| | | :amount-view="false" |
| | | @addCommonClick="addBtnClick" |
| | | @searchClick="getList" |
| | | :isDisabled="true" |
| | | /> |
| | | </div> |
| | | <div class="list-view"> |
| | | <div class="table"> |
| | |
| | | <template slot="tableButton"> |
| | | <el-table-column label="操作" width="210" align="center"> |
| | | <template slot-scope="scope"> |
| | | <span @click="handleHistoryClick(scope.row)"> |
| | | <span @click="handleHistoryClick(scope.row)" class="yes-cursor"> |
| | | <i class="el-icon-refresh-left"></i> |
| | | <span>历史</span> |
| | | </span> |
| | | <span @click="handleAddGoods(scope)" class="margin_left_5px"> |
| | | <span @click="handleAddGoods(scope)" class="margin_left_5px no-cursor"> |
| | | <i class="el-icon-refresh"></i> |
| | | <span>补货</span> |
| | | </span> |
| | |
| | | this.tableList.tableColumn = this.setTableColumn(val) |
| | | }, |
| | | // 请求数据 |
| | | async getLocationData(params){ |
| | | async getLocationData(params) { |
| | | await getLocationData(params).then((res) => { |
| | | if (res.code === 200) { |
| | | const list = res.data |
| | |
| | | this.getLocationData({ |
| | | page: 1, |
| | | pageSize: this.pagerOptions.pageSize, |
| | | keyWord:val |
| | | keyWord: val |
| | | }) |
| | | }, |
| | | // 行点击 |