From 832de06d25a488aea22431c5244e2949bb59d582 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=AD=8F=E5=95=BE?= <1144797966@qq.com>
Date: Wed, 23 Oct 2024 17:15:13 +0800
Subject: [PATCH] =?UTF-8?q?=E9=9C=B8=E7=8E=8B=E9=A4=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
http/yskApi/bwc.js | 33 ++++++++
pageBwc/index/index.vue | 169 ++++++++++++++++++++++++++++++++++++++++
pages.json | 11 +++
3 files changed, 213 insertions(+)
create mode 100644 http/yskApi/bwc.js
create mode 100644 pageBwc/index/index.vue
diff --git a/http/yskApi/bwc.js b/http/yskApi/bwc.js
new file mode 100644
index 0000000..6899f16
--- /dev/null
+++ b/http/yskApi/bwc.js
@@ -0,0 +1,33 @@
+import http from './http.js'
+const request = http.request
+
+
+/**
+ * 商品报损
+ * @returns
+ */
+export function get(params) {
+ return request({
+ url: `/freeDine`,
+ method: 'get',
+ params: {
+ shopId: uni.getStorageSync('shopId'),
+ ...params
+ }
+ })
+}
+
+/**
+ * 耗材报损
+ * @returns
+ */
+export function edit(data) {
+ return request({
+ url: `/freeDine`,
+ method: 'put',
+ params: {
+ shopId: uni.getStorageSync('shopId'),
+ ...data
+ }
+ })
+}
\ No newline at end of file
diff --git a/pageBwc/index/index.vue b/pageBwc/index/index.vue
new file mode 100644
index 0000000..5c393b3
--- /dev/null
+++ b/pageBwc/index/index.vue
@@ -0,0 +1,169 @@
+
+
+
+
+ 充值设置
+
+
+ 用户消费结账时,成功充值成功
+
+ 倍的金额本单即可享受免单
+
+
+
+
+ 充值门槛
+
+
+ 订单支付金额需满
+
+ 元,才能使用
+
+
+
+
+ 功能启用
+
+
+
+
+
+ 充值说明
+
+
+
+
+
+
+ 保存
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages.json b/pages.json
index 3e450f3..b5c1392 100644
--- a/pages.json
+++ b/pages.json
@@ -1138,6 +1138,17 @@
]
},
+ {
+ "root": "pageBwc",
+ "pages": [{
+ "pageId": "PAGES_BWC",
+ "path": "index/index",
+ "style": {
+ "navigationBarTitleText": "霸王餐"
+ }
+ }
+ ]
+ },
{
"root": "pageBooking",
"pages": [{