From c4366a490d3c954348bd7f5ef0aa23463bc24e0d Mon Sep 17 00:00:00 2001
From: zmj <1493694146@qq.com>
Date: Sat, 11 May 2024 11:08:12 +0800
Subject: [PATCH] add
---
.env.development | 4 +-
src/components/popup/index.vue | 6 +-
src/views/data/merchant/merchant/detail.vue | 196 +++++++++++++++
src/views/data/merchant/merchant/index.vue | 33 ++-
src/views/data/supplier/supplier/detail.vue | 186 ++++++++++++++
src/views/data/supplier/supplier/details.vue | 177 -------------
src/views/data/supplier/supplier/index.vue | 21 +-
src/views/goods/brand/detail.vue | 112 +++++++++
src/views/goods/brand/index.vue | 21 +-
src/views/goods/code/detail.vue | 111 ++++++++
src/views/goods/code/details.vue | 114 ---------
src/views/goods/code/index.vue | 32 ++-
src/views/goods/goods/detail.vue | 111 ++++++++
src/views/goods/unit/detail.vue | 103 ++++++++
src/views/goods/unit/index.vue | 24 +-
src/views/retail/cashierclass/detail.vue | 140 +++++++++++
src/views/retail/cashierclass/details.vue | 251 -------------------
src/views/retail/cashierclass/index.vue | 9 +-
18 files changed, 1073 insertions(+), 578 deletions(-)
create mode 100644 src/views/data/merchant/merchant/detail.vue
create mode 100644 src/views/data/supplier/supplier/detail.vue
delete mode 100644 src/views/data/supplier/supplier/details.vue
create mode 100644 src/views/goods/brand/detail.vue
create mode 100644 src/views/goods/code/detail.vue
delete mode 100644 src/views/goods/code/details.vue
create mode 100644 src/views/goods/goods/detail.vue
create mode 100644 src/views/goods/unit/detail.vue
create mode 100644 src/views/retail/cashierclass/detail.vue
delete mode 100644 src/views/retail/cashierclass/details.vue
diff --git a/.env.development b/.env.development
index e8f6926..b7b7e07 100644
--- a/.env.development
+++ b/.env.development
@@ -1,5 +1,5 @@
NODE_ENV = 'development'
VITE_NOW_TYPE = 'dist'
# Base API
-# VITE_APP_BASE_URL='http://192.168.1.14:8546'
-VITE_APP_BASE_URL='https://erp.lihaink.cn'
\ No newline at end of file
+VITE_APP_BASE_URL='http://192.168.1.14:8546'
+# VITE_APP_BASE_URL='https://erp.lihaink.cn'
\ No newline at end of file
diff --git a/src/components/popup/index.vue b/src/components/popup/index.vue
index b5fc599..e3bd441 100644
--- a/src/components/popup/index.vue
+++ b/src/components/popup/index.vue
@@ -12,7 +12,7 @@
{{ content }}
-
+
+
diff --git a/src/views/data/supplier/supplier/detail.vue b/src/views/data/supplier/supplier/detail.vue
new file mode 100644
index 0000000..c918c31
--- /dev/null
+++ b/src/views/data/supplier/supplier/detail.vue
@@ -0,0 +1,186 @@
+
+
+
+
+
diff --git a/src/views/data/supplier/supplier/details.vue b/src/views/data/supplier/supplier/details.vue
deleted file mode 100644
index fc04e4a..0000000
--- a/src/views/data/supplier/supplier/details.vue
+++ /dev/null
@@ -1,177 +0,0 @@
-
-
-
-
-
diff --git a/src/views/data/supplier/supplier/index.vue b/src/views/data/supplier/supplier/index.vue
index a2c47f9..5643c72 100644
--- a/src/views/data/supplier/supplier/index.vue
+++ b/src/views/data/supplier/supplier/index.vue
@@ -77,7 +77,7 @@
-
+
编辑
@@ -86,6 +86,9 @@
@click="handleDelete(row.id)">
删除
+
+ 详情
+
@@ -95,20 +98,25 @@
+
diff --git a/src/views/goods/brand/detail.vue b/src/views/goods/brand/detail.vue
new file mode 100644
index 0000000..9e72728
--- /dev/null
+++ b/src/views/goods/brand/detail.vue
@@ -0,0 +1,112 @@
+
+
+
+
+
diff --git a/src/views/goods/brand/index.vue b/src/views/goods/brand/index.vue
index b84609e..be3b2ad 100644
--- a/src/views/goods/brand/index.vue
+++ b/src/views/goods/brand/index.vue
@@ -51,7 +51,7 @@
-
+
编辑
@@ -59,6 +59,9 @@
删除
+
+ 详情
+
@@ -68,20 +71,24 @@
+
diff --git a/src/views/goods/code/details.vue b/src/views/goods/code/details.vue
deleted file mode 100644
index f404d7e..0000000
--- a/src/views/goods/code/details.vue
+++ /dev/null
@@ -1,114 +0,0 @@
-
-
-
-
-
diff --git a/src/views/goods/code/index.vue b/src/views/goods/code/index.vue
index 4467145..bb98932 100644
--- a/src/views/goods/code/index.vue
+++ b/src/views/goods/code/index.vue
@@ -58,17 +58,17 @@
-
+
编辑
-
- 详情
-
删除
+
+ 详情
+
@@ -78,25 +78,25 @@
-
+
diff --git a/src/views/goods/unit/detail.vue b/src/views/goods/unit/detail.vue
new file mode 100644
index 0000000..7c3f2bb
--- /dev/null
+++ b/src/views/goods/unit/detail.vue
@@ -0,0 +1,103 @@
+
+
+
+
+
diff --git a/src/views/goods/unit/index.vue b/src/views/goods/unit/index.vue
index 2f38e68..c0ddf86 100644
--- a/src/views/goods/unit/index.vue
+++ b/src/views/goods/unit/index.vue
@@ -42,7 +42,7 @@
-
+
编辑
@@ -50,6 +50,9 @@
删除
+
+ 详情
+
@@ -59,20 +62,24 @@
+
diff --git a/src/views/retail/cashierclass/details.vue b/src/views/retail/cashierclass/details.vue
deleted file mode 100644
index e40d0eb..0000000
--- a/src/views/retail/cashierclass/details.vue
+++ /dev/null
@@ -1,251 +0,0 @@
-
-
-
-
-
diff --git a/src/views/retail/cashierclass/index.vue b/src/views/retail/cashierclass/index.vue
index 000c530..a75e477 100644
--- a/src/views/retail/cashierclass/index.vue
+++ b/src/views/retail/cashierclass/index.vue
@@ -94,8 +94,7 @@
@click="handleDelete(row.id)">
删除
-->
-
+
详情
@@ -107,7 +106,7 @@
-
@@ -119,7 +118,7 @@ import { apiCashierclassLists, apiCashierclassDelete, apiCashierclassAuditing }
import { timeFormat } from '@/utils/util'
import feedback from '@/utils/feedback'
import EditPopup from './edit.vue'
-import DetailPopup from './details.vue'
+import DetailPopup from './detail.vue'
const editRef = shallowRef>()
const detailRef = shallowRef>()
@@ -173,7 +172,7 @@ const handleEdit = async (data: any) => {
}
// 详情
-const handleDetail = async (data: any) => {
+const handleDetail = async (data) => {
showDetail.value = true
await nextTick()
detailRef.value?.open('edit')