Browse Source

修复申诉之后获取值错误

dev-xx
马远东 1 year ago
parent
commit
ec08867cec
  1. 18
      src/views/aftersales/aftersalesWorkOrder.vue

18
src/views/aftersales/aftersalesWorkOrder.vue

@ -1547,7 +1547,8 @@ const appeal = (val, state) => {
};
//
const Appealbutton = state => {
if (AppealAttachment.value.length > 1) {
if(UserPermissions.value =='仓库客服'){
if (AppealAttachment.value.length > 1) {
ElMessage({
message: '只能上传一张图片',
type: 'warning',
@ -1623,23 +1624,18 @@ const Appealbutton = state => {
});
appealFn(); //
}else{
data.workOrderStatus = 30;
details.query.workOrderStatus = 30;
tabValue.value = 2;
data.workOrderStatus = 80;
details.query.workOrderStatus = 80;
tabValue.value = 6;
empty(); //
IndexTable({ workOrderStatus: 30 });
IndexTable({ workOrderStatus: 80 });
}
ElMessage({
message: res.data.msg,
type: 'success',
});
});
}
};
//

Loading…
Cancel
Save