| | |
| | | tableInfomation: [] |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | // 根据报价单查询产品 |
| | | quotationNumber:{ |
| | | type:[String,Number], |
| | | default:'' |
| | | }, |
| | | }, |
| | | components: {}, |
| | | computed: {}, |
| | |
| | | // 销售明细单 |
| | | async getSalesDetailsList() { |
| | | await getSalesDetailsList({ |
| | | keyword: this.keyword, |
| | | keywordType: this.keywordType, |
| | | clientId:Number(this.editCommonConfig.clientId), |
| | | page: this.pagerOptions.currPage, |
| | | pageSize: this.pagerOptions.pageSize |
| | | }).then((res) => { |
| | |
| | | }, |
| | | // 产品名称 |
| | | async getProductList() { |
| | | await getProductList({ |
| | | let params={ |
| | | productName: this.keywordType === "产品名称" ? this.keyword : "", |
| | | productNumber: this.keywordType === "产品编号" ? this.keyword : "", |
| | | page: this.pagerOptions.currPage, |
| | | pageSize: this.pagerOptions.pageSize |
| | | }).then((res) => { |
| | | } |
| | | // 根据报价单查询产品 |
| | | if(this.quotationNumber){ |
| | | params.quotationNumber=this.quotationNumber |
| | | } |
| | | await getProductList(params).then((res) => { |
| | | console.log(res.data) |
| | | if (res.code === 200) { |
| | | if (res.data.data && res.data.data.length > 0) { |
| | |
| | | }, |
| | | async getSalesReturnList() { |
| | | await getSalesReturnList({ |
| | | keyword: this.keyword, |
| | | keywordType: this.keywordType, |
| | | clientId:Number(this.editCommonConfig.clientId), |
| | | page: this.pagerOptions.currPage, |
| | | pageSize: this.pagerOptions.pageSize |
| | | }).then((res) => { |