| | |
| | | editVisible: false, |
| | | title: "", |
| | | clientId: 0, |
| | | tableInfomation: [] |
| | | tableInfomation: [], |
| | | } |
| | | } |
| | | } |
| | |
| | | // 销售明细单 |
| | | async getSalesDetailsList() { |
| | | await getSalesDetailsList({ |
| | | keyword: this.keyword, |
| | | keywordType: this.keywordType, |
| | | // keyword: this.keyword, |
| | | // keywordType: this.keywordType, |
| | | clientId:this.editCommonConfig.clientId, |
| | | page: this.pagerOptions.currPage, |
| | | pageSize: this.pagerOptions.pageSize |
| | | }).then((res) => { |
| | |
| | | }, |
| | | async getSalesReturnList() { |
| | | await getSalesReturnList({ |
| | | keyword: this.keyword, |
| | | keywordType: this.keywordType, |
| | | // keyword: this.keyword, |
| | | // keywordType: this.keywordType, |
| | | clientId:this.editCommonConfig.clientId, |
| | | page: this.pagerOptions.currPage, |
| | | pageSize: this.pagerOptions.pageSize |
| | | }).then((res) => { |
| | |
| | | editSelCommonConfig: { |
| | | editVisible: false, |
| | | title: "", |
| | | infomation: {} |
| | | infomation: {}, |
| | | clientId:"" |
| | | }, |
| | | clientId: this.editCommonConfig.infomation.client_id, |
| | | sourceId: this.editCommonConfig.infomation.sourceId, |
| | |
| | | async handleSelectClient(value, item) { |
| | | if (value === "client") { |
| | | this.clientId = item.id |
| | | this.editSelCommonConfig.clientId=item.id |
| | | console.log("客户名称",this.clientId,value,item) |
| | | await getSalesReturnList({ |
| | | clientId:this.clientId |
| | |
| | | editSelectChanceConfig: { |
| | | editVisible: false, |
| | | title: "", |
| | | infomation: {} |
| | | infomation: {}, |
| | | search_map:{}, |
| | | }, |
| | | editSelCommonConfig: { |
| | | editVisible: false, |
| | |
| | | if (value === "client") { |
| | | this.clientId = item.id |
| | | this.editConfig.infomation.client_name = item.name |
| | | this.editSelectChanceConfig.search_map.client_id=item.id |
| | | // 需要修改 |
| | | await getSaleChanceList({ |
| | | page: 1, |
| | |
| | | editSelCommonConfig: { |
| | | editVisible: false, |
| | | title: "", |
| | | infomation: {} |
| | | infomation: {}, |
| | | clientId:"" |
| | | }, |
| | | productId: 1, |
| | | isNoProduct: true, |
| | |
| | | async handleSelectClient(value, item) { |
| | | if (value === "client") { |
| | | this.clientId = item.id |
| | | this.editSelCommonConfig.clientId=item.id |
| | | await getSalesDetailsList({ |
| | | clientId: this.clientId |
| | | }).then((res) => { |