客户端生成问题调整

This commit is contained in:
fan 2023-05-15 16:41:33 +08:00
parent 25acb80335
commit 1bdc04fb8e

View File

@ -130,14 +130,14 @@ export default {
id = Math.max(parseInt(item.id.slice(8)), id);
}
});
return 'ter_rai_' + id;
return 'ter_rai_' + (id + 1);
} else if (type === 'EMERGENCY') {
this.clientEmergencyList.forEach(item => {
if (item.id) {
id = Math.max(parseInt(item.id.slice(8)), id);
}
});
return 'ter_eme_' + id;
return 'ter_eme_' + (id + 1);
}
},
keyGeneration() {