| | |
| | | clientId: 0, |
| | | isRequest: true, |
| | | client_name: "", |
| | | tableInfomation: [] |
| | | tableInfomation: [], |
| | | supplierId:null, |
| | | } |
| | | } |
| | | }, |
| | |
| | | tableColumn: [], |
| | | selectArray: [] |
| | | } |
| | | }, |
| | | }, |
| | | created() { |
| | | this.setTable() |
| | | this.getData() |
| | |
| | | async getProductList() { |
| | | let fn = this.sign == "purchase" ? getProductList : getProductListFromGrpc |
| | | await fn({ |
| | | keyword: this.keyword, |
| | | page: this.pagerOptions.currPage, |
| | | pageSize: this.pagerOptions.pageSize |
| | | }).then((res) => { |
| | | keyword: this.keyword, |
| | | page: this.pagerOptions.currPage, |
| | | supplierId:this.editConfig.supplierId, |
| | | pageSize: this.pagerOptions.pageSize, |
| | | }).then((res) => { |
| | | if (res.code === 200) { |
| | | if (res.data.list && res.data.list.length > 0) { |
| | | const list = res.data.list.map((item) => { |