diff --git a/code/container-ocr/ocr-vue/src/views/container/update-dialog.vue b/code/container-ocr/ocr-vue/src/views/container/update-dialog.vue index 387e55be..b9f3de5d 100644 --- a/code/container-ocr/ocr-vue/src/views/container/update-dialog.vue +++ b/code/container-ocr/ocr-vue/src/views/container/update-dialog.vue @@ -8,10 +8,7 @@ const props = defineProps({ }, }); -const loading = reactive({ - submit: false, - global: true, -}); +const loading = ref(false); const form = ref({ b_id: "", @@ -34,7 +31,12 @@ function onOpened() { } function onClosed() { - console.log("对话框已关闭"); + loading.value = true; + + form.value = { + b_id: "", + b_container_no: "", + }; } @@ -47,7 +49,7 @@ function onClosed() { @closed="onClosed" v-model="visible" > -
+
箱号
@@ -60,13 +62,13 @@ function onClosed() {