|
@@ -570,7 +570,7 @@ export default {
|
|
|
color: 'rgb(28, 111, 217)'
|
|
|
},
|
|
|
'2': {
|
|
|
- name: '部门领导已批准',
|
|
|
+ name: '国贸已批准',
|
|
|
color: 'rgb(28, 111, 217)'
|
|
|
},
|
|
|
'3': {
|
|
@@ -1600,6 +1600,7 @@ export default {
|
|
|
auditStatus: '1',
|
|
|
planWeightOld: that.tableFormDataObj[key].planWeightOld
|
|
|
});
|
|
|
+ }
|
|
|
that.loading = true;
|
|
|
that.axios.put('pass/ems/v1/emsprodplanweightadjustments/submitaudit', SubmitData)
|
|
|
.then(function (res) {
|
|
@@ -1617,7 +1618,6 @@ export default {
|
|
|
}).catch(function () {
|
|
|
that.loading = false;
|
|
|
});
|
|
|
- }
|
|
|
}
|
|
|
});
|
|
|
} else {
|
|
@@ -1635,6 +1635,7 @@ export default {
|
|
|
SubmitData.push({
|
|
|
id: that.tableFormDataObj[key].id
|
|
|
});
|
|
|
+ }
|
|
|
that.loading = true;
|
|
|
that.axios.put('pass/ems/v1/emsprodplanweightadjustments/approval/', SubmitData)
|
|
|
.then(function (res) {
|
|
@@ -1652,7 +1653,6 @@ export default {
|
|
|
}).catch(function () {
|
|
|
that.loading = false;
|
|
|
})
|
|
|
- }
|
|
|
}
|
|
|
});
|
|
|
} else {
|
|
@@ -1684,6 +1684,7 @@ export default {
|
|
|
SubmitData.push({
|
|
|
id: that.tableFormDataObj[key].id
|
|
|
});
|
|
|
+ }
|
|
|
that.loading = true;
|
|
|
that.axios.put('pass/ems/v1/emsprodplanweightadjustments/nopass/', SubmitData)
|
|
|
.then(function (res) {
|
|
@@ -1701,7 +1702,6 @@ export default {
|
|
|
}).catch(function () {
|
|
|
that.loading = false;
|
|
|
})
|
|
|
- }
|
|
|
}
|
|
|
});
|
|
|
} else {
|
|
@@ -1718,6 +1718,7 @@ export default {
|
|
|
SubmitData.push({
|
|
|
id: that.tableFormDataObj[key].id
|
|
|
});
|
|
|
+ }
|
|
|
that.loading = true;
|
|
|
that.axios.put('pass/ems/v1/emsprodplanweightadjustments/rejected/', SubmitData)
|
|
|
.then(function (res) {
|
|
@@ -1735,7 +1736,6 @@ export default {
|
|
|
}).catch(function () {
|
|
|
that.loading = false;
|
|
|
})
|
|
|
- }
|
|
|
}
|
|
|
});
|
|
|
} else {
|
|
@@ -1752,6 +1752,7 @@ export default {
|
|
|
SubmitData.push({
|
|
|
id: that.tableFormDataObj[key].id
|
|
|
});
|
|
|
+ }
|
|
|
that.loading = true;
|
|
|
that.axios.put('pass/ems/v1/emsprodplanweightadjustments/agreement/', SubmitData)
|
|
|
.then(function (res) {
|
|
@@ -1769,7 +1770,6 @@ export default {
|
|
|
}).catch(function () {
|
|
|
that.loading = false;
|
|
|
})
|
|
|
- }
|
|
|
}
|
|
|
});
|
|
|
} else {
|