From 855b187ee59f1ada6fd8b4861243230299e65b12 Mon Sep 17 00:00:00 2001
From: zjf <1799650030@qq.com>
Date: Tue, 2 Sep 2025 18:31:15 +0800
Subject: [PATCH] =?UTF-8?q?=E5=85=B1=E5=AF=8C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/supermarket/mallCategory.ts | 48 ++++
src/api/supermarket/mallMerchant.ts | 41 ++++
src/api/supermarket/mallProduct.ts | 41 ++++
src/api/supermarket/mallProductSku.ts | 41 ++++
src/views/supermarket/mallCategory/form.vue | 160 +++++++++++++
src/views/supermarket/mallCategory/index.vue | 179 ++++++++++++++
src/views/supermarket/mallMerchant/form.vue | 174 ++++++++++++++
src/views/supermarket/mallMerchant/index.vue | 147 ++++++++++++
src/views/supermarket/mallProduct/form.vue | 219 ++++++++++++++++++
src/views/supermarket/mallProduct/index.vue | 150 ++++++++++++
src/views/supermarket/mallProductSku/form.vue | 167 +++++++++++++
.../supermarket/mallProductSku/index.vue | 123 ++++++++++
12 files changed, 1490 insertions(+)
create mode 100644 src/api/supermarket/mallCategory.ts
create mode 100644 src/api/supermarket/mallMerchant.ts
create mode 100644 src/api/supermarket/mallProduct.ts
create mode 100644 src/api/supermarket/mallProductSku.ts
create mode 100644 src/views/supermarket/mallCategory/form.vue
create mode 100644 src/views/supermarket/mallCategory/index.vue
create mode 100644 src/views/supermarket/mallMerchant/form.vue
create mode 100644 src/views/supermarket/mallMerchant/index.vue
create mode 100644 src/views/supermarket/mallProduct/form.vue
create mode 100644 src/views/supermarket/mallProduct/index.vue
create mode 100644 src/views/supermarket/mallProductSku/form.vue
create mode 100644 src/views/supermarket/mallProductSku/index.vue
diff --git a/src/api/supermarket/mallCategory.ts b/src/api/supermarket/mallCategory.ts
new file mode 100644
index 0000000..b993d34
--- /dev/null
+++ b/src/api/supermarket/mallCategory.ts
@@ -0,0 +1,48 @@
+import request from "/@/utils/request"
+
+export function fetchList(query?: Object) {
+ return request({
+ url: '/supermarket/mallCategory/page',
+ method: 'get',
+ params: query
+ })
+}
+
+export function addObj(obj?: Object) {
+ return request({
+ url: '/supermarket/mallCategory',
+ method: 'post',
+ data: obj
+ })
+}
+
+export function getObj(id?: string) {
+ return request({
+ url: '/supermarket/mallCategory/' + id,
+ method: 'get'
+ })
+}
+
+export function delObjs(ids?: Object) {
+ return request({
+ url: '/supermarket/mallCategory',
+ method: 'delete',
+ data: ids
+ })
+}
+
+export function putObj(obj?: Object) {
+ return request({
+ url: '/supermarket/mallCategory',
+ method: 'put',
+ data: obj
+ })
+}
+
+export function tree(obj?: Object) {
+ return request({
+ url: '/supermarket/mallCategory/tree',
+ method: 'get',
+ data: obj
+ })
+}
diff --git a/src/api/supermarket/mallMerchant.ts b/src/api/supermarket/mallMerchant.ts
new file mode 100644
index 0000000..bdc615d
--- /dev/null
+++ b/src/api/supermarket/mallMerchant.ts
@@ -0,0 +1,41 @@
+import request from "/@/utils/request"
+
+export function fetchList(query?: Object) {
+ return request({
+ url: '/supermarket/mallMerchant/page',
+ method: 'get',
+ params: query
+ })
+}
+
+export function addObj(obj?: Object) {
+ return request({
+ url: '/supermarket/mallMerchant',
+ method: 'post',
+ data: obj
+ })
+}
+
+export function getObj(id?: string) {
+ return request({
+ url: '/supermarket/mallMerchant/' + id,
+ method: 'get'
+ })
+}
+
+export function delObjs(ids?: Object) {
+ return request({
+ url: '/supermarket/mallMerchant',
+ method: 'delete',
+ data: ids
+ })
+}
+
+export function putObj(obj?: Object) {
+ return request({
+ url: '/supermarket/mallMerchant',
+ method: 'put',
+ data: obj
+ })
+}
+
diff --git a/src/api/supermarket/mallProduct.ts b/src/api/supermarket/mallProduct.ts
new file mode 100644
index 0000000..edada56
--- /dev/null
+++ b/src/api/supermarket/mallProduct.ts
@@ -0,0 +1,41 @@
+import request from "/@/utils/request"
+
+export function fetchList(query?: Object) {
+ return request({
+ url: '/supermarket/mallProduct/page',
+ method: 'get',
+ params: query
+ })
+}
+
+export function addObj(obj?: Object) {
+ return request({
+ url: '/supermarket/mallProduct',
+ method: 'post',
+ data: obj
+ })
+}
+
+export function getObj(id?: string) {
+ return request({
+ url: '/supermarket/mallProduct/' + id,
+ method: 'get'
+ })
+}
+
+export function delObjs(ids?: Object) {
+ return request({
+ url: '/supermarket/mallProduct',
+ method: 'delete',
+ data: ids
+ })
+}
+
+export function putObj(obj?: Object) {
+ return request({
+ url: '/supermarket/mallProduct',
+ method: 'put',
+ data: obj
+ })
+}
+
diff --git a/src/api/supermarket/mallProductSku.ts b/src/api/supermarket/mallProductSku.ts
new file mode 100644
index 0000000..6f7db5e
--- /dev/null
+++ b/src/api/supermarket/mallProductSku.ts
@@ -0,0 +1,41 @@
+import request from "/@/utils/request"
+
+export function fetchList(query?: Object) {
+ return request({
+ url: '/supermarket/mallProductSku/page',
+ method: 'get',
+ params: query
+ })
+}
+
+export function addObj(obj?: Object) {
+ return request({
+ url: '/supermarket/mallProductSku',
+ method: 'post',
+ data: obj
+ })
+}
+
+export function getObj(id?: string) {
+ return request({
+ url: '/supermarket/mallProductSku/' + id,
+ method: 'get'
+ })
+}
+
+export function delObjs(ids?: Object) {
+ return request({
+ url: '/supermarket/mallProductSku',
+ method: 'delete',
+ data: ids
+ })
+}
+
+export function putObj(obj?: Object) {
+ return request({
+ url: '/supermarket/mallProductSku',
+ method: 'put',
+ data: obj
+ })
+}
+
diff --git a/src/views/supermarket/mallCategory/form.vue b/src/views/supermarket/mallCategory/form.vue
new file mode 100644
index 0000000..4192b8c
--- /dev/null
+++ b/src/views/supermarket/mallCategory/form.vue
@@ -0,0 +1,160 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/supermarket/mallCategory/index.vue b/src/views/supermarket/mallCategory/index.vue
new file mode 100644
index 0000000..04eb2b2
--- /dev/null
+++ b/src/views/supermarket/mallCategory/index.vue
@@ -0,0 +1,179 @@
+
+
+
+
+
+
+
+
+
+
+ 查询
+
+ 重置
+
+
+
+
+
+
+ 新 增
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/supermarket/mallMerchant/form.vue b/src/views/supermarket/mallMerchant/form.vue
new file mode 100644
index 0000000..a863f61
--- /dev/null
+++ b/src/views/supermarket/mallMerchant/form.vue
@@ -0,0 +1,174 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/supermarket/mallMerchant/index.vue b/src/views/supermarket/mallMerchant/index.vue
new file mode 100644
index 0000000..6952b88
--- /dev/null
+++ b/src/views/supermarket/mallMerchant/index.vue
@@ -0,0 +1,147 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+
+ 重置
+
+
+
+
+
+
+ 新 增
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/supermarket/mallProduct/form.vue b/src/views/supermarket/mallProduct/form.vue
new file mode 100644
index 0000000..8dff3bd
--- /dev/null
+++ b/src/views/supermarket/mallProduct/form.vue
@@ -0,0 +1,219 @@
+
+
+
+
+
+
+
+ 0
+
+
+
+
+
+
+
+ 0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/supermarket/mallProduct/index.vue b/src/views/supermarket/mallProduct/index.vue
new file mode 100644
index 0000000..3ae8405
--- /dev/null
+++ b/src/views/supermarket/mallProduct/index.vue
@@ -0,0 +1,150 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+
+ 重置
+
+
+
+
+
+
+ 新 增
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/supermarket/mallProductSku/form.vue b/src/views/supermarket/mallProductSku/form.vue
new file mode 100644
index 0000000..7599080
--- /dev/null
+++ b/src/views/supermarket/mallProductSku/form.vue
@@ -0,0 +1,167 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/supermarket/mallProductSku/index.vue b/src/views/supermarket/mallProductSku/index.vue
new file mode 100644
index 0000000..8138e3f
--- /dev/null
+++ b/src/views/supermarket/mallProductSku/index.vue
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+ 新 增
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file