报废审核
This commit is contained in:
parent
ddb12fab13
commit
63f9f062f7
|
|
@ -135,6 +135,16 @@
|
|||
prop="scrapReason"
|
||||
:show-overflow-tooltip="true"
|
||||
/>
|
||||
<el-table-column
|
||||
label="损坏原因"
|
||||
align="center"
|
||||
prop="scrapType"
|
||||
:show-overflow-tooltip="true"
|
||||
>
|
||||
<template slot-scope="{ row }">
|
||||
{{ row.scrapType == 0 ? '自然损坏' : '人为损坏' }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="附件"
|
||||
align="center"
|
||||
|
|
@ -357,12 +367,15 @@ export default {
|
|||
});
|
||||
return;
|
||||
} else {
|
||||
batchPassApi({'scrapApplyDetailsList':this.passTemp}).then((response) => {
|
||||
if (response.code == 200) {
|
||||
this.$modal.msgSuccess("通过成功");
|
||||
}
|
||||
this.getTaskInfo();
|
||||
});
|
||||
// 二次确认
|
||||
this.$modal.confirm("是否确认通过所选择的数据项?").then(() => {
|
||||
batchPassApi({'scrapApplyDetailsList':this.passTemp}).then((response) => {
|
||||
if (response.code == 200) {
|
||||
this.$modal.msgSuccess("通过成功");
|
||||
}
|
||||
this.getTaskInfo();
|
||||
})
|
||||
})
|
||||
}
|
||||
},
|
||||
//多个驳回
|
||||
|
|
@ -374,12 +387,14 @@ export default {
|
|||
});
|
||||
return;
|
||||
} else {
|
||||
batchRejectApi({'scrapApplyDetailsList':this.failTemp}).then((response) => {
|
||||
if (response.code == 200) {
|
||||
this.$modal.msgSuccess("驳回成功");
|
||||
}
|
||||
this.getTaskInfo();
|
||||
});
|
||||
this.$modal.confirm("是否确认驳回所选择的数据项?").then(() => {
|
||||
batchRejectApi({'scrapApplyDetailsList':this.failTemp}).then((response) => {
|
||||
if (response.code == 200) {
|
||||
this.$modal.msgSuccess("驳回成功");
|
||||
}
|
||||
this.getTaskInfo();
|
||||
})
|
||||
})
|
||||
}
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue