Commit 76e35a21 by 杨北旺

Merge branch 'v2.6.0' of 192.168.3.233:saas/scrm-micro-services into v2.6.0

2 parents 1aca6536 af7aef90
...@@ -726,7 +726,7 @@ export default { ...@@ -726,7 +726,7 @@ export default {
const h = this.$createElement const h = this.$createElement
const tip = addOrEdit == 3 ? '修改申请' : '退单申请' const tip = addOrEdit == 3 ? '修改申请' : '退单申请'
this.$message({ this.$message({
message: h('p', null, [h('p', { style: 'text-align: center; line-height: 20px; color: #F56C6C;' }, '为保障客户权益,请邮件主送:operation@didihu.com.cn,抄送:liuqm@didihu.com.cn,jiangfj@didihu.com.cn提交' + tip)]), message: h('p', null, [h('p', { style: 'text-align: center; line-height: 20px; color: #F56C6C;' }, '为保障客户权益,请邮件主送:service@didihu.com.cn,提交修改申请 ,邮件标题:门店名称+合同号+修改内容,并备注门店接待姓名+电话')]),
type: 'error', type: 'error',
customClass: 'customMessage' customClass: 'customMessage'
}) })
...@@ -853,7 +853,7 @@ export default { ...@@ -853,7 +853,7 @@ export default {
if (!this.userInfo.admin && new Date(new Date().setDate(new Date().getDate() - 7)) > new Date(row.successDate)) { if (!this.userInfo.admin && new Date(new Date().setDate(new Date().getDate() - 7)) > new Date(row.successDate)) {
const h = this.$createElement const h = this.$createElement
this.$message({ this.$message({
message: h('p', null, [h('p', { style: 'text-align: center; line-height: 20px; color: #F56C6C;' }, '为保障客户权益,请邮件主送:operation@didihu.com.cn,抄送:liuqm@didihu.com.cn,jiangfj@didihu.com.cn提交退单申请 ')]), message: h('p', null, [h('p', { style: 'text-align: center; line-height: 20px; color: #F56C6C;' }, '为保障客户权益,请邮件主送:service@didihu.com.cn,提交退单申请 ,邮件标题:门店名称+合同号+退单原因,并备注门店接待姓名+电话')]),
type: 'error', type: 'error',
customClass: 'customMessage' customClass: 'customMessage'
}) })
......
...@@ -61,6 +61,7 @@ export default { ...@@ -61,6 +61,7 @@ export default {
size: 'small', size: 'small',
eventBus: new Vue(), eventBus: new Vue(),
expertId: '', expertId: '',
merchantId: '',
routeInfo: {}, routeInfo: {},
expertTypeList: [], expertTypeList: [],
basicRule: { basicRule: {
...@@ -220,6 +221,7 @@ export default { ...@@ -220,6 +221,7 @@ export default {
if (this.$refs.membersForm.activeName == 2) { if (this.$refs.membersForm.activeName == 2) {
this.selectPerson.staffId = selectPerson.id this.selectPerson.staffId = selectPerson.id
} }
this.merchantId = this.$refs.membersForm.activeName == 2 ? selectPerson.merchantId : ''
this.openMembers() this.openMembers()
} else { } else {
this.$message({ this.$message({
...@@ -271,6 +273,7 @@ export default { ...@@ -271,6 +273,7 @@ export default {
// } // }
let params = { ...this.basicForm } let params = { ...this.basicForm }
params.welcomeInfo = preList params.welcomeInfo = preList
if (this.merchantId) params.merchantId = this.merchantId
console.log(params, 'params') console.log(params, 'params')
const loading = this.$loading({ const loading = this.$loading({
lock: true, lock: true,
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
</div> </div>
<div class="container"> <div class="container">
<div class="number"> <div class="number">
<GLCombiForm ref="showSearch" @handleOk="handleSearch" @handleRest="handleReset" :formObj="searchForm" :searchSelectObj="searchSelectObj" :formData="searchFormData" :rowNumber="3"></GLCombiForm> <GLCombiForm ref="showSearch" @handleOk="handleSearch" @handleRest="handleReset" :formObj="searchForm" :searchSelectObj="searchSelectObj" :formData="searchFormData" :rowNumber="2"></GLCombiForm>
</div> </div>
<!-- 表格区域 开始 --> <!-- 表格区域 开始 -->
...@@ -263,6 +263,7 @@ export default { ...@@ -263,6 +263,7 @@ export default {
orderStatus: '', orderStatus: '',
packageCode: '', packageCode: '',
merchantId: '', merchantId: '',
completionStatus: '',
dqtId: '', dqtId: '',
pqId: '', pqId: '',
mdId: '', mdId: '',
...@@ -323,6 +324,15 @@ export default { ...@@ -323,6 +324,15 @@ export default {
optionsName: 'orderStatusList' optionsName: 'orderStatusList'
}, },
{ {
label: '完成状态',
name: 'completionStatus',
type: 'select',
optionList: [],
optionId: 'confId',
optionLabel: 'confName',
optionsName: 'completList'
},
{
label: '产品名称', label: '产品名称',
name: 'packageCode', name: 'packageCode',
type: 'select', type: 'select',
...@@ -446,6 +456,16 @@ export default { ...@@ -446,6 +456,16 @@ export default {
dqList: [], dqList: [],
pqList: [], pqList: [],
mdList: [], mdList: [],
completList: [
{
confId: 2,
confName: '提单成功'
},
{
confId: 4,
confName: '已退单'
}
],
orderStatusList: [ orderStatusList: [
{ {
confId: 0, confId: 0,
...@@ -741,7 +761,7 @@ export default { ...@@ -741,7 +761,7 @@ export default {
const h = this.$createElement const h = this.$createElement
const tip = addOrEdit == 3 ? '修改申请' : '退单申请' const tip = addOrEdit == 3 ? '修改申请' : '退单申请'
this.$message({ this.$message({
message: h('p', null, [h('p', { style: 'text-align: center; line-height: 20px; color: #F56C6C;' }, '为保障客户权益,请邮件主送:operation@didihu.com.cn,抄送:liuqm@didihu.com.cn,jiangfj@didihu.com.cn提交' + tip)]), message: h('p', null, [h('p', { style: 'text-align: center; line-height: 20px; color: #F56C6C;' }, '为保障客户权益,请邮件主送:service@didihu.com.cn,提交修改申请 ,邮件标题:门店名称+合同号+修改内容,并备注门店接待姓名+电话')]),
type: 'error', type: 'error',
customClass: 'customMessage' customClass: 'customMessage'
}) })
...@@ -887,7 +907,7 @@ export default { ...@@ -887,7 +907,7 @@ export default {
if (!this.userInfo.admin && new Date(new Date().setDate(new Date().getDate() - 7)) > new Date(row.successDate)) { if (!this.userInfo.admin && new Date(new Date().setDate(new Date().getDate() - 7)) > new Date(row.successDate)) {
const h = this.$createElement const h = this.$createElement
this.$message({ this.$message({
message: h('p', null, [h('p', { style: 'text-align: center; line-height: 20px; color: #F56C6C;' }, '为保障客户权益,请邮件主送:operation@didihu.com.cn,抄送:liuqm@didihu.com.cn,jiangfj@didihu.com.cn提交退单申请 ')]), message: h('p', null, [h('p', { style: 'text-align: center; line-height: 20px; color: #F56C6C;' }, '为保障客户权益,请邮件主送:service@didihu.com.cn,提交退单申请 ,邮件标题:门店名称+合同号+退单原因,并备注门店接待姓名+电话')]),
type: 'error', type: 'error',
customClass: 'customMessage' customClass: 'customMessage'
}) })
...@@ -1089,6 +1109,22 @@ export default { ...@@ -1089,6 +1109,22 @@ export default {
} }
}, },
{ {
label: '退单时间',
prop: 'rollbackTime',
width: '160px',
formatter: cellValue => {
return cellValue.rollbackTime ? dayjs(cellValue.rollbackTime).format('YYYY-MM-DD HH:mm:ss') : '-'
}
},
{
label: '退单金额',
prop: 'rollbackAmount',
width: '160px',
formatter: cellValue => {
return cellValue.rollbackAmount ? (cellValue.rollbackAmount / 100).toFixed(2) : '-'
}
},
{
label: '服务期限', label: '服务期限',
prop: 'servicePeriod', prop: 'servicePeriod',
line: 1, line: 1,
...@@ -1115,6 +1151,14 @@ export default { ...@@ -1115,6 +1151,14 @@ export default {
} }
}, },
{ {
label: '完成状态',
prop: 'orderStatus',
width: '120px',
formatter: cellValue => {
return this.baseData.completList.map(item => item.confId).includes(cellValue.completionStatus) ? this.baseData.completList.find(item => item.confId == cellValue.completionStatus).confName : '-'
}
},
{
label: '状态描述', label: '状态描述',
prop: 'erpErrorMsg', prop: 'erpErrorMsg',
width: '300px', width: '300px',
...@@ -1315,6 +1359,22 @@ export default { ...@@ -1315,6 +1359,22 @@ export default {
} }
}, },
{ {
label: '退单时间',
prop: 'rollbackTime',
width: '160px',
formatter: cellValue => {
return cellValue.rollbackTime ? dayjs(cellValue.rollbackTime).format('YYYY-MM-DD HH:mm:ss') : '-'
}
},
{
label: '退单金额',
prop: 'rollbackAmount',
width: '160px',
formatter: cellValue => {
return cellValue.rollbackAmount ? (cellValue.rollbackAmount / 100).toFixed(2) : '-'
}
},
{
label: '门店成本', label: '门店成本',
prop: 'costPrice', prop: 'costPrice',
width: '160px', width: '160px',
...@@ -1349,6 +1409,14 @@ export default { ...@@ -1349,6 +1409,14 @@ export default {
} }
}, },
{ {
label: '完成状态',
prop: 'orderStatus',
width: '120px',
formatter: cellValue => {
return this.baseData.completList.map(item => item.confId).includes(cellValue.completionStatus) ? this.baseData.completList.find(item => item.confId == cellValue.completionStatus).confName : '-'
}
},
{
label: '状态描述', label: '状态描述',
prop: 'erpErrorMsg', prop: 'erpErrorMsg',
width: '200px', width: '200px',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!