入库部分和接口
This commit is contained in:
@@ -407,7 +407,11 @@ export default {
|
||||
if (row.type === 'invalid'){
|
||||
//手动作废
|
||||
manualInvalidation(data).then(response => {
|
||||
this.$modal.msgSuccess('操作成功');
|
||||
if(response.code==200) {
|
||||
this.$modal.msgSuccess('操作成功');
|
||||
}else{
|
||||
this.$modal.msgError('操作失败');
|
||||
}
|
||||
this.getList();
|
||||
})
|
||||
|
||||
@@ -415,7 +419,12 @@ export default {
|
||||
}else if (row.type === 'completed'){
|
||||
//手动完成
|
||||
manualCompleted(data).then(response => {
|
||||
this.$modal.msgSuccess('操作成功');
|
||||
if(response.code==200){
|
||||
this.$modal.msgSuccess('操作成功');
|
||||
|
||||
}else{
|
||||
this.$modal.msgError(response.msg);
|
||||
}
|
||||
this.getList();
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user