qb 1 year ago
parent
commit
043a90f3d9
  1. 19
      src/views/aftersales/aftersalesWorkOrder.vue
  2. 80
      src/views/aftersales/aftersalesWorkOrderAdd.vue
  3. 18
      src/views/aftersales/aftersalesWorkOrderInfo.vue
  4. 46
      src/views/aftersales/aftersalesWorkOrderend.vue
  5. 4
      src/views/distribution/turndelivery/deliveryDiscuss.vue

19
src/views/aftersales/aftersalesWorkOrder.vue

@ -89,35 +89,40 @@
> --> > -->
<!-- v-if="ButtonPermissions.batchReject" --> <!-- v-if="ButtonPermissions.batchReject" -->
<!-- v-if="PermissionButton.batch_return" -->
<el-button <el-button
v-if="PermissionButton.batch_return"
type="primary" type="primary"
@click="BatchReturn" @click="BatchReturn"
>批量打回</el-button >批量打回</el-button
> >
<!-- v-if="ButtonPermissions.assignment" --> <!-- v-if="ButtonPermissions.assignment" -->
<el-button v-if="PermissionButton.assign" type="primary" @click="assign" <!-- v-if="PermissionButton.assign" -->
<el-button type="primary" @click="assign"
>工单指派</el-button >工单指派</el-button
> >
<!-- v-if="ButtonPermissions.applyArbitration" --> <!-- v-if="ButtonPermissions.applyArbitration" -->
<!-- v-if="PermissionButton.apply_arbitration" -->
<el-button <el-button
v-if="PermissionButton.apply_arbitration"
type="primary" type="primary"
@click="arbitrate" @click="arbitrate"
>申请仲裁</el-button >申请仲裁</el-button
> >
<!-- v-if="ButtonPermissions.batchFinish" --> <!-- v-if="ButtonPermissions.batchFinish" -->
<!-- v-if="PermissionButton.batch_completion" -->
<el-button <el-button
v-if="PermissionButton.batch_completion"
type="primary" type="primary"
@click="Batchcompletion" @click="Batchcompletion"
>批量完结</el-button >批量完结</el-button
> >
<!-- v-if="ButtonPermissions.appeal" --> <!-- v-if="ButtonPermissions.appeal" -->
<el-button v-if="PermissionButton.representations" type="primary" @click="appeal" <!-- v-if="PermissionButton.representations" -->
<el-button type="primary" @click="appeal"
>申诉</el-button >申诉</el-button
> >
<!-- v-if="details.query.workOrderStatus == 30" --> <!-- v-if="details.query.workOrderStatus == 30" -->
@ -513,10 +518,10 @@ console.log(accessControl, '权限按钮');
// repulse;// // repulse;//
// arbitration_completed;// // arbitration_completed;//
// information_editing;// // information_editing;//
console.log(accessControl.add, '新增按钮权限'); console.log(accessControl.workAdd, '新增按钮权限');
const PermissionButton = computed(() => { const PermissionButton = computed(() => {
return { return {
workAdd: accessControl.add, // workAdd: accessControl.workAdd, //
batch_return: accessControl.batch_return, // batch_return: accessControl.batch_return, //
assign: accessControl.assign, // assign: accessControl.assign, //
apply_arbitration: accessControl.apply_arbitration, // apply_arbitration: accessControl.apply_arbitration, //

80
src/views/aftersales/aftersalesWorkOrderAdd.vue

@ -7,7 +7,45 @@
<!-- <el-divider content-position="left"> <!-- <el-divider content-position="left">
<span> {{ routerState ? '信息查看' : '工单新增' }}</span> <span> {{ routerState ? '信息查看' : '工单新增' }}</span>
</el-divider> --> </el-divider> -->
<el-tabs type="border-card" class="PackageInformation" v-show="identifying != '2'">
<el-form :model="Indexform" label-width="100px" class="IndexFrom" ref="IndexForm">
<el-form-item label="异常类型">
<el-select
v-model="Indexform.workOrderType"
clearable
placeholder="选择工单异常类型"
@change="abnormalChange"
>
<el-option
v-for="item in IndexException"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
<el-form-item label="发现节点">
<el-select
v-model="Indexform.discoveryNode"
clearable
placeholder="选择发现节点"
@change="DiscoveringNodesChange"
>
<el-option
v-for="item in DiscoveringNodes"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
<el-form-item label="异常工单号">
<el-input v-model="Indexform.workOrderNumber" disabled placeholder="异常工单号(自动生成)" clearable />
</el-form-item>
<el-tabs type="border-card" class="PackageInformation" v-show="identifying != '2'">
<el-tab-pane label="包件信息"> <el-tab-pane label="包件信息">
<div class="ResponsibilityBoxS"> <div class="ResponsibilityBoxS">
<div><el-button type="primary" @click="AddPackage"> 添加信息 </el-button></div> <div><el-button type="primary" @click="AddPackage"> 添加信息 </el-button></div>
@ -53,42 +91,7 @@
</div> </div>
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
<el-form :model="Indexform" label-width="100px" class="IndexFrom" ref="IndexForm">
<el-form-item label="异常类型">
<el-select
v-model="Indexform.workOrderType"
clearable
placeholder="选择工单异常类型"
@change="abnormalChange"
>
<el-option
v-for="item in IndexException"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
<el-form-item label="发现节点">
<el-select
v-model="Indexform.discoveryNode"
clearable
placeholder="选择发现节点"
@change="DiscoveringNodesChange"
>
<el-option
v-for="item in DiscoveringNodes"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
<el-form-item label="异常工单号">
<el-input v-model="Indexform.workOrderNumber" disabled placeholder="异常工单号" clearable />
</el-form-item>
<!-- 必填(提货环节可以不填写运单号) --> <!-- 必填(提货环节可以不填写运单号) -->
<!-- <el-form-item label="运单号" v-if="groundlineType != 1"> <!-- <el-form-item label="运单号" v-if="groundlineType != 1">
<el-input v-model="Indexform.waybillNumber" placeholder="请输入运单号" clearable /> <el-input v-model="Indexform.waybillNumber" placeholder="请输入运单号" clearable />
@ -1428,7 +1431,10 @@ const ViewPackageDetails = val => {
} }
:deep(.PackageInformation) { :deep(.PackageInformation) {
margin-bottom: 10px; margin-bottom: 10px;
border-top: none; width: 97%;
border-left: none;
.el-tabs__header{
}
} }
.NumTotal { .NumTotal {
width: 30%; width: 30%;

18
src/views/aftersales/aftersalesWorkOrderInfo.vue

@ -445,12 +445,18 @@
</el-dialog> </el-dialog>
</div> </div>
<div class="foot_btn"> <div class="foot_btn">
<el-button type="primary" v-if="PermissionButton.reply" @click="addireply">回复</el-button> <!-- v-if="PermissionButton.reply"
<el-button type="primary" v-if="PermissionButton.processing_completed" @click="addingRecord">处理结果</el-button> v-if="PermissionButton.processing_completed"
<el-button type="primary" v-if="PermissionButton.work_order_completion" @click="EndJump">完结 </el-button> v-if="PermissionButton.work_order_completion"
<el-button type="primary" v-if="PermissionButton.repulse" @click="BatchReturn">打回 </el-button> v-if="PermissionButton.repulse"
<el-button type="primary" v-if="PermissionButton.arbitration_completed" @click="CustomerServiceCompleted">客服仲裁完结 </el-button> v-if="PermissionButton.arbitration_completed"
<el-button type="primary" v-if="PermissionButton.information_editing" @click="EditInformation">信息编辑</el-button> v-if="PermissionButton.information_editing" -->
<el-button type="primary" @click="addireply">回复</el-button>
<el-button type="primary" @click="addingRecord">处理结果</el-button>
<el-button type="primary" @click="EndJump">完结 </el-button>
<el-button type="primary" @click="BatchReturn">打回 </el-button>
<el-button type="primary" @click="CustomerServiceCompleted">客服仲裁完结 </el-button>
<el-button type="primary" @click="EditInformation">信息编辑</el-button>
</div> </div>
</el-card> </el-card>
<!-- 批量打回弹窗 --> <!-- 批量打回弹窗 -->

46
src/views/aftersales/aftersalesWorkOrderend.vue

@ -74,7 +74,7 @@
/> />
</el-form-item> </el-form-item>
<el-form-item label="发货时间" class="el_lab" > <el-form-item label="发货时间" class="el_lab">
<el-date-picker <el-date-picker
v-model="endFrom.warehousingTime" v-model="endFrom.warehousingTime"
type="datetime" type="datetime"
@ -559,6 +559,27 @@
<el-tab-pane label="处理记录"> <el-tab-pane label="处理记录">
<div class="ovhe" :style="{ height: msgHight + 'px' }" ref="scrollContainer"> <div class="ovhe" :style="{ height: msgHight + 'px' }" ref="scrollContainer">
<el-timeline> <el-timeline>
<div class="el_Processingparty">
<span>回复</span>
<el-select
v-model="MessageResponsibility"
multiple
filterable
default-first-option
:reserve-keyword="false"
placeholder="请选择处理方"
@change="Msgresponsibility"
>
<el-option
v-for="item in warehouseData"
:key="item.value"
:label="item.label"
:value="item.value"
:disabled="item.disabled"
/>
</el-select>
</div>
<el-timeline-item <el-timeline-item
placement="top" placement="top"
v-for="(item, index) in MessageContent" v-for="(item, index) in MessageContent"
@ -662,6 +683,7 @@
:rows="4" :rows="4"
type="textarea" type="textarea"
placeholder="回复内容" placeholder="回复内容"
@input="appoint(Msgtextarea)"
/> />
</div> </div>
<div class="msgHf"> <div class="msgHf">
@ -1005,6 +1027,7 @@ const onLoad = () => {
if (item.typesOf == 2) { if (item.typesOf == 2) {
// //
endFrom.value.processor.push(item.businessId); endFrom.value.processor.push(item.businessId);
// MessageResponsibility.value.push(item.businessId)
} }
}); });
console.log(endFrom.value.processor, ' endFrom.value.processor'); console.log(endFrom.value.processor, ' endFrom.value.processor');
@ -1485,6 +1508,12 @@ const ChangePackageInfo = (val, index) => {
console.log(PackageInfo.value, '处理好的参数'); console.log(PackageInfo.value, '处理好的参数');
}); });
}; };
// @
const appoint = val => {
if (val == '@') {
console.log('触发了指定选择');
}
};
// //
const AddVideoPreview = val => { const AddVideoPreview = val => {
VideoPreviewStatus.value = true; // VideoPreviewStatus.value = true; //
@ -1980,7 +2009,7 @@ const ViewPackageDetails = val => {
} }
.el_pkLi { .el_pkLi {
width: 100%; width: 90%;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
} }
@ -1989,6 +2018,7 @@ const ViewPackageDetails = val => {
display: flex; display: flex;
align-items: center; align-items: center;
margin-top: 20px; margin-top: 20px;
justify-content: space-between;
.title { .title {
width: 126px; width: 126px;
height: 100%; height: 100%;
@ -2302,4 +2332,16 @@ const ViewPackageDetails = val => {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
.el_Processingparty {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
span {
width: 40px;
}
:deep(.el-select) {
width: 100%;
}
}
</style> </style>

4
src/views/distribution/turndelivery/deliveryDiscuss.vue

@ -1913,7 +1913,7 @@ const ViewEvent = val => {
current: 1, current: 1,
size: 100, size: 100,
deliveryId: RouteId.value, deliveryId: RouteId.value,
orderId: val.id, id: val.id,
}).then(res => { }).then(res => {
console.log(res, '订单包件信息'); console.log(res, '订单包件信息');
if (res.data.code == 200) { if (res.data.code == 200) {
@ -1938,7 +1938,7 @@ const ViewEvent = val => {
}); });
} else { } else {
$_getPackageListByStockArticleId({ $_getPackageListByStockArticleId({
orderId: val.id, id: val.id,
current: 1, current: 1,
size: 100, size: 100,
}).then(res => { }).then(res => {

Loading…
Cancel
Save