diff --git a/src/views/backOfficeSystem/JudgmentHome/judgmentCommand/index.vue b/src/views/backOfficeSystem/JudgmentHome/judgmentCommand/index.vue index 796517c..bf15a69 100644 --- a/src/views/backOfficeSystem/JudgmentHome/judgmentCommand/index.vue +++ b/src/views/backOfficeSystem/JudgmentHome/judgmentCommand/index.vue @@ -30,6 +30,7 @@ 修改 详情 删除 + 签收 { proxy.$message.info('已取消删除'); }); } +const sign = (row) => { + proxy.$confirm('确定签收吗?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', + type: 'warning' + }).then(() => { + signCommand({ zlid: row.id }).then(res => { + proxy.$message.success('签收成功'); + getList(); + }).catch(() => { + proxy.$message.error('签收失败'); + }); + }).catch(() => { + proxy.$message.info('已取消签收'); + }); +}