Browse Source

修改状态

pre-production
马远东 1 year ago
parent
commit
ce6fdd3e46
  1. 19
      src/views/aftersales/aftersalesWorkOrder.vue

19
src/views/aftersales/aftersalesWorkOrder.vue

@ -2115,12 +2115,23 @@ const tabChenge = val => {
let data = {};
if (val == 0) {
ProcessingPartyState.value = false; //
details.query.workOrderStatus = null;
ArbitrationStatus.value = false; //
if(UserPermissions.value=='仓库客服'){
data.workOrderStatus = 1000;
details.query.workOrderStatus = 1000;
Tableheaderswitching(columnList);
IndexTable(data);
empty();
}else{
details.query.workOrderStatus = null;
Tableheaderswitching(columnList);
IndexTable();
empty();
console.log('全部');
}
} else if (val == 1) {
//
if (UserPermissions.value == '仓库客服') {
@ -2153,9 +2164,15 @@ const tabChenge = val => {
console.log(UserPermissions.value, '当前身份');
console.log('待处理');
ProcessingPartyState.value = true; //
if(UserPermissions.value!='仓库客服'){
data.workOrderStatus = 500;
details.query.workOrderStatus = 500;
ArbitrationStatus.value = true; //
}else{
data.workOrderStatus = 10;
details.query.workOrderStatus = 10;
ArbitrationStatus.value = true; //
}
Tableheaderswitching(columnList);
empty();
IndexTable(data);

Loading…
Cancel
Save