|
|
|
@ -408,7 +408,7 @@
|
|
|
|
|
filterable |
|
|
|
|
default-first-option |
|
|
|
|
:reserve-keyword="false" |
|
|
|
|
placeholder="请选择处理结果" |
|
|
|
|
placeholder="暂无处理结果" |
|
|
|
|
disabled |
|
|
|
|
> |
|
|
|
|
<el-option |
|
|
|
@ -462,6 +462,18 @@
|
|
|
|
|
<span>总金额:{{ TotalClaimAmount }}元</span> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<!-- 处理结果说明 --> |
|
|
|
|
<el-form-item label="处理结果说明" class="el_resj" v-if="ProcessingList.length"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="Indexform.resultDescription" |
|
|
|
|
placeholder="请输入处理结果说明" |
|
|
|
|
clearable |
|
|
|
|
:autosize="{ minRows: 3, maxRows: 4 }" |
|
|
|
|
type="textarea" |
|
|
|
|
disabled |
|
|
|
|
/> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-tab-pane> |
|
|
|
|
</el-tabs> |
|
|
|
|
|
|
|
|
@ -488,26 +500,35 @@
|
|
|
|
|
|
|
|
|
|
<div class="el_pkLi"> |
|
|
|
|
<div class="sk_input"> |
|
|
|
|
<el-tooltip :content="item.name" placement="top"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="item.name" |
|
|
|
|
:placeholder="item.state == 0 ? '暂无赔款方' : '暂无受款方'" |
|
|
|
|
disabled |
|
|
|
|
/> |
|
|
|
|
</el-tooltip> |
|
|
|
|
</div> |
|
|
|
|
<div class="sk_input"> |
|
|
|
|
<span>原因</span> |
|
|
|
|
<el-tooltip :content="item.reason" placement="top"> |
|
|
|
|
<el-input v-model="item.reason" placeholder="暂无原因" disabled /> |
|
|
|
|
</el-tooltip> |
|
|
|
|
</div> |
|
|
|
|
<div class="sk_input"> |
|
|
|
|
<span>金额</span> |
|
|
|
|
<el-tooltip :content="item.num?item.num:'0'" placement="top"> |
|
|
|
|
<el-input |
|
|
|
|
@input="amountMoney" |
|
|
|
|
:min="0" |
|
|
|
|
v-model="item.num" |
|
|
|
|
placeholder="金额" |
|
|
|
|
placeholder="0" |
|
|
|
|
disabled |
|
|
|
|
/> |
|
|
|
|
</el-tooltip> |
|
|
|
|
</div> |
|
|
|
|
<!-- 赔款方是那个仓库的 --> |
|
|
|
|
<div class="sk_input" v-if="item.state == 0"> |
|
|
|
|
<span>仓库</span> |
|
|
|
|
<el-select v-model="item.warehouseId" disabled filterable placeholder="暂无仓库"> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in warehouseData" |
|
|
|
@ -516,11 +537,14 @@
|
|
|
|
|
:value="item.value" |
|
|
|
|
/> |
|
|
|
|
</el-select> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="sk_input" v-if="item.state == 1"></div> |
|
|
|
|
<!-- 责任人 --> |
|
|
|
|
<div class="sk_input" v-if="item.state == 0"> |
|
|
|
|
<span>责任人</span> |
|
|
|
|
<el-tooltip :content="item.compensationPersonnel?item.compensationPersonnel:'暂无责任人'" placement="top"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="item.compensationPersonnel" |
|
|
|
|
placeholder="暂无责任人" |
|
|
|
@ -528,6 +552,7 @@
|
|
|
|
|
:rows="2" |
|
|
|
|
disabled |
|
|
|
|
/> |
|
|
|
|
</el-tooltip> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="sk_input" v-if="item.state == 1"></div> |
|
|
|
@ -543,6 +568,32 @@
|
|
|
|
|
</div> |
|
|
|
|
</el-tab-pane> |
|
|
|
|
</el-tabs> |
|
|
|
|
|
|
|
|
|
<!-- 仲裁原因 --> |
|
|
|
|
<!-- v-if="routerState == 'end'" --> |
|
|
|
|
<div class="arbitrate" v-if="UserPermissions != '仓库客服'"> |
|
|
|
|
<el-tabs type="border-card" class="demo-tabs"> |
|
|
|
|
<el-tab-pane> |
|
|
|
|
<template #label> |
|
|
|
|
<span class="custom-tabs-label"> |
|
|
|
|
<el-icon><Star /></el-icon> |
|
|
|
|
<span>仲裁原因</span> |
|
|
|
|
</span> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<el-input |
|
|
|
|
v-model="Indexform.arbitrate" |
|
|
|
|
type="textarea" |
|
|
|
|
:autosize="{ minRows: 5, maxRows: 4 }" |
|
|
|
|
disabled |
|
|
|
|
placeholder="暂无仲裁原因" |
|
|
|
|
/> |
|
|
|
|
</el-tab-pane> |
|
|
|
|
</el-tabs> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 照片回显 --> |
|
|
|
|
<el-tabs type="border-card" class="demo-tabs el-photo"> |
|
|
|
|
<el-tab-pane> |
|
|
|
@ -588,36 +639,40 @@
|
|
|
|
|
</el-tab-pane> |
|
|
|
|
</el-tabs> |
|
|
|
|
|
|
|
|
|
<!-- 仲裁原因 --> |
|
|
|
|
<!-- v-if="routerState == 'end'" --> |
|
|
|
|
<div class="arbitrate" v-if="UserPermissions != '仓库客服'"> |
|
|
|
|
<el-tabs type="border-card" class="demo-tabs"> |
|
|
|
|
<el-tab-pane> |
|
|
|
|
<template #label> |
|
|
|
|
<span class="custom-tabs-label"> |
|
|
|
|
<el-icon><Star /></el-icon> |
|
|
|
|
<span>仲裁原因</span> |
|
|
|
|
</span> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<el-input |
|
|
|
|
v-model="Indexform.arbitrate" |
|
|
|
|
type="textarea" |
|
|
|
|
:autosize="{ minRows: 5, maxRows: 4 }" |
|
|
|
|
disabled |
|
|
|
|
placeholder="暂无仲裁原因" |
|
|
|
|
/> |
|
|
|
|
</el-tab-pane> |
|
|
|
|
</el-tabs> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="dialog-footer"> |
|
|
|
|
<el-button type="primary"> 回复 </el-button> |
|
|
|
|
<el-button type="primary"> 处理结果 </el-button> |
|
|
|
|
<el-button type="primary"> 完结 </el-button> |
|
|
|
|
<el-button type="primary"> 打回 </el-button> |
|
|
|
|
<el-button type="primary"> 客服仲裁 </el-button> |
|
|
|
|
<el-button type="primary"> 信息编辑 </el-button> |
|
|
|
|
<el-button type="primary" v-if="PermissionButton.reply" @click="addireply">回复</el-button> |
|
|
|
|
<el-button type="primary" v-if="PermissionButton.Processing_results" @click="addingRecord" |
|
|
|
|
>处理结果 |
|
|
|
|
</el-button> |
|
|
|
|
<el-button type="primary" v-if="PermissionButton.work_order_completion" @click="EndJump" |
|
|
|
|
>完结</el-button |
|
|
|
|
> |
|
|
|
|
<el-button type="primary" v-if="PermissionButton.repulse" @click="BatchReturn" |
|
|
|
|
>打回</el-button |
|
|
|
|
> |
|
|
|
|
<el-button |
|
|
|
|
type="primary" |
|
|
|
|
v-if="PermissionButton.apply_arbitration" |
|
|
|
|
@click="CustomerServiceCompleted" |
|
|
|
|
>客服仲裁完结</el-button |
|
|
|
|
> |
|
|
|
|
<el-button |
|
|
|
|
type="primary" |
|
|
|
|
v-if="PermissionButton.information_editing" |
|
|
|
|
@click="EditInformation" |
|
|
|
|
>信息编辑</el-button |
|
|
|
|
> |
|
|
|
|
<el-button |
|
|
|
|
type="primary" |
|
|
|
|
v-if="PermissionButton.Appeal_established" |
|
|
|
|
@click="AppealEstablished" |
|
|
|
|
>申诉成立</el-button |
|
|
|
|
> |
|
|
|
|
<el-button type="primary" v-if="PermissionButton.Appeal_rejection" @click="AppealRejection" |
|
|
|
|
>申诉驳回</el-button |
|
|
|
|
> |
|
|
|
|
</div> |
|
|
|
|
</el-card> |
|
|
|
|
|
|
|
|
@ -632,10 +687,10 @@
|
|
|
|
|
> |
|
|
|
|
<div class="el_Processingparty"> |
|
|
|
|
<div></div> |
|
|
|
|
<div class="el_Refresh" @click="Chatrefresh"> |
|
|
|
|
<div class="el_Refresh" @click="Chatrefresh"> |
|
|
|
|
<el-button type="primary">刷新</el-button> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="ovhe" :style="{ height: msgHight + 'px' }" ref="scrollContainer"> |
|
|
|
|
<el-timeline> |
|
|
|
|
<el-timeline-item |
|
|
|
@ -657,10 +712,6 @@
|
|
|
|
|
<h4>{{ item.username }}【{{ item.name }}】</h4> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="e_ico"> |
|
|
|
|
<el-icon><Timer /></el-icon>: |
|
|
|
|
<p>{{ item.time }}</p> |
|
|
|
|
</div> |
|
|
|
|
<el-tag |
|
|
|
|
:class="{ |
|
|
|
|
identifyingC1: item.difference == '1', |
|
|
|
@ -711,6 +762,10 @@
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="identifying"> |
|
|
|
|
<div class="e_ico"> |
|
|
|
|
<el-icon><Timer /></el-icon>: |
|
|
|
|
<p>{{ item.time }}</p> |
|
|
|
|
</div> |
|
|
|
|
<div |
|
|
|
|
class="tag" |
|
|
|
|
v-if=" |
|
|
|
@ -740,6 +795,46 @@
|
|
|
|
|
</el-tabs> |
|
|
|
|
</div> |
|
|
|
|
</el-affix> |
|
|
|
|
|
|
|
|
|
<!-- 打回弹窗 --> |
|
|
|
|
<el-dialog v-model="dialogReturn" title="工单打回" width="40%" draggable class="plAllret"> |
|
|
|
|
<el-form |
|
|
|
|
v-loading="repulse" |
|
|
|
|
element-loading-text="正在打回中..." |
|
|
|
|
label-position="top" |
|
|
|
|
label-width="100px" |
|
|
|
|
:model="BatchFrom" |
|
|
|
|
class="el_form_BatchFrom" |
|
|
|
|
> |
|
|
|
|
<el-form-item label="打回原因" class="el_BatchFrom"> |
|
|
|
|
<el-input v-model="BatchFrom.txt" type="textarea" :rows="4" /> |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
<el-form-item label="流转营业部"> |
|
|
|
|
<el-select |
|
|
|
|
v-model="BatchFrom.businessDepartment" |
|
|
|
|
multiple |
|
|
|
|
filterable |
|
|
|
|
default-first-option |
|
|
|
|
:reserve-keyword="false" |
|
|
|
|
placeholder="请选择活动区域" |
|
|
|
|
> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in warehouseData" |
|
|
|
|
:key="item.value" |
|
|
|
|
:label="item.label" |
|
|
|
|
:value="item.value" |
|
|
|
|
/> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-form> |
|
|
|
|
<template #footer> |
|
|
|
|
<span class="dialog-footer"> |
|
|
|
|
<el-button @click="dialogReturn = false">取消</el-button> |
|
|
|
|
<el-button type="primary" @click="ConfirmReturn" :disabled="repulse"> 确定 </el-button> |
|
|
|
|
</span> |
|
|
|
|
</template> |
|
|
|
|
</el-dialog> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
@ -747,20 +842,17 @@
|
|
|
|
|
import { ElMessage, ElMessageBox } from 'element-plus'; |
|
|
|
|
import { useRouter, useRoute } from 'vue-router'; |
|
|
|
|
import { useStore } from 'vuex'; |
|
|
|
|
const $store = useStore(); |
|
|
|
|
const $useStore = useStore(); |
|
|
|
|
import { getDictionaryBiz } from '@/api/system/dict'; //字典 |
|
|
|
|
import { getDetailWarehouse, getDeptWarehouse } from '@/api/basicdata/basicdataWarehouse'; //处理方 |
|
|
|
|
import { getDeptWarehouse } from '@/api/basicdata/basicdataWarehouse'; //处理方 |
|
|
|
|
import { |
|
|
|
|
$_submit, |
|
|
|
|
$_getBusinessDepartmentUser, |
|
|
|
|
$_getAbnormalPackage, |
|
|
|
|
$_shippingInformation, |
|
|
|
|
$_getTrackRecord, |
|
|
|
|
$_getSurveyRecord, |
|
|
|
|
$_getInfo, |
|
|
|
|
$_batchReturn, |
|
|
|
|
$_Cancelappeal, |
|
|
|
|
} from '@/api/aftersales/aftersalesWorkOrder'; |
|
|
|
|
import { computeNumber } from '@/utils/util'; |
|
|
|
|
import { ref, reactive, toRefs, computed, onMounted, nextTick } from 'vue'; |
|
|
|
|
import { ref, reactive, computed, onMounted } from 'vue'; |
|
|
|
|
import { getToken } from '@/utils/auth'; |
|
|
|
|
const $router = useRouter(); |
|
|
|
|
const $route = useRoute(); |
|
|
|
@ -769,6 +861,7 @@ const Indexform = ref({
|
|
|
|
|
decreaseImageEntityList: [], //处理好的图片数据 |
|
|
|
|
discoveryNode: '1', |
|
|
|
|
}); //首页新增表单 |
|
|
|
|
const pageState = ref(false); //页面加载状态 |
|
|
|
|
const ProcessingResults = ref([]); //处理结果列表选项 |
|
|
|
|
const IndexException = ref([]); //异常类型下拉选择 |
|
|
|
|
const ZFname = ref(''); //支付名字预留状态 |
|
|
|
@ -815,6 +908,10 @@ const msgState = ref(0);
|
|
|
|
|
const Msgloading = ref(false); |
|
|
|
|
const TotalamountCompensation = ref(0); //赔款总金额 |
|
|
|
|
const TotalamountReceived = ref(0); //受款总金额 |
|
|
|
|
const BatchFrom = ref({}); //打回内容 |
|
|
|
|
const dialogReturn = ref(false); //打回弹窗 |
|
|
|
|
const appeal = ref(false); //工单申诉状态 |
|
|
|
|
const AppealReview = ref(false); //申诉状态只能查看 |
|
|
|
|
const CompensationParty = ref([ |
|
|
|
|
{ |
|
|
|
|
name: '', |
|
|
|
@ -885,6 +982,20 @@ onMounted(() => {
|
|
|
|
|
}, 0); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
// 底部按钮权限 |
|
|
|
|
const PermissionButton = computed(() => { |
|
|
|
|
return { |
|
|
|
|
reply: !appeal.value, //回复 |
|
|
|
|
Processing_results: !appeal.value && $route.query.workOrderStatus != '21', //处理结果 |
|
|
|
|
work_order_completion: !appeal.value, //完结 |
|
|
|
|
repulse: !appeal.value, //打回 |
|
|
|
|
apply_arbitration: !appeal.value, //客服仲裁完结 |
|
|
|
|
information_editing: !appeal.value, //信息编辑 |
|
|
|
|
Appeal_established: appeal.value && AppealReview.value, //申诉成立 |
|
|
|
|
Appeal_rejection: appeal.value && AppealReview.value, //申诉驳回 |
|
|
|
|
}; |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
// 聊天记录获取 |
|
|
|
|
const Chathistory = res => { |
|
|
|
|
Msgloading.value = true; |
|
|
|
@ -1206,9 +1317,177 @@ const isShowFormItem2 = computed(() => {
|
|
|
|
|
return !['2', '5', '6', '7', '8'].includes(groundlineType.value); |
|
|
|
|
}); |
|
|
|
|
// 聊天刷新 |
|
|
|
|
const Chatrefresh=()=>{ |
|
|
|
|
Chathistory() |
|
|
|
|
} |
|
|
|
|
const Chatrefresh = () => { |
|
|
|
|
Chathistory(); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
// 底部按钮事件 |
|
|
|
|
// 回复 |
|
|
|
|
const addireply = () => { |
|
|
|
|
$router.push({ |
|
|
|
|
path: '/aftersales/aftersalesWorkOrderend', |
|
|
|
|
query: { |
|
|
|
|
id: $route.query.id, |
|
|
|
|
name: $route.query.workOrderNumber + '-回复', |
|
|
|
|
businessId: $route.query.workOrderNumber, |
|
|
|
|
RouterState: 'determine', |
|
|
|
|
index: '0', |
|
|
|
|
}, |
|
|
|
|
}); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
// 处理结果 |
|
|
|
|
const addingRecord = () => { |
|
|
|
|
$router.push({ |
|
|
|
|
path: '/aftersales/aftersalesWorkOrderend', |
|
|
|
|
query: { |
|
|
|
|
id: $route.query.id, |
|
|
|
|
name: $route.query.workOrderNumber + '-添加异常记录', |
|
|
|
|
businessId: $route.query.workOrderNumber, |
|
|
|
|
RouterState: 'record', |
|
|
|
|
index: '1', |
|
|
|
|
}, |
|
|
|
|
}); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
// 完结 |
|
|
|
|
const EndJump = () => { |
|
|
|
|
$router.push({ |
|
|
|
|
path: '/aftersales/aftersalesWorkOrderend', |
|
|
|
|
query: { |
|
|
|
|
id: $route.query.id, |
|
|
|
|
name: $route.query.workOrderNumber + '-完结填写', |
|
|
|
|
RouterState: 'end', |
|
|
|
|
index: '2', |
|
|
|
|
workOrderStatus: $route.query.workOrderStatus, //当前单子状态 |
|
|
|
|
}, |
|
|
|
|
}); |
|
|
|
|
}; |
|
|
|
|
// 打回 |
|
|
|
|
const BatchReturn = () => { |
|
|
|
|
BatchFrom.value.businessDepartment = []; |
|
|
|
|
BatchFrom.value.txt = null; |
|
|
|
|
dialogReturn.value = true; |
|
|
|
|
}; |
|
|
|
|
// 客服仲裁完结 |
|
|
|
|
const CustomerServiceCompleted = () => { |
|
|
|
|
$router.push({ |
|
|
|
|
path: '/aftersales/aftersalesWorkOrdermodify', |
|
|
|
|
query: { |
|
|
|
|
id: $route.query.id, |
|
|
|
|
name: $route.query.workOrderNumber + '-客服仲裁完结', |
|
|
|
|
businessId: $route.query.businessId, |
|
|
|
|
warehouseId: $route.query.warehouseId, |
|
|
|
|
workOrderNumber: $route.query.workOrderNumber, |
|
|
|
|
RouterState: 'Kfend', |
|
|
|
|
CompletedEditing: 'true', //可以编辑完结信息编辑 |
|
|
|
|
index: '1', |
|
|
|
|
}, |
|
|
|
|
}); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
// 信息编辑 |
|
|
|
|
const EditInformation = () => { |
|
|
|
|
$router.push({ |
|
|
|
|
path: '/aftersales/aftersalesWorkOrdermodify', |
|
|
|
|
query: { |
|
|
|
|
id: $route.query.id, |
|
|
|
|
name: $route.query.workOrderNumber + '-编辑', |
|
|
|
|
businessId: $route.query.businessId, |
|
|
|
|
warehouseId: $route.query.warehouseId, |
|
|
|
|
workOrderNumber: $route.query.workOrderNumber, |
|
|
|
|
RouterState: 'Infoedit', |
|
|
|
|
ProcessType: $route.query.ProcessType, //类型 1 待处理 2 已处理 |
|
|
|
|
}, |
|
|
|
|
}); |
|
|
|
|
}; |
|
|
|
|
// 申诉成立 |
|
|
|
|
const AppealEstablished = () => { |
|
|
|
|
$router.push({ |
|
|
|
|
path: '/aftersales/aftersalesWorkOrdermodify', |
|
|
|
|
query: { |
|
|
|
|
id: $route.query.id, //这里的id是workOrderId是有申诉列表带入的 |
|
|
|
|
name: $route.query.workOrderNumber + '-申诉编辑', |
|
|
|
|
businessId: $route.query.businessId, |
|
|
|
|
warehouseId: $route.query.warehouseId, |
|
|
|
|
workOrderNumber: $route.query.workOrderNumber, |
|
|
|
|
RouterState: 'Kfend', |
|
|
|
|
Appealeditor: 'appeal', //申诉编辑 |
|
|
|
|
appealID: $route.query.appealID, //申诉ID |
|
|
|
|
}, |
|
|
|
|
}); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
// 申诉驳回 |
|
|
|
|
const AppealRejection = () => { |
|
|
|
|
let data = { |
|
|
|
|
id: $route.query.appeal, //取消申诉ID |
|
|
|
|
typesOf: '2', //申诉状态 |
|
|
|
|
workOrderId: $route.query.id, //异常工单ID |
|
|
|
|
}; |
|
|
|
|
$_Cancelappeal(data) |
|
|
|
|
.then(res => { |
|
|
|
|
console.log(res, '申诉驳回返回值'); |
|
|
|
|
if (res.data.code == 200) { |
|
|
|
|
ElMessage({ |
|
|
|
|
showClose: true, |
|
|
|
|
message: '申诉驳回成功', |
|
|
|
|
type: 'success', |
|
|
|
|
}); |
|
|
|
|
$useStore.commit('DEL_TAG_CURRENT'); //关闭当前页面 |
|
|
|
|
$router.push({ |
|
|
|
|
path: '/aftersales/aftersalesWorkOrder', |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
.catch(res => { |
|
|
|
|
ElMessage({ |
|
|
|
|
showClose: true, |
|
|
|
|
message: '操作失败', |
|
|
|
|
type: 'success', |
|
|
|
|
}); |
|
|
|
|
}) |
|
|
|
|
.finally(() => { |
|
|
|
|
Pageloading.value = false; //关闭加载效果 |
|
|
|
|
}); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
// 工单打回确认按钮 |
|
|
|
|
const ConfirmReturn = () => { |
|
|
|
|
repulse.value = true; //开启加载并关闭按钮 |
|
|
|
|
let data = { |
|
|
|
|
processorList: [], |
|
|
|
|
}; |
|
|
|
|
// 过滤满足条件的对象 |
|
|
|
|
let foundObjs = warehouseData.value.filter(obj => |
|
|
|
|
BatchFrom.value.businessDepartment.includes(obj.value) |
|
|
|
|
); |
|
|
|
|
data['businessId'] = foundObjs.map(item => item.value).join(','); |
|
|
|
|
data['businessName'] = foundObjs.map(item => item.label).join(','); |
|
|
|
|
// 营业部处理 |
|
|
|
|
foundObjs.forEach(item => { |
|
|
|
|
data['processorList'].push({ id: item.value, name: item.label }); |
|
|
|
|
}); |
|
|
|
|
data.reasonReturn = BatchFrom.value.txt; //打回原因 |
|
|
|
|
data.workOrderIds = [$route.query.id]; //异常工单ID |
|
|
|
|
console.log(data, '处理好的值'); |
|
|
|
|
$_batchReturn(data) |
|
|
|
|
.then(res => { |
|
|
|
|
repulse.value = false; //关闭加载并关闭按钮 |
|
|
|
|
dialogReturn.value = false; //关闭打回弹窗 |
|
|
|
|
if (res.data.code == 200) { |
|
|
|
|
ElMessage({ |
|
|
|
|
message: res.data.msg, |
|
|
|
|
type: 'success', |
|
|
|
|
}); |
|
|
|
|
$router.push('/aftersales/aftersalesWorkOrder'); //打回成功跳转到列表 |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
.catch(error => { |
|
|
|
|
repulse.value = false; //关闭加载并关闭按钮 |
|
|
|
|
dialogReturn.value = false; //关闭打回弹窗 |
|
|
|
|
}); |
|
|
|
|
}; |
|
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
<style scoped lang="scss"> |
|
|
|
@ -1715,6 +1994,9 @@ const Chatrefresh=()=>{
|
|
|
|
|
display: flex; |
|
|
|
|
justify-content: space-between; |
|
|
|
|
align-items: center; |
|
|
|
|
.el-tag { |
|
|
|
|
width: 70px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.content { |
|
|
|
@ -1789,11 +2071,11 @@ const Chatrefresh=()=>{
|
|
|
|
|
:deep(.el-select) { |
|
|
|
|
width: 100%; |
|
|
|
|
} |
|
|
|
|
span{ |
|
|
|
|
span { |
|
|
|
|
font-size: 20px; |
|
|
|
|
} |
|
|
|
|
:deep(.el_Refresh){ |
|
|
|
|
i{ |
|
|
|
|
:deep(.el_Refresh) { |
|
|
|
|
i { |
|
|
|
|
font-size: 30px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -1840,7 +2122,14 @@ const Chatrefresh=()=>{
|
|
|
|
|
display: none !important; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.identifying { |
|
|
|
|
display: flex; |
|
|
|
|
align-items: center; |
|
|
|
|
justify-content: space-between; |
|
|
|
|
.el-tag { |
|
|
|
|
width: 70px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.identifyingC1 { |
|
|
|
|
background-color: #409eff; |
|
|
|
|
border-radius: 4px; |
|
|
|
@ -1882,14 +2171,24 @@ const Chatrefresh=()=>{
|
|
|
|
|
.title { |
|
|
|
|
width: max-content; |
|
|
|
|
height: 100%; |
|
|
|
|
display: flex; |
|
|
|
|
display: block; |
|
|
|
|
align-items: center; |
|
|
|
|
font-size: 14px; |
|
|
|
|
font-weight: 500; |
|
|
|
|
} |
|
|
|
|
.sk_input { |
|
|
|
|
margin: 0 5px; |
|
|
|
|
margin-left: 20px; |
|
|
|
|
margin-left: 4px; |
|
|
|
|
width: 20%; |
|
|
|
|
display: flex; |
|
|
|
|
align-items: center; |
|
|
|
|
span{ |
|
|
|
|
width: 100px; |
|
|
|
|
margin-right: 4px; |
|
|
|
|
display: flex; |
|
|
|
|
justify-content: flex-end; |
|
|
|
|
font-size: 14px; |
|
|
|
|
font-weight: 400; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.el-button { |
|
|
|
|
border: none; |
|
|
|
@ -1929,7 +2228,38 @@ const Chatrefresh=()=>{
|
|
|
|
|
margin: 0; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.arbitrate{ |
|
|
|
|
.arbitrate { |
|
|
|
|
margin-top: 10px; |
|
|
|
|
} |
|
|
|
|
.el_BatchFrom { |
|
|
|
|
width: 70%; |
|
|
|
|
} |
|
|
|
|
.el_form_BatchFrom { |
|
|
|
|
display: flex; |
|
|
|
|
justify-content: space-between; |
|
|
|
|
:deep(.el-select-tags-wrapper) { |
|
|
|
|
.el-tag { |
|
|
|
|
width: 100%; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
:deep(#avue-view) { |
|
|
|
|
background-color: #fff; |
|
|
|
|
} |
|
|
|
|
:deep(.el_resj){ |
|
|
|
|
flex-direction: column; |
|
|
|
|
.el-form-item__label{ |
|
|
|
|
justify-content: center; |
|
|
|
|
font-weight: 500; |
|
|
|
|
border: 1px solid #dcdfe6; |
|
|
|
|
width: fit-content; |
|
|
|
|
display: flex; |
|
|
|
|
align-items: center; |
|
|
|
|
padding: 0; |
|
|
|
|
padding: 0 4px; |
|
|
|
|
border-bottom: 0; |
|
|
|
|
color: #172e60; |
|
|
|
|
border-radius: 2px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
</style> |
|
|
|
|