This commit is contained in:
sjl
2025-01-16 14:24:55 +08:00
parent 891c6d8e93
commit 55ae64b3e1
8 changed files with 113 additions and 32 deletions

View File

@@ -344,6 +344,13 @@ const rules = computed(() => {
{
formContent.value.arrivedDate = dayjs(formContent.value.arrivedDate).format('YYYY-MM-DD');
}
//保存时判是否加密,把识别码密钥字段清空
if(formContent.value.encryptionFlag === 0){
formContent.value.series = null
formContent.value.devKey = null
}
if (formContent.value.id) {
await updatePqDev(formContent.value);
ElMessage.success({ message: `${dialogTitle.value}成功!` })