| | |
| | | } else if (this.editConfig.title === "报价单") { |
| | | this.tableColumn = [ |
| | | { label: "报价单号", prop: "number", isClick: true, default: true }, // 报价单号 |
| | | { label: "销售负责人", prop: "member_name" } // 销售负责人 |
| | | { label: "报价名称", prop: "quotationName" }, |
| | | { label: "销售负责人", prop: "member_name" }, // 销售负责人 |
| | | { label: "客户名称", prop: "client_name" }, |
| | | { label: "所属业务机会", prop: "sale_chance_name" }, |
| | | { label: "报价单状态", prop: "quotationStatus" }, |
| | | { label: "合计", prop: "amountTotal" }, |
| | | ] |
| | | this.showCol = ["报价单号", "销售负责人"] |
| | | this.showCol = ["报价单号","报价名称","销售负责人",'客户名称','所属业务机会','报价单状态','合计'] |
| | | this.tableList = { |
| | | selectIndex: true, |
| | | |
| | |
| | | this.tableList.tableInfomation =this.editConfig.tableInfomation.map((item) => { |
| | | return { |
| | | ...item, |
| | | member_name: item.member.username |
| | | client_name: item.client.name, |
| | | sale_chance_name: item.sale_chance.name, |
| | | member_name: item.member.username, |
| | | quotationStatus: item.quotation_status.name |
| | | } |
| | | }) |
| | | this.pagerOptions.totalCount =this.editConfig.count?this.editConfig.count:0 |
| | |
| | | const list = res.data.list.map((item) => { |
| | | return { |
| | | ...item, |
| | | member_name: item.member.username |
| | | client_name: item.client.name, |
| | | sale_chance_name: item.sale_chance.name, |
| | | member_name: item.member.username, |
| | | quotationStatus: item.quotation_status.name |
| | | } |
| | | }) |
| | | this.tableList.tableInfomation = list || [] |