From 620d47a75d1d2980ea3a95ba7c75976c8be09cd0 Mon Sep 17 00:00:00 2001
From: yujialong <479214531@qq.com>
Date: Mon, 8 Jan 2024 20:39:11 +0800
Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E7=AD=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
apis/modules/goods.js | 13 +-
components/order/order.vue | 40 ++--
config/goods.js | 27 +++
config/request.js | 4 +-
other/addGoods/addGoods.vue | 131 +++++++------
other/goods/goods.vue | 108 +++++++---
.../registeredActivity/registeredActivity.vue | 2 +-
other/vouchers/vouchers.vue | 185 ++++++++++++++++++
pages.json | 8 +
pages/index/index.vue | 4 +-
pages/person/person.vue | 2 +-
pages/supplier/supplier.vue | 3 +-
team/auth/auth.vue | 7 +
13 files changed, 421 insertions(+), 113 deletions(-)
create mode 100644 config/goods.js
create mode 100644 other/vouchers/vouchers.vue
diff --git a/apis/modules/goods.js b/apis/modules/goods.js
index 21ef90c..db4a013 100644
--- a/apis/modules/goods.js
+++ b/apis/modules/goods.js
@@ -19,6 +19,15 @@ export const save = (data) => {
export const update = (data) => {
return post('nakadai/prod/update', data)
}
-export const categoryList = (data) => {
- return get('nakadai/category/list', data)
+export const categoryInfo = (data) => {
+ return get('nakadai/category/categoryInfo', data)
+}
+export const list = (data) => {
+ return get('nakadai/prod/list', data)
+}
+export const confirm = (data) => {
+ return get('nakadai/order/order/confirm', data)
+}
+export const orderSubmit = (data) => {
+ return get('nakadai/order/order/submit', data)
}
\ No newline at end of file
diff --git a/components/order/order.vue b/components/order/order.vue
index 54831ff..adacb35 100644
--- a/components/order/order.vue
+++ b/components/order/order.vue
@@ -24,15 +24,15 @@
-