tangning 2 vuotta sitten
vanhempi
commit
9c19fe6e59
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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();