>()
@@ -156,8 +157,8 @@ const handleEdit = async (data: any) => {
const handleDetail = async (data: any) => {
showDetail.value = true
await nextTick()
- detailRef.value?.open()
- detailRef.value?.getDetail(data)
+ detailRef.value?.open('edit')
+ detailRef.value?.setFormData(data)
}
// 删除
diff --git a/src/views/retail/cashierclass/detail.vue b/src/views/retail/cashierclass/detail.vue
index 8163fc0..7d8fca6 100644
--- a/src/views/retail/cashierclass/detail.vue
+++ b/src/views/retail/cashierclass/detail.vue
@@ -39,6 +39,28 @@
{{ formData.auditingtime }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -46,6 +68,8 @@