From 20720ca3e192d415bf785655f3849e27ceda2c44 Mon Sep 17 00:00:00 2001 From: xzg <4727863@qq.com> Date: Mon, 8 Jan 2024 16:27:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=93=E5=BA=93=E5=AE=A2=E6=9C=8D=E4=B8=8D?= =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E6=93=8D=E4=BD=9C=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/aftersales/aftersalesWorkOrder.vue | 11 ++++-- .../aftersales/aftersalesWorkOrderInfo.vue | 20 ++++++++-- .../aftersales/aftersalesWorkOrderend.vue | 19 +++++++-- .../aftersales/aftersalesWorkOrdermodify.vue | 39 +++++++++++++++---- 4 files changed, 72 insertions(+), 17 deletions(-) diff --git a/src/views/aftersales/aftersalesWorkOrder.vue b/src/views/aftersales/aftersalesWorkOrder.vue index 2453e40f..aae69be4 100644 --- a/src/views/aftersales/aftersalesWorkOrder.vue +++ b/src/views/aftersales/aftersalesWorkOrder.vue @@ -167,7 +167,7 @@
查看 @@ -178,7 +178,7 @@ >确定 - 待添加 + 编辑 @@ -1480,6 +1480,11 @@ const Appealbutton = () => { }); }; +// 申诉列表编辑 +const Appealeditor=()=>{ + +} + // 异常类型事件 const abnormalChange = val => { console.log(val); @@ -1862,7 +1867,7 @@ const appealFn = val => { // 申诉列表 const AppealTab = val => { if (val == 0) { - AppealStatusT.value = false; //申诉列表开启 + AppealStatusT.value = false; //申诉列表关闭 Tableheaderswitching(columnList); //切换表头 console.log('处理完毕'); ProcessingPartyState.value = false; //关闭处理方 diff --git a/src/views/aftersales/aftersalesWorkOrderInfo.vue b/src/views/aftersales/aftersalesWorkOrderInfo.vue index 14756049..423f6f0a 100644 --- a/src/views/aftersales/aftersalesWorkOrderInfo.vue +++ b/src/views/aftersales/aftersalesWorkOrderInfo.vue @@ -288,7 +288,10 @@
{{ item.payment ? item.text : '支付方式' }}
- +
+ 支付单位: + +
{ flex-wrap: wrap; margin-top: 26px; justify-content: space-between; - justify-content: flex-start; .name { display: flex; margin-bottom: 20px; height: 30px; - width: 30%; + width: 48%; margin-right: 38px; span { display: block; @@ -1653,4 +1655,16 @@ const EndJump = () => { :deep(.el-input) { height: 100% !important; } +.el_PaymentUnit { + display: flex; + align-items: center; + span { + display: flex; + width: 80px !important; + align-items: center; + } + :deep(.el-input) { + width: 150px; + } +} diff --git a/src/views/aftersales/aftersalesWorkOrderend.vue b/src/views/aftersales/aftersalesWorkOrderend.vue index d01338bc..5c6f4540 100644 --- a/src/views/aftersales/aftersalesWorkOrderend.vue +++ b/src/views/aftersales/aftersalesWorkOrderend.vue @@ -1308,7 +1308,9 @@ const Chathistory = () => { msgState.value = res.data.data.processorVOList[0].processingStatus; //获取聊天状态 } } - MessageContent.value.push({ + // 仓库客服不需要操作记录 + + MessageContent.value.push({ time: item.createTime, //时间 content: item.content, //消息内容 name: item.addDepartment, //营业部名称 @@ -1320,10 +1322,13 @@ const Chathistory = () => { difference: item.difference, identifying: true, //是否显示待回复按钮 }); + + }); console.log(MessageContent.value, '处理好的聊天记录'); - - $_getTrackRecord({ + if(UserPermissions.value !='仓库客服'){ + console.log(UserPermissions.value,'当前不是仓库客服'); + $_getTrackRecord({ id: $route.query.id, }).then(res => { console.log(res, '处理记录返回值'); @@ -1348,6 +1353,14 @@ const Chathistory = () => { } }, 0); }); + + } + setTimeout(() => { + const container = scrollContainer.value; + if (container) { + container.scrollTop = container.scrollHeight; + } + }, 0); // 滚动到最后 }); }; diff --git a/src/views/aftersales/aftersalesWorkOrdermodify.vue b/src/views/aftersales/aftersalesWorkOrdermodify.vue index 7ae2f5e4..a41860ca 100644 --- a/src/views/aftersales/aftersalesWorkOrdermodify.vue +++ b/src/views/aftersales/aftersalesWorkOrdermodify.vue @@ -381,9 +381,15 @@ :max="item.max" @change="TotalChange" /> + +
{{ item.payment ? item.text : '支付方式' }}
+
+ 支付单位: + +
{ if (item) { if (item.typesOf == 2) { // 处理方 - endFrom.value.processor.push(item.businessId); - MessageResponsibility.value.push(item.businessId); + Indexform.value.processor.push(item.businessId); } } }); @@ -948,6 +953,7 @@ const onLoad = () => { name: item.resultTypeName, text: item.compensationMethodName, compensationTime:item.compensationTime, + paymentUnit:item.paymentUnit,//支付单位 }; } ); @@ -1133,7 +1139,7 @@ const changeProcessingResults = val => { // 然后添加或保持新的项目 val.forEach(num => { - let newItem = { input: 0, min: 0, max: 9999999999999, state: num + 1, payment: '', text: '',compensationTime:'' }; + let newItem = { input: 0, min: 0, max: 9999999999999, state: num + 1, payment: '', text: '',compensationTime:'',paymentUnit:'' }; // 根据num为newItem的name字段赋值 switch (num) { case '1': @@ -1584,11 +1590,12 @@ const ConfirmForm = () => { resultType: match.dictKey, //赔方式的key money: item.input, //金额 typesOf: 1, //固定参数 - compensationMethod: paymentMethodMatch ? paymentMethodMatch.dictKey : '未知支付方式', + compensationMethod: paymentMethodMatch ? paymentMethodMatch.dictKey : '', compensationMethodName: paymentMethodMatch ? paymentMethodMatch.dictValue - : '未知支付方式', + : '', resultName: item.name, //处理结果名字 + paymentUnit:item.paymentUnit,//支付单位 }; } else { return null; @@ -1691,11 +1698,12 @@ const Arbitrationcompleted = () => { resultType: match.dictKey, //赔方式的key money: item.input, //金额 typesOf: 1, //固定参数 - compensationMethod: paymentMethodMatch ? paymentMethodMatch.dictKey : '未知支付方式', + compensationMethod: paymentMethodMatch ? paymentMethodMatch.dictKey : '', compensationMethodName: paymentMethodMatch ? paymentMethodMatch.dictValue - : '未知支付方式', + : '', resultName: item.name, //处理结果名字 + paymentUnit:item.paymentUnit,//支付单位 }; } else { return null; @@ -2165,7 +2173,10 @@ const ViewPackageDetails = val => { display: flex; margin-bottom: 20px; height: 30px; - width: 33%; + width: 48%; + :deep(.el-input-number){ + width: 230px; + } span { display: block; width: 30%; @@ -2283,4 +2294,16 @@ const ViewPackageDetails = val => { :deep(.el-input) { height:100% !important; } + .el_PaymentUnit { + display: flex; + align-items: center; + span { + display: flex; + width: 80px !important; + align-items: center; + } + :deep(.el-input) { + width: 150px; + } +}