报废审核

This commit is contained in:
bb_pan 2025-08-26 17:46:22 +08:00
parent ddb12fab13
commit 63f9f062f7
1 changed files with 27 additions and 12 deletions

View File

@ -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 {
//
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 {
this.$modal.confirm("是否确认驳回所选择的数据项?").then(() => {
batchRejectApi({'scrapApplyDetailsList':this.failTemp}).then((response) => {
if (response.code == 200) {
this.$modal.msgSuccess("驳回成功");
}
this.getTaskInfo();
});
})
})
}
},
},