微调
This commit is contained in:
@@ -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}成功!` })
|
||||
|
||||
Reference in New Issue
Block a user