|
|
@@ -1,29 +1,35 @@
|
|
|
<template>
|
|
|
- <el-drawer append-to-body :visible.sync="dialogFormVisible" size="97%">
|
|
|
+ <el-drawer :visible.sync="dialogFormVisible" append-to-body size="97%">
|
|
|
<div class="Mcontainer">
|
|
|
- <div style="background:#ffffff;padding:10px" v-if="Object.keys(detailInfo).length">
|
|
|
+ <div v-if="Object.keys(detailInfo).length" style="background:#ffffff;padding:10px">
|
|
|
<div class="Mcontainer-header">
|
|
|
<div class="Mcontainer-header__left">
|
|
|
<div style="width:60px;height: 60px;background:#F3F9FC;border-radius:10px;padding:10px">
|
|
|
- <img src="@/assets/saler.svg" style="width:100%;height:100%" alt="">
|
|
|
+ <img alt="" src="@/assets/saler.svg" style="width:100%;height:100%">
|
|
|
</div>
|
|
|
<div class="account">
|
|
|
<p class="normal-title" style="font-size:18px">
|
|
|
- <el-tooltip class="item" effect="dark" :content="detailInfo.projectname" placement="top">
|
|
|
+ <el-tooltip :content="detailInfo.projectname" class="item" effect="dark" placement="top">
|
|
|
<span>{{ detailInfo.name }}</span>
|
|
|
- </el-tooltip>
|
|
|
+ </el-tooltip>
|
|
|
</p>
|
|
|
<div class="Mtag">
|
|
|
- <el-tag size="small" v-for="(item,index) in detailInfo.tag" :key="index" style="margin-right:10px">{{ item }}</el-tag>
|
|
|
+ <el-tag v-for="(item,index) in detailInfo.tag" :key="index" size="small" style="margin-right:10px">
|
|
|
+ {{ item }}
|
|
|
+ </el-tag>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="Mcontainer-header__right">
|
|
|
<el-descriptions class="margin-top">
|
|
|
- <el-descriptions-item label="联系方式"><span style="color:#E85B5B;font-size:16px;font-weight:bold">{{ detailInfo.phonenumber }}</span></el-descriptions-item>
|
|
|
+ <el-descriptions-item label="联系方式"><span
|
|
|
+ style="color:#E85B5B;font-size:16px;font-weight:bold">{{ detailInfo.phonenumber }}</span>
|
|
|
+ </el-descriptions-item>
|
|
|
<el-descriptions-item label="微信">{{ detailInfo.wechatnum }}</el-descriptions-item>
|
|
|
<el-descriptions-item label="偏好">{{ detailInfo.preference }}</el-descriptions-item>
|
|
|
- <el-descriptions-item label="分级"><span style="color:#E85B5B;font-size:16px;font-weight:bold"> {{ detailInfo.grade }}</span></el-descriptions-item>
|
|
|
+ <el-descriptions-item label="分级"><span
|
|
|
+ style="color:#E85B5B;font-size:16px;font-weight:bold"> {{ detailInfo.grade }}</span>
|
|
|
+ </el-descriptions-item>
|
|
|
<el-descriptions-item label="邮箱">{{ detailInfo.email }}</el-descriptions-item>
|
|
|
<el-descriptions-item label="爱好">{{ detailInfo.hobby }}</el-descriptions-item>
|
|
|
<el-descriptions-item label="性别"> {{ detailInfo.sex }}</el-descriptions-item>
|
|
|
@@ -31,11 +37,14 @@
|
|
|
<el-descriptions-item label="备注"> {{ detailInfo.remarks }}</el-descriptions-item>
|
|
|
<el-descriptions-item label="生日"> {{ detailInfo.birthday }}</el-descriptions-item>
|
|
|
<el-descriptions-item label="单位">{{ detailInfo.company }}</el-descriptions-item>
|
|
|
- <el-descriptions-item label="负责人"><span style="color:#E85B5B;font-size:16px;font-weight:bold">{{ detailInfo.leadername }}</span></el-descriptions-item>
|
|
|
+ <el-descriptions-item label="负责人"><span
|
|
|
+ style="color:#E85B5B;font-size:16px;font-weight:bold">{{ detailInfo.leadername }}</span>
|
|
|
+ </el-descriptions-item>
|
|
|
<el-descriptions-item label="家庭住址"> {{ detailInfo.homeaddress }}</el-descriptions-item>
|
|
|
<el-descriptions-item label="部门"> {{ detailInfo.depname }}</el-descriptions-item>
|
|
|
- <el-descriptions-item label="未跟进天数"><span style="color:#E85B5B;font-size:16px;font-weight:bold;margin-right: 10px">{{ detailInfo.subdate ? detailInfo.subdate + '天' : detailInfo.subdate}}</span>
|
|
|
- <el-tooltip class="item" effect="dark" content="未跟进天数=当前查询时间-最近跟进时间-节假日" placement="top">
|
|
|
+ <el-descriptions-item label="未跟进天数"><span
|
|
|
+ style="color:#E85B5B;font-size:16px;font-weight:bold;margin-right: 10px">{{ detailInfo.subdate ? detailInfo.subdate + '天' : detailInfo.subdate }}</span>
|
|
|
+ <el-tooltip class="item" content="未跟进天数=当前查询时间-最近跟进时间-节假日" effect="dark" placement="top">
|
|
|
<i class="el-icon-warning-outline"></i>
|
|
|
</el-tooltip>
|
|
|
</el-descriptions-item>
|
|
|
@@ -51,7 +60,9 @@
|
|
|
<el-card class="box-card">
|
|
|
<div slot="header">
|
|
|
<span class="myTitle">跟进记录</span>
|
|
|
- <myRadio :value1="followParam.content" :value2="followParam.content.where" key1="dateType" @clickBtn="refreshTable('followParam','followRef')" :btnOptions="[{label:'全部',value:'全部'},{label:'本年',value:'本年'},{label:'本季',value:'本季'},{label:'本月',value:'本月'}]">
|
|
|
+ <myRadio :btnOptions="[{label:'全部',value:'全部'},{label:'本年',value:'本年'},{label:'本季',value:'本季'},{label:'本月',value:'本月'}]" :value1="followParam.content" :value2="followParam.content.where"
|
|
|
+ key1="dateType"
|
|
|
+ @clickBtn="refreshTable('followParam','followRef')">
|
|
|
</myRadio>
|
|
|
</div>
|
|
|
<myCard
|
|
|
@@ -64,22 +75,24 @@
|
|
|
]"
|
|
|
>
|
|
|
</myCard>
|
|
|
- <p style="font-size:14px;font-weight:bold;margin-bottom:10px" v-if="$refs.followRef && $refs.followRef.list[0] && $refs.followRef.list[0].followDetail.length">跟进人及次数</p>
|
|
|
+ <p v-if="$refs.followRef && $refs.followRef.list[0] && $refs.followRef.list[0].followDetail.length"
|
|
|
+ style="font-size:14px;font-weight:bold;margin-bottom:10px">
|
|
|
+ 跟进人及次数</p>
|
|
|
<div style="display:flex">
|
|
|
<myTag
|
|
|
- style="margin-right:10px"
|
|
|
v-for="(item,index) in $refs.followRef && $refs.followRef.list[0] && $refs.followRef.list[0].followDetail"
|
|
|
:key="index + 'b'"
|
|
|
:data="{title:item.name,descript:'跟进次数',value:item.qty}"
|
|
|
+ style="margin-right:10px"
|
|
|
>
|
|
|
</myTag>
|
|
|
</div>
|
|
|
<showIsNone title="跟进记录明细">
|
|
|
<pageTable
|
|
|
ref="followRef"
|
|
|
- :tablecols="tool.tabelCol($route.name).followTable.tablecols"
|
|
|
- :param="followParam"
|
|
|
:custom="true"
|
|
|
+ :param="followParam"
|
|
|
+ :tablecols="tool.tabelCol($route.name).followTable.tablecols"
|
|
|
>
|
|
|
<template v-slot:custom="scope">
|
|
|
<div v-if="scope.data.columnname === 'followname'">
|
|
|
@@ -97,7 +110,9 @@
|
|
|
<el-card class="box-card">
|
|
|
<div slot="header">
|
|
|
<span class="myTitle">关联客户</span>
|
|
|
- <myRadio :value1="customerParam.content" :value2="customerParam.content.where" key1="dateType" @clickBtn="refreshTable('customerParam','customerRef')" :btnOptions="[{label:'全部',value:'全部'},{label:'本年',value:'本年'},{label:'本季',value:'本季'},{label:'本月',value:'本月'}]">
|
|
|
+ <myRadio :btnOptions="[{label:'全部',value:'全部'},{label:'本年',value:'本年'},{label:'本季',value:'本季'},{label:'本月',value:'本月'}]" :value1="customerParam.content" :value2="customerParam.content.where"
|
|
|
+ key1="dateType"
|
|
|
+ @clickBtn="refreshTable('customerParam','customerRef')">
|
|
|
</myRadio>
|
|
|
</div>
|
|
|
<myNewCard
|
|
|
@@ -116,32 +131,42 @@
|
|
|
<showIsNone title="客户明细">
|
|
|
<pageTable
|
|
|
ref="customerRef"
|
|
|
- :tablecols="tool.tabelCol($route.name).customerTable.tablecols"
|
|
|
- :param="customerParam"
|
|
|
:custom="true"
|
|
|
+ :param="customerParam"
|
|
|
+ :tablecols="tool.tabelCol($route.name).customerTable.tablecols"
|
|
|
>
|
|
|
<template v-slot:custom="scope">
|
|
|
<div v-if="scope.data.columnname === 'tag'">
|
|
|
<div v-if="scope.data.data[scope.data.columnname].length > 0">
|
|
|
- <el-tag v-for="item in scope.data.data[scope.data.columnname]" :key="item.index" style="margin-right: 5px">{{item}}</el-tag>
|
|
|
+ <el-tag v-for="item in scope.data.data[scope.data.columnname]" :key="item.index"
|
|
|
+ style="margin-right: 5px">{{ item }}
|
|
|
+ </el-tag>
|
|
|
</div>
|
|
|
<div v-else>--</div>
|
|
|
</div>
|
|
|
<div v-else-if="scope.data.columnname === 'industry'">
|
|
|
<div v-if="scope.data.data[scope.data.columnname].length > 0">
|
|
|
- <el-tag v-for="item in scope.data.data[scope.data.columnname]" :key="item.index" style="margin-right: 5px">{{item}}</el-tag>
|
|
|
+ <el-tag v-for="item in scope.data.data[scope.data.columnname]" :key="item.index"
|
|
|
+ style="margin-right: 5px">{{ item }}
|
|
|
+ </el-tag>
|
|
|
</div>
|
|
|
<div v-else>--</div>
|
|
|
</div>
|
|
|
<div v-else-if="scope.data.columnname === 'tradingstatus'">
|
|
|
- <span style="color:#3874f6" v-if="scope.data.data[[scope.data.columnname]] == '未成交'">{{scope.data.data[[scope.data.columnname]]}}</span>
|
|
|
- <span style="color:#fa8c16" v-else-if="scope.data.data[[scope.data.columnname]] == '已成交'">{{scope.data.data[[scope.data.columnname]]}}</span>
|
|
|
- <span style="color:#333333" v-else-if="scope.data.data[[scope.data.columnname]] == '多次成交'">{{scope.data.data[[scope.data.columnname]]}}</span>
|
|
|
+ <span v-if="scope.data.data[[scope.data.columnname]] == '未成交'"
|
|
|
+ style="color:#3874f6">{{ scope.data.data[[scope.data.columnname]] }}</span>
|
|
|
+ <span v-else-if="scope.data.data[[scope.data.columnname]] == '已成交'"
|
|
|
+ style="color:#fa8c16">{{ scope.data.data[[scope.data.columnname]] }}</span>
|
|
|
+ <span v-else-if="scope.data.data[[scope.data.columnname]] == '多次成交'"
|
|
|
+ style="color:#333333">{{ scope.data.data[[scope.data.columnname]] }}</span>
|
|
|
</div>
|
|
|
<div v-else-if="scope.data.columnname === 'status'">
|
|
|
- <span style="color:#3874f6" v-if="scope.data.data[[scope.data.columnname]] == '潜在'">{{scope.data.data[[scope.data.columnname]]}}</span>
|
|
|
- <span style="color:#52c41a" v-else-if="scope.data.data[[scope.data.columnname]] == '合作中'">{{scope.data.data[[scope.data.columnname]]}}</span>
|
|
|
- <span style="color:#999999" v-else-if="scope.data.data[[scope.data.columnname]] == '已终止'">{{scope.data.data[[scope.data.columnname]]}}</span>
|
|
|
+ <span v-if="scope.data.data[[scope.data.columnname]] == '潜在'"
|
|
|
+ style="color:#3874f6">{{ scope.data.data[[scope.data.columnname]] }}</span>
|
|
|
+ <span v-else-if="scope.data.data[[scope.data.columnname]] == '合作中'"
|
|
|
+ style="color:#52c41a">{{ scope.data.data[[scope.data.columnname]] }}</span>
|
|
|
+ <span v-else-if="scope.data.data[[scope.data.columnname]] == '已终止'"
|
|
|
+ style="color:#999999">{{ scope.data.data[[scope.data.columnname]] }}</span>
|
|
|
</div>
|
|
|
<div v-else>
|
|
|
{{ scope.data.data[scope.data.columnname] || '--' }}
|
|
|
@@ -156,7 +181,9 @@
|
|
|
<el-card class="box-card">
|
|
|
<div slot="header">
|
|
|
<span class="myTitle">关联项目</span>
|
|
|
- <myRadio :value1="projectParam.content" :value2="projectParam.content.where" key1="dateType" @clickBtn="refreshTable('projectParam','projectRef')" :btnOptions="[{label:'全部',value:'全部'},{label:'本年',value:'本年'},{label:'本季',value:'本季'},{label:'本月',value:'本月'}]">
|
|
|
+ <myRadio :btnOptions="[{label:'全部',value:'全部'},{label:'本年',value:'本年'},{label:'本季',value:'本季'},{label:'本月',value:'本月'}]" :value1="projectParam.content" :value2="projectParam.content.where"
|
|
|
+ key1="dateType"
|
|
|
+ @clickBtn="refreshTable('projectParam','projectRef')">
|
|
|
</myRadio>
|
|
|
</div>
|
|
|
<myNewCard
|
|
|
@@ -175,25 +202,29 @@
|
|
|
<showIsNone title="项目明细">
|
|
|
<pageTable
|
|
|
ref="projectRef"
|
|
|
- :tablecols="tool.tabelCol($route.name).projectTable.tablecols"
|
|
|
- :param="projectParam"
|
|
|
:custom="true"
|
|
|
+ :param="projectParam"
|
|
|
+ :tablecols="tool.tabelCol($route.name).projectTable.tablecols"
|
|
|
>
|
|
|
<template v-slot:custom="scope">
|
|
|
<div v-if="scope.data.columnname === 'tradingamount'">
|
|
|
- {{scope.data.data[scope.data.columnname]?'¥'+tool.formatAmount(scope.data.data[scope.data.columnname],2):'¥0.00'}}
|
|
|
+ {{ scope.data.data[scope.data.columnname] ? '¥' + tool.formatAmount(scope.data.data[scope.data.columnname], 2) : '¥0.00' }}
|
|
|
</div>
|
|
|
<div v-else-if="scope.data.columnname === 'signamount_due'">
|
|
|
- {{scope.data.data[scope.data.columnname]?'¥'+tool.formatAmount(scope.data.data[scope.data.columnname],2):'¥0.00'}}
|
|
|
+ {{ scope.data.data[scope.data.columnname] ? '¥' + tool.formatAmount(scope.data.data[scope.data.columnname], 2) : '¥0.00' }}
|
|
|
</div>
|
|
|
<div v-else-if="scope.data.columnname === 'status'">
|
|
|
- <span style="color:#52c41a" v-if="scope.data.data[[scope.data.columnname]] == '跟进中'">{{scope.data.data[[scope.data.columnname]]}}</span>
|
|
|
- <span style="color:#fa8c16" v-else-if="scope.data.data[[scope.data.columnname]] == '已成交'">{{scope.data.data[[scope.data.columnname]]}}</span>
|
|
|
- <span style="color:#999999" v-else-if="scope.data.data[[scope.data.columnname]] == '已失败'">{{scope.data.data[[scope.data.columnname]]}}</span>
|
|
|
- <span style="color:#999999" v-else-if="scope.data.data[[scope.data.columnname]] == '已结案'">{{scope.data.data[[scope.data.columnname]]}}</span>
|
|
|
+ <span v-if="scope.data.data[[scope.data.columnname]] == '跟进中'"
|
|
|
+ style="color:#52c41a">{{ scope.data.data[[scope.data.columnname]] }}</span>
|
|
|
+ <span v-else-if="scope.data.data[[scope.data.columnname]] == '已成交'"
|
|
|
+ style="color:#fa8c16">{{ scope.data.data[[scope.data.columnname]] }}</span>
|
|
|
+ <span v-else-if="scope.data.data[[scope.data.columnname]] == '已失败'"
|
|
|
+ style="color:#999999">{{ scope.data.data[[scope.data.columnname]] }}</span>
|
|
|
+ <span v-else-if="scope.data.data[[scope.data.columnname]] == '已结案'"
|
|
|
+ style="color:#999999">{{ scope.data.data[[scope.data.columnname]] }}</span>
|
|
|
</div>
|
|
|
<div v-else-if="scope.data.columnname === 'projecttype'">
|
|
|
- {{scope.data.data.projecttype + '-' + scope.data.data.projecttype_remarks}}
|
|
|
+ {{ scope.data.data.projecttype + '-' + scope.data.data.projecttype_remarks }}
|
|
|
</div>
|
|
|
<div v-else>
|
|
|
{{ scope.data.data[scope.data.columnname] || '--' }}
|
|
|
@@ -208,9 +239,12 @@
|
|
|
<el-card class="box-card">
|
|
|
<div slot="header">
|
|
|
<span class="myTitle">报价单</span>
|
|
|
- <myRadio class="inline-16" :value1="quotationParam.content" :value2="quotationParam.content.where" key1="dateType" @clickBtn="refreshTable('quotationParam','quotationRef')" :btnOptions="[{label:'全部',value:'全部'},{label:'本年',value:'本年'},{label:'本季',value:'本季'},{label:'本月',value:'本月'}]">
|
|
|
+ <myRadio :btnOptions="[{label:'全部',value:'全部'},{label:'本年',value:'本年'},{label:'本季',value:'本季'},{label:'本月',value:'本月'}]" :value1="quotationParam.content" :value2="quotationParam.content.where"
|
|
|
+ class="inline-16" key1="dateType"
|
|
|
+ @clickBtn="refreshTable('quotationParam','quotationRef')">
|
|
|
</myRadio>
|
|
|
- <el-select v-model="quotationParam.content.where.isproject" placeholder="请选择" @change="refreshTable('quotationParam','quotationRef')" clearable size="small">
|
|
|
+ <el-select v-model="quotationParam.content.where.isproject" clearable
|
|
|
+ placeholder="请选择" size="small" @change="refreshTable('quotationParam','quotationRef')">
|
|
|
<el-option label="全部" value=""></el-option>
|
|
|
<el-option label="项目报价单" value="1"></el-option>
|
|
|
<el-option label="客户报价单" value="0"></el-option>
|
|
|
@@ -228,28 +262,32 @@
|
|
|
<showIsNone title="报价单明细">
|
|
|
<pageTable
|
|
|
ref="quotationRef"
|
|
|
- :tablecols="tool.tabelCol($route.name).quotedPriceTable.tablecols"
|
|
|
- :param="quotationParam"
|
|
|
:custom="true"
|
|
|
+ :param="quotationParam"
|
|
|
+ :tablecols="tool.tabelCol($route.name).quotedPriceTable.tablecols"
|
|
|
>
|
|
|
<template v-slot:custom="scope">
|
|
|
<div v-if="scope.data.columnname === 'sumamount'">
|
|
|
- {{scope.data.data[scope.data.columnname]?'¥'+tool.formatAmount(scope.data.data[scope.data.columnname],2):'¥0.00'}}
|
|
|
+ {{ scope.data.data[scope.data.columnname] ? '¥' + tool.formatAmount(scope.data.data[scope.data.columnname], 2) : '¥0.00' }}
|
|
|
</div>
|
|
|
<div v-else-if="scope.data.columnname === 'discountrate'">
|
|
|
- {{scope.data.data[scope.data.columnname]?Math.round((scope.data.data[scope.data.columnname] * 100)*100)/100 + '%':'--'}}
|
|
|
+ {{ scope.data.data[scope.data.columnname] ? Math.round((scope.data.data[scope.data.columnname] * 100) * 100) / 100 + '%' : '--' }}
|
|
|
</div>
|
|
|
<div v-else-if="scope.data.columnname === 'specialoffer'">
|
|
|
- {{scope.data.data[scope.data.columnname] == '1'?'是':'否'}}
|
|
|
+ {{ scope.data.data[scope.data.columnname] == '1' ? '是' : '否' }}
|
|
|
</div>
|
|
|
<div v-else-if="scope.data.columnname === 'begdate'">
|
|
|
- {{scope.data.data.begdate?scope.data.data.begdate +'至' + scope.data.data.enddate:'--'}}
|
|
|
+ {{ scope.data.data.begdate ? scope.data.data.begdate + '至' + scope.data.data.enddate : '--' }}
|
|
|
</div>
|
|
|
<div v-else-if="scope.data.columnname === 'status'">
|
|
|
- <span style="color:#3874f6" v-if="scope.data.data[[scope.data.columnname]] == '新建'">{{scope.data.data[[scope.data.columnname]]}}</span>
|
|
|
- <span style="color:#52c41a" v-else-if="scope.data.data[[scope.data.columnname]] == '提交'">{{scope.data.data[[scope.data.columnname]]}}</span>
|
|
|
- <span style="color:#333333" v-else-if="scope.data.data[[scope.data.columnname]] == '审核'">{{scope.data.data[[scope.data.columnname]]}}</span>
|
|
|
- <span style="color:#fa8c16" v-else-if="scope.data.data[[scope.data.columnname]] == '复核'">{{scope.data.data[[scope.data.columnname]]}}</span>
|
|
|
+ <span v-if="scope.data.data[[scope.data.columnname]] == '新建'"
|
|
|
+ style="color:#3874f6">{{ scope.data.data[[scope.data.columnname]] }}</span>
|
|
|
+ <span v-else-if="scope.data.data[[scope.data.columnname]] == '提交'"
|
|
|
+ style="color:#52c41a">{{ scope.data.data[[scope.data.columnname]] }}</span>
|
|
|
+ <span v-else-if="scope.data.data[[scope.data.columnname]] == '审核'"
|
|
|
+ style="color:#333333">{{ scope.data.data[[scope.data.columnname]] }}</span>
|
|
|
+ <span v-else-if="scope.data.data[[scope.data.columnname]] == '复核'"
|
|
|
+ style="color:#fa8c16">{{ scope.data.data[[scope.data.columnname]] }}</span>
|
|
|
</div>
|
|
|
<div v-else style="text-wrap:wrap;word-wrap: break-word;white-space: normal;">
|
|
|
{{ scope.data.data[scope.data.columnname] || '--' }}
|
|
|
@@ -264,11 +302,15 @@
|
|
|
<el-card class="box-card">
|
|
|
<div slot="header">
|
|
|
<span class="myTitle">订单</span>
|
|
|
- <myRadio :value1="orderParam.content" :value2="orderParam.content.where" key1="dateType" @clickBtn="refreshTable('orderParam','orderRef')" :btnOptions="[{label:'全部',value:'全部'},{label:'本年',value:'本年'},{label:'本季',value:'本季'},{label:'本月',value:'本月'}]">
|
|
|
+ <myRadio :btnOptions="[{label:'全部',value:'全部'},{label:'本年',value:'本年'},{label:'本季',value:'本季'},{label:'本月',value:'本月'}]" :value1="orderParam.content" :value2="orderParam.content.where"
|
|
|
+ key1="dateType"
|
|
|
+ @clickBtn="refreshTable('orderParam','orderRef')">
|
|
|
</myRadio>
|
|
|
- <el-select style="margin-left:24px" v-model="orderParam.content.where.type" clearable size="mini" placeholder="请选择订单类型" @change="refreshTable('orderParam','orderRef')">
|
|
|
+ <el-select v-model="orderParam.content.where.type" clearable placeholder="请选择订单类型" size="mini"
|
|
|
+ style="margin-left:24px" @change="refreshTable('orderParam','orderRef')">
|
|
|
<el-option label="全部" value=""></el-option>
|
|
|
- <el-option :label="item.value" :value="item.value" v-for="(item,index) in orderTypeList" :key="index"></el-option>
|
|
|
+ <el-option v-for="(item,index) in orderTypeList" :key="index" :label="item.value"
|
|
|
+ :value="item.value"></el-option>
|
|
|
</el-select>
|
|
|
</div>
|
|
|
<myCard
|
|
|
@@ -286,33 +328,47 @@
|
|
|
<showIsNone title="订单明细">
|
|
|
<pageTable
|
|
|
ref="orderRef"
|
|
|
- :tablecols="tool.tabelCol($route.name).orderTable.tablecols"
|
|
|
- :param="orderParam"
|
|
|
:custom="true"
|
|
|
+ :param="orderParam"
|
|
|
+ :tablecols="tool.tabelCol($route.name).orderTable.tablecols"
|
|
|
>
|
|
|
<template v-slot:custom="scope">
|
|
|
<div v-if="scope.data.columnname == 'amount'">
|
|
|
- {{scope.data.data.amount && tool.formatAmount(scope.data.data.amount || 0,2,'¥') }}
|
|
|
+ {{ scope.data.data.amount && tool.formatAmount(scope.data.data.amount || 0, 2, '¥') }}
|
|
|
</div>
|
|
|
<div v-else-if="scope.data.columnname == 'writeoffamount'">
|
|
|
- {{scope.data.data.writeoffamount?'¥'+tool.formatAmount(scope.data.data.writeoffamount,2):'¥0.00' }}
|
|
|
+ {{
|
|
|
+ scope.data.data.writeoffamount ? '¥' + tool.formatAmount(scope.data.data.writeoffamount, 2) : '¥0.00'
|
|
|
+ }}
|
|
|
</div>
|
|
|
<div v-else-if="scope.data.columnname == 'unoutOrderamount'">
|
|
|
- {{scope.data.data.unoutOrderamount && tool.formatAmount(scope.data.data.unoutOrderamount || 0,2,'¥') }}
|
|
|
+ {{
|
|
|
+ scope.data.data.unoutOrderamount && tool.formatAmount(scope.data.data.unoutOrderamount || 0, 2, '¥')
|
|
|
+ }}
|
|
|
</div>
|
|
|
<div v-else-if="scope.data.columnname == 'uninvoicamount'">
|
|
|
- {{scope.data.data.uninvoicamount && tool.formatAmount(scope.data.data.uninvoicamount || 0,2,'¥') }}
|
|
|
+ {{
|
|
|
+ scope.data.data.uninvoicamount && tool.formatAmount(scope.data.data.uninvoicamount || 0, 2, '¥')
|
|
|
+ }}
|
|
|
</div>
|
|
|
<div v-else-if="scope.data.columnname == 'unwriteoffamount'">
|
|
|
- {{scope.data.data.unwriteoffamount && tool.formatAmount(scope.data.data.unwriteoffamount || 0,2,'¥') }}
|
|
|
+ {{
|
|
|
+ scope.data.data.unwriteoffamount && tool.formatAmount(scope.data.data.unwriteoffamount || 0, 2, '¥')
|
|
|
+ }}
|
|
|
</div>
|
|
|
<div v-else-if="scope.data.columnname == 'status'">
|
|
|
- <span style="color:#000000" v-if="scope.data.data[[scope.data.columnname]] == '新建'">{{scope.data.data[[scope.data.columnname]]}}</span>
|
|
|
- <span style="color:#d90a0a" v-else-if="scope.data.data[[scope.data.columnname]] == '提交'">{{scope.data.data[[scope.data.columnname]]}}</span>
|
|
|
- <span style="color:#e09a1a" v-if="scope.data.data[[scope.data.columnname]] == '交期待确认'">{{scope.data.data[[scope.data.columnname]]}}</span>
|
|
|
- <span style="color:#3874f6" v-else-if="scope.data.data[[scope.data.columnname]] == '交期确认'">{{scope.data.data[[scope.data.columnname]]}}</span>
|
|
|
- <span style="color:#52C41A" v-if="scope.data.data[[scope.data.columnname]] == '审核'">{{scope.data.data[[scope.data.columnname]]}}</span>
|
|
|
- <span style="color:#b2c0ea" v-else-if="scope.data.data[[scope.data.columnname]] == '关闭'">{{scope.data.data[[scope.data.columnname]]}}</span>
|
|
|
+ <span v-if="scope.data.data[[scope.data.columnname]] == '新建'"
|
|
|
+ style="color:#000000">{{ scope.data.data[[scope.data.columnname]] }}</span>
|
|
|
+ <span v-else-if="scope.data.data[[scope.data.columnname]] == '提交'"
|
|
|
+ style="color:#d90a0a">{{ scope.data.data[[scope.data.columnname]] }}</span>
|
|
|
+ <span v-if="scope.data.data[[scope.data.columnname]] == '交期待确认'"
|
|
|
+ style="color:#e09a1a">{{ scope.data.data[[scope.data.columnname]] }}</span>
|
|
|
+ <span v-else-if="scope.data.data[[scope.data.columnname]] == '交期确认'"
|
|
|
+ style="color:#3874f6">{{ scope.data.data[[scope.data.columnname]] }}</span>
|
|
|
+ <span v-if="scope.data.data[[scope.data.columnname]] == '审核'"
|
|
|
+ style="color:#52C41A">{{ scope.data.data[[scope.data.columnname]] }}</span>
|
|
|
+ <span v-else-if="scope.data.data[[scope.data.columnname]] == '关闭'"
|
|
|
+ style="color:#b2c0ea">{{ scope.data.data[[scope.data.columnname]] }}</span>
|
|
|
</div>
|
|
|
<div v-else style="text-wrap:wrap;word-wrap: break-word;white-space: normal;">
|
|
|
{{ scope.data.data[scope.data.columnname] || '--' }}
|
|
|
@@ -334,104 +390,105 @@ import pageTable from '@/HDrpManagement/customerPortrait/modules/pageTable'
|
|
|
import showIsNone from '@/HDrpManagement/customerPortrait/modules/showIsNone'
|
|
|
import myNewCard from './myNewCrad'
|
|
|
import myTag from '@/HDrpManagement/customerPortrait/modules/myTag'
|
|
|
+
|
|
|
export default {
|
|
|
name: "detail",
|
|
|
- props:['data'],
|
|
|
- components:{myRadio,myCard,pageTable,showIsNone,myTag,myNewCard},
|
|
|
- data(){
|
|
|
+ props: ['data'],
|
|
|
+ components: {myRadio, myCard, pageTable, showIsNone, myTag, myNewCard},
|
|
|
+ data() {
|
|
|
return {
|
|
|
- dialogFormVisible:false,
|
|
|
- detailInfo:{},
|
|
|
- followParam:{
|
|
|
+ dialogFormVisible: false,
|
|
|
+ detailInfo: {},
|
|
|
+ followParam: {
|
|
|
"id": 20240605110904,
|
|
|
"content": {
|
|
|
- "sys_phonebookid":this.$route.query.id,
|
|
|
- "dateType":"全部",
|
|
|
- "where":{
|
|
|
- "begdate":"",
|
|
|
- "enddate":""
|
|
|
+ "sys_phonebookid": this.$route.query.id,
|
|
|
+ "dateType": "全部",
|
|
|
+ "where": {
|
|
|
+ "begdate": "",
|
|
|
+ "enddate": ""
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- customerParam:{
|
|
|
+ customerParam: {
|
|
|
"id": 20240605124904,
|
|
|
"content": {
|
|
|
- "sys_phonebookid":this.$route.query.id,
|
|
|
- "dateType":"全部",// 全部 本年 本季 本月 自定义
|
|
|
- "where":{
|
|
|
- "begdate":"",
|
|
|
- "enddate":""
|
|
|
+ "sys_phonebookid": this.$route.query.id,
|
|
|
+ "dateType": "全部",// 全部 本年 本季 本月 自定义
|
|
|
+ "where": {
|
|
|
+ "begdate": "",
|
|
|
+ "enddate": ""
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- projectParam:{
|
|
|
+ projectParam: {
|
|
|
"id": 20240605131804,
|
|
|
"content": {
|
|
|
- "sys_phonebookid":this.$route.query.id,
|
|
|
- "dateType":"全部",// 全部 本年 本季 本月 自定义
|
|
|
- "where":{
|
|
|
- "begdate":"",
|
|
|
- "enddate":""
|
|
|
+ "sys_phonebookid": this.$route.query.id,
|
|
|
+ "dateType": "全部",// 全部 本年 本季 本月 自定义
|
|
|
+ "where": {
|
|
|
+ "begdate": "",
|
|
|
+ "enddate": ""
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- quotationParam:{
|
|
|
+ quotationParam: {
|
|
|
"id": 20240605133604,
|
|
|
"content": {
|
|
|
- "sys_phonebookid":this.$route.query.id,
|
|
|
- "dateType":"全部",// 全部 本年 本季 本月 自定义
|
|
|
- "where":{
|
|
|
- "begdate":"",
|
|
|
- "enddate":"",
|
|
|
- "isproject":""
|
|
|
+ "sys_phonebookid": this.$route.query.id,
|
|
|
+ "dateType": "全部",// 全部 本年 本季 本月 自定义
|
|
|
+ "where": {
|
|
|
+ "begdate": "",
|
|
|
+ "enddate": "",
|
|
|
+ "isproject": ""
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- orderParam:{
|
|
|
+ orderParam: {
|
|
|
"id": 20240605135904,
|
|
|
"content": {
|
|
|
- "sys_phonebookid":this.$route.query.id,
|
|
|
- "dateType":"全部",// 全部 本年 本季 本月 自定义
|
|
|
- "where":{
|
|
|
- "begdate":"",
|
|
|
- "enddate":"",
|
|
|
- "type":""//订单类型
|
|
|
+ "sys_phonebookid": this.$route.query.id,
|
|
|
+ "dateType": "全部",// 全部 本年 本季 本月 自定义
|
|
|
+ "where": {
|
|
|
+ "begdate": "",
|
|
|
+ "enddate": "",
|
|
|
+ "type": ""//订单类型
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- orderTypeList:[],
|
|
|
+ orderTypeList: [],
|
|
|
}
|
|
|
},
|
|
|
- methods:{
|
|
|
+ methods: {
|
|
|
/*详情页信息*/
|
|
|
- async getDetailInfo(){
|
|
|
+ async getDetailInfo() {
|
|
|
const res = await this.$api.requested({
|
|
|
"id": 20240605102804,
|
|
|
"content": {
|
|
|
- "sys_phonebookid":this.$route.query.id
|
|
|
+ "sys_phonebookid": this.$route.query.id
|
|
|
}
|
|
|
- })
|
|
|
- this.detailInfo = res.data[0]
|
|
|
- console.log(this.detailInfo,'detailInfo')
|
|
|
+ });
|
|
|
+ this.detailInfo = res.data[0];
|
|
|
+ console.log(this.detailInfo, 'detailInfo')
|
|
|
},
|
|
|
- refreshTable(param,el){
|
|
|
- this[param].content.pageNumber = 1
|
|
|
+ refreshTable(param, el) {
|
|
|
+ this[param].content.pageNumber = 1;
|
|
|
this.$refs[el] && this.$refs[el].listData()
|
|
|
},
|
|
|
- async queryType(){
|
|
|
- const res = await this.$store.dispatch('optiontypeselect','ordertype')
|
|
|
+ async queryType() {
|
|
|
+ const res = await this.$store.dispatch('optiontypeselect', 'ordertype');
|
|
|
this.orderTypeList = res.data
|
|
|
},
|
|
|
- unitCompile (num) {
|
|
|
+ unitCompile(num) {
|
|
|
if (num == 0) {
|
|
|
- return this.tool.formatAmount(num,0,'¥')
|
|
|
+ return this.tool.formatAmount(num, 0, '¥')
|
|
|
} else {
|
|
|
- return this.tool.formatAmount(num / 10000,2,'¥') + '万'
|
|
|
+ return this.tool.formatAmount(num / 10000, 2, '¥') + '万'
|
|
|
}
|
|
|
},
|
|
|
},
|
|
|
mounted() {
|
|
|
- this.getDetailInfo()
|
|
|
+ this.getDetailInfo();
|
|
|
this.queryType()
|
|
|
/*this.followData()*/
|
|
|
}
|
|
|
@@ -439,12 +496,14 @@ export default {
|
|
|
</script>
|
|
|
|
|
|
<style scoped>
|
|
|
-*{
|
|
|
+* {
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
+
|
|
|
.my-label {
|
|
|
background: rgba(235, 245, 253, 1);
|
|
|
}
|
|
|
+
|
|
|
.nowrap {
|
|
|
white-space: nowrap;
|
|
|
overflow: hidden;
|
|
|
@@ -452,25 +511,28 @@ export default {
|
|
|
flex: 100;
|
|
|
}
|
|
|
|
|
|
-/deep/.el-drawer {
|
|
|
- background:#F5F5F5 !important;
|
|
|
+/deep/ .el-drawer {
|
|
|
+ background: #F5F5F5 !important;
|
|
|
}
|
|
|
-/deep/.el-drawer__header{
|
|
|
+
|
|
|
+/deep/ .el-drawer__header {
|
|
|
display: none !important;
|
|
|
}
|
|
|
|
|
|
-/deep/.el-descriptions-item__cell {
|
|
|
+/deep/ .el-descriptions-item__cell {
|
|
|
padding: 8px 8px 0px 8px !important;
|
|
|
}
|
|
|
|
|
|
|
|
|
-/deep/.el-card__header,/deep/.el-card__body {
|
|
|
+/deep/ .el-card__header, /deep/ .el-card__body {
|
|
|
padding: 10px !important;
|
|
|
}
|
|
|
+
|
|
|
.Mcontainer .Mcontainer-header {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
}
|
|
|
+
|
|
|
.Mcontainer .Mcontainer-header .Mcontainer-header__left {
|
|
|
display: flex;
|
|
|
max-width: 350px;
|
|
|
@@ -478,24 +540,27 @@ export default {
|
|
|
align-items: center;
|
|
|
padding-right: 20px;
|
|
|
}
|
|
|
+
|
|
|
.Mcontainer .Mcontainer-header .Mcontainer-header__right {
|
|
|
flex: 100;
|
|
|
border-left: 1px solid #cccccc;
|
|
|
padding-left: 20px;
|
|
|
}
|
|
|
-.Mcontainer .Mcontainer-header .Mcontainer-header__left .account{
|
|
|
+
|
|
|
+.Mcontainer .Mcontainer-header .Mcontainer-header__left .account {
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
justify-content: space-between;
|
|
|
margin-left: 10px;
|
|
|
overflow: hidden;
|
|
|
- flex:100;
|
|
|
+ flex: 100;
|
|
|
}
|
|
|
-.Mcontainer .Mcontainer-header .Mcontainer-header__left .account .Mtag{
|
|
|
+
|
|
|
+.Mcontainer .Mcontainer-header .Mcontainer-header__left .account .Mtag {
|
|
|
margin-top: 5px;
|
|
|
}
|
|
|
|
|
|
-.Mcontainer .Mfollow{
|
|
|
+.Mcontainer .Mfollow {
|
|
|
margin-top: 10px;
|
|
|
}
|
|
|
|
|
|
@@ -503,32 +568,39 @@ export default {
|
|
|
margin-top: 10px;
|
|
|
padding-bottom: 10px;
|
|
|
}
|
|
|
+
|
|
|
.peopleInfo-content {
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
height: 300px;
|
|
|
overflow-y: scroll;
|
|
|
}
|
|
|
+
|
|
|
.peopleInfo-content::-webkit-scrollbar {
|
|
|
display: none;
|
|
|
}
|
|
|
+
|
|
|
.peopleInfo-content .leader {
|
|
|
margin-bottom: 10px;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
}
|
|
|
+
|
|
|
.peopleInfo-content .leader .title {
|
|
|
font-size: 14px;
|
|
|
}
|
|
|
+
|
|
|
.peopleInfo-content .leader .content {
|
|
|
display: flex;
|
|
|
flex-wrap: wrap;
|
|
|
}
|
|
|
+
|
|
|
.peopleInfo-content .leader .content .item {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
margin: 0 20px 10px 0;
|
|
|
}
|
|
|
+
|
|
|
.peopleInfo-content .leader .content .avatar {
|
|
|
width: 50px;
|
|
|
height: 50px;
|
|
|
@@ -536,13 +608,15 @@ export default {
|
|
|
text-align: center;
|
|
|
line-height: 50px;
|
|
|
background: #3874F6;
|
|
|
- margin-right:10px;
|
|
|
+ margin-right: 10px;
|
|
|
color: #ffffff;
|
|
|
}
|
|
|
+
|
|
|
.peopleInfo-content .leader .content .Info {
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
}
|
|
|
+
|
|
|
.peopleInfo-content .leader .content .Info div {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
@@ -556,18 +630,22 @@ export default {
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
}
|
|
|
+
|
|
|
.peopleInfo-content .people .title {
|
|
|
font-size: 14px;
|
|
|
}
|
|
|
+
|
|
|
.peopleInfo-content .people .content {
|
|
|
display: flex;
|
|
|
- flex-wrap:wrap;
|
|
|
+ flex-wrap: wrap;
|
|
|
}
|
|
|
+
|
|
|
.peopleInfo-content .people .content .item {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
margin: 0 20px 10px 0;
|
|
|
}
|
|
|
+
|
|
|
.peopleInfo-content .people .content .avatar {
|
|
|
width: 50px;
|
|
|
height: 50px;
|
|
|
@@ -578,10 +656,12 @@ export default {
|
|
|
margin-right: 10px;
|
|
|
color: #ffffff;
|
|
|
}
|
|
|
+
|
|
|
.peopleInfo-content .people .content .Info {
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
}
|
|
|
+
|
|
|
.peopleInfo-content .people .content .Info div {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
@@ -589,22 +669,25 @@ export default {
|
|
|
color: #cccccc;
|
|
|
}
|
|
|
|
|
|
-.peopleInfo-content .people {}
|
|
|
+.peopleInfo-content .people {
|
|
|
+}
|
|
|
|
|
|
.descript {
|
|
|
font-size: 12px;
|
|
|
color: #cccccc;
|
|
|
margin-right: 20px;
|
|
|
- white-space:nowrap;
|
|
|
+ white-space: nowrap;
|
|
|
}
|
|
|
+
|
|
|
.title {
|
|
|
font-size: 14px;
|
|
|
color: #000000;
|
|
|
margin-right: 10px;
|
|
|
- white-space:nowrap;
|
|
|
+ white-space: nowrap;
|
|
|
}
|
|
|
+
|
|
|
.myTitle {
|
|
|
- margin-right:24px;
|
|
|
+ margin-right: 24px;
|
|
|
font-size: 16px;
|
|
|
font-weight: bold;
|
|
|
}
|