| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="合同状态" prop="status_id"> |
| | | <el-form-item label="合同状态" prop="statusId"> |
| | | <div class="common-select"> |
| | | <el-select |
| | | v-model="editConfig.infomation.status_id" |
| | | v-model="editConfig.infomation.statusId" |
| | | placeholder="请选择" |
| | | class="common-select-sel" |
| | | size="mini" |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="销售报价单" prop="quotationId"> |
| | | <el-form-item label="销售报价单" prop="quotation_number"> |
| | | <div class="custom-name"> |
| | | <el-autocomplete |
| | | v-model="editConfig.infomation.quotation_number" |
| | |
| | | </div> |
| | | <div v-if="activeName === 'first'" class="detail"> |
| | | <!-- 进度追踪 --> |
| | | <div class="basic-info"> |
| | | <!-- <div class="basic-info"> |
| | | <div class="basic-info-label" @click="expandClick('schdule')"> |
| | | <i v-if="isSchduleExpand" class="el-icon-arrow-down"></i> |
| | | <i v-else class="el-icon-arrow-up"></i> |
| | |
| | | </el-steps> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <!-- 机会基本信息 --> |
| | | </div> --> |
| | | <!-- 基本信息 --> |
| | | <div class="basic-info"> |
| | | <div class="basic-info-label" @click="expandClick('basic')"> |
| | | <i v-if="isBasicExpand" class="el-icon-arrow-down"></i> |
| | | <i v-else class="el-icon-arrow-up"></i> |
| | | <span style="margin-left: 10px">机会基本信息</span> |
| | | <span style="margin-left: 10px">基本信息</span> |
| | | </div> |
| | | <div v-show="isBasicExpand" class="basic-info-content"> |
| | | <ul> |
| | |
| | | leftStr: "负责人", |
| | | leftValue: item.member.username, |
| | | rightStr: "合同状态", |
| | | rightValue: item.statusId |
| | | rightValue: item.serviceContractStatus.name |
| | | }, |
| | | { |
| | | leftStr: "创建人", |
| | | leftValue: "", |
| | | rightStr: "创建时间", |
| | | rightValue: "" |
| | | rightValue: item.created_at |
| | | }, |
| | | { |
| | | leftStr: "最新更新人", |
| | |
| | | const list = res.data.list.map((item) => { |
| | | return { |
| | | ...item, |
| | | member_name: item.member.username |
| | | member_name: item.member.username, |
| | | client_name: item.client.name, |
| | | quotation_number: item.quotation.number |
| | | } |
| | | }) |
| | | this.tableList.tableInfomation = list || [] |
| | |
| | | // 设置允许上传文件格式 |
| | | setFormatClick() {}, |
| | | setTableForm() { |
| | | if (this.editConfig.title === "新建") { |
| | | if (this.editConfig.title === "新建" || this.editConfig.infomation.products.length === 0) { |
| | | this.tableData = [ |
| | | { |
| | | productId: this.productId, |
| | |
| | | // 设置允许上传文件格式 |
| | | setFormatClick() {}, |
| | | setTableForm() { |
| | | if (this.editConfig.title === "新建") { |
| | | if (this.editConfig.title === "新建" || this.editConfig.infomation.products.length === 0) { |
| | | this.tableData = [ |
| | | { |
| | | productId: this.productId, |
| | |
| | | signTime: data.signTime || "", |
| | | wechatOrderStatus: data.wechatOrderStatus || 0, |
| | | logisticCompany: data.logisticCompany || "", |
| | | logisticCost: parseInt(data.logisticCost) || 0, |
| | | logisticCost: data.logisticCost || 0, |
| | | logisticNumber: data.logisticNumber || "" |
| | | } |
| | | let params = {} |
| | |
| | | // 设置允许上传文件格式 |
| | | setFormatClick() {}, |
| | | setTableForm() { |
| | | if (this.editConfig.title === "新建") { |
| | | if (this.editConfig.title === "新建" || this.editConfig.infomation.products.length === 0) { |
| | | this.tableData = [ |
| | | { |
| | | productId: this.productId, |
| | |
| | | selClientClick(row) { |
| | | console.log(row) |
| | | this.clientDeail.visible = true |
| | | this.clientDeail.infomation = { ...row, client_name: row.name } |
| | | this.clientDeail.infomation = { |
| | | ...row.client, |
| | | member: row.Member, |
| | | client_name: row.client.name, |
| | | client_level: row.client.client_level.name, |
| | | client_status: row.client.client_status.name |
| | | } |
| | | }, |
| | | // 联系人详情 |
| | | selCommonClick(row) { |
| | |
| | | // 设置允许上传文件格式 |
| | | setFormatClick() {}, |
| | | setTableForm() { |
| | | if (this.editConfig.title === "新建") { |
| | | if (this.editConfig.title === "新建" || this.editConfig.infomation.products.length === 0) { |
| | | this.tableData = [ |
| | | { |
| | | productId: this.productId, |
| | |
| | | // 设置允许上传文件格式 |
| | | setFormatClick() {}, |
| | | setTableForm() { |
| | | if (this.editConfig.title === "新建") { |
| | | if (this.editConfig.title === "新建" || this.editConfig.infomation.products.length === 0) { |
| | | this.tableData = [ |
| | | { |
| | | productId: this.productId, |
| | |
| | | // 设置允许上传文件格式 |
| | | setFormatClick() {}, |
| | | setTableForm() { |
| | | if (this.editConfig.title === "新建") { |
| | | if (this.editConfig.title === "新建" || this.editConfig.infomation.products.length === 0) { |
| | | this.tableData = [ |
| | | { |
| | | productId: this.productId, |
| | |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <!-- <el-col :span="12"> |
| | | <el-form-item label="项目计划" prop="planId"> |
| | | <div class="custom-name"> |
| | | <el-input v-model="editConfig.infomation.planId"></el-input> |
| | |
| | | <div class="common-select-btn"><i class="el-icon-edit" title="编辑"></i></div> |
| | | </div> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-col> --> |
| | | <el-col :span="12"> |
| | | <el-form-item label="满意度" prop="satisfactionId"> |
| | | <div class="common-select"> |
| | |
| | | { |
| | | leftStr: "回访人", |
| | | leftValue: item.Member.username, |
| | | rightStr: "项目计划", |
| | | rightValue: "" |
| | | rightStr: "满意度", |
| | | rightValue: item.satisfaction.name |
| | | }, |
| | | { |
| | | leftStr: "满意度", |
| | | leftValue: item.satisfaction.name, |
| | | rightStr: "及时率", |
| | | rightValue: item.timelyRate.name |
| | | leftStr: "及时率", |
| | | leftValue: item.timelyRate.name, |
| | | rightStr: "解决率", |
| | | rightValue: item.solveRate.name |
| | | }, |
| | | { |
| | | leftStr: "解决率", |
| | | leftValue: item.solveRate.name, |
| | | rightStr: "原服务人员", |
| | | rightValue: item.oldMember.username |
| | | leftStr: "原服务人员", |
| | | leftValue: item.oldMember.username, |
| | | rightStr: "服务人员是否来过", |
| | | rightValue: item.isVisit.name |
| | | }, |
| | | { |
| | | leftStr: "服务人员是否来过", |
| | | leftValue: item.isVisit.name, |
| | | rightStr: "创建时间", |
| | | rightValue: "" |
| | | }, |
| | | { |
| | | leftStr: "修改时间", |
| | | leftStr: "创建时间", |
| | | leftValue: "", |
| | | rightStr: "", |
| | | rightStr: "修改时间", |
| | | rightValue: "" |
| | | } |
| | | ] |