tangning 2 years ago
parent
commit
9c19fe6e59
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/empower/detailModel.vue

+ 1 - 1
src/views/empower/detailModel.vue

@@ -136,7 +136,7 @@
         openModal(true, { id: id.value });
       }
       async function handleUpdataSn(record: Recordable) {
-        openSnModal(true, { id: id.value, oldSnCode: record.snCode });
+        openSnModal(true, { id: record.id, oldSnCode: record.snCode });
       }
       const handleSubmit = async () => {
         closeModal();