| | |
| | | import SubOrder from "@/views/sales/subOrder" |
| | | import SalesDetails from "@/views/sales/salesDetails" |
| | | import Receipt from "@/views/other/payment/receipt" |
| | | import { getContactList } from "@/api/client/contacts" |
| | | export default { |
| | | name: "DetailClientManage", |
| | | props: { |
| | |
| | | addressInfoList: [], |
| | | isRemarkExpand: true, // 备注信息 |
| | | isAnnexExpand: true, // 附件信息 |
| | | addConfig: {} |
| | | addConfig: {}, |
| | | contact_name: "", |
| | | contact_phone: "", |
| | | contact_position: "", |
| | | contact_wechat: "", |
| | | contact_email: "" |
| | | } |
| | | }, |
| | | created() { |
| | | this.getContactList() |
| | | this.setData(this.detailConfig.infomation) |
| | | this.addConfig = { |
| | | id_name: "client_name", |
| | |
| | | this.contactList = [ |
| | | { |
| | | leftStr: "联系人姓名", |
| | | leftValue: item.contact_name, |
| | | leftValue: this.contact_name, |
| | | rightStr: "联系人手机", |
| | | rightValue: item.contact_phone |
| | | rightValue: this.contact_phone |
| | | }, |
| | | { |
| | | leftStr: "联系人职务", |
| | | leftValue: "", |
| | | leftValue: this.contact_position, |
| | | rightStr: "联系人微信", |
| | | rightValue: "" |
| | | rightValue: this.contact_wechat |
| | | }, |
| | | { |
| | | leftStr: "联系人Email", |
| | | leftValue: "", |
| | | leftValue: this.contact_email, |
| | | rightStr: "", |
| | | rightValue: "" |
| | | } |
| | |
| | | } |
| | | } |
| | | return fmt |
| | | }, |
| | | getContactList() { |
| | | getContactList({ |
| | | search_map: { |
| | | client_id: this.clientManageDetail.infomation.id |
| | | }, |
| | | page: 0, |
| | | pageSize: 0 |
| | | }).then((res) => { |
| | | if (res.code === 200) { |
| | | console.log(res.data.list) |
| | | if (res.data.list && res.data.list.length > 0) { |
| | | let data = res.data.list[0] |
| | | console.log(data) |
| | | this.contact_name = data.name |
| | | this.contact_phone = data.phone |
| | | this.contact_position = data.position |
| | | this.contact_wechat = data.wechat |
| | | this.contact_email = data.email |
| | | } |
| | | } |
| | | this.setData(this.detailConfig.infomation) |
| | | }) |
| | | } |
| | | } |
| | | } |
| | |
| | | } |
| | | } |
| | | .second { |
| | | height: calc(100vh - 111px); |
| | | background: #fff; |
| | | .followup-records { |
| | | .table-view { |