diff --git a/framework/0-conf.js b/framework/0-conf.js
index c985a18..83b9d7b 100644
--- a/framework/0-conf.js
+++ b/framework/0-conf.js
@@ -1,4 +1,5 @@
-const debug = process.env.NODE_ENV == 'development' ? true : false;
+// const debug = process.env.NODE_ENV == 'development' ? true : false;
+const debug = true;
// #ifdef H5
const proxyApi = "/api"
// #endif
@@ -8,25 +9,17 @@ const proxyApi = 'https://tapi.cashier.sxczgkj.cn' // 调试地址
const proxyApiwws = 'wss://sockets.sxczgkj.com/wss' // 调试地址
// #endif
-
-
-
// #ifdef H5
const baseUrl = debug ? proxyApi : "https://tapi.cashier.sxczgkj.cn"
const baseUrlwws = 'wss://sockets.sxczgkj.com/wss'
// #endif
-
-
-
-
-
-
// #ifdef APP || MP-WEIXIN || MP-ALIPAY
-const baseUrl = debug ? proxyApi : 'https://tapi.cashier.sxczgkj.cn' // 线上
-const baseUrlwws = debug ? proxyApiwws : 'wss://sockets.sxczgkj.com/wss' // 线上
+const baseUrl = debug ? proxyApi : 'https://cashier.sxczgkj.com' //
+const baseUrlwws = debug ? proxyApiwws : 'wss://czgeatws.sxczgkj.com/wss' // 线上
// #endif
+
// import VConsole from "./vConsole.js"
// if (debug) {
// new VConsole()
diff --git a/pages/order/components/orderInfoAfter.vue b/pages/order/components/orderInfoAfter.vue
index 5add784..6559bae 100644
--- a/pages/order/components/orderInfoAfter.vue
+++ b/pages/order/components/orderInfoAfter.vue
@@ -375,7 +375,7 @@
type: "confirm_order_product",
shopId: uni.cache.get('orderVIP').shopId,
shopUserId: props.orderVIP.id,
- payAmount: props.listinfo.totalCost,
+ payAmount: props.listinfo.totalPrices,
shoppingCart: JSON.stringify(props.listinfo.combinedArray)
})
break;
diff --git a/pages/order/detail.vue b/pages/order/detail.vue
index 2bdd38d..4506518 100644
--- a/pages/order/detail.vue
+++ b/pages/order/detail.vue
@@ -259,7 +259,7 @@
uniqueIds.value = [] // 筛选出商品卷的id
listinfo.coupondiscountAmount = 0 // 优惠卷减去的金额
listinfo.Productroll = 0 // 商品卷总价价格
- listinfo.coupondiscountAmount = 0 // 优惠卷减去的金额
+ listinfo.pointsNum = 0 // 商品卷总价价格
// 支付方式切换
// #ifdef MP-WEIXIN
paymentMethodref.value.groupChanges(2)
@@ -320,7 +320,6 @@
// 这是优惠卷传的值
const handleReturnData = async (data) => {
- console.log(data, uniqueIds.value, '11')
// 这是优惠卷
if (data.typeOrder == 1) {
if (data.item) {
@@ -364,7 +363,6 @@
}
const istoricalorders = async () => {
- return false;
// 先调用历史订单
let APIhistoryOrderres = await APIhistoryOrder({
tableCode: listinfo.tableCode
@@ -446,7 +444,8 @@
userAllPack: is_type.value == 0 ? 0 : 1, //是否整单打包
amount: listinfo.totalCost, // 最终订单金额
returnUrl: '', //跳转地址
- buyerRemark: ''
+ buyerRemark: '',
+ seatNum: listinfo.seatNum
})
return false;
} else {
diff --git a/pages/product/index.vue b/pages/product/index.vue
index 406d5e1..16de192 100644
--- a/pages/product/index.vue
+++ b/pages/product/index.vue
@@ -903,7 +903,14 @@
// 单规格
const singleclick = async (item, i) => {
// 判断购物车是否有该选中商品
- let res = await matchingProduct(item)
+ let res = null
+ try {
+ res = matchedProducts.value.find((product, index) => {
+ return product.skuId == item.skuId && product.id == item.id
+ });
+ } catch (error) {
+ //TODO handle the exception
+ }
websocketsendMessage({
id: res ? item.cartListId : '',
type: 'shopping',
diff --git a/pages/user/member/billDetails.vue b/pages/user/member/billDetails.vue
index dfc2354..5971016 100644
--- a/pages/user/member/billDetails.vue
+++ b/pages/user/member/billDetails.vue
@@ -1,6 +1,6 @@
-
+
我的余额
@@ -26,27 +26,65 @@
- {{formData.active == 1 ? item.biz_name : item.content}}
-
+
+ 现金充值
+
+
+ 微信小程序充值
+
+
+ 支付宝小程序充值
+
+
+ 充值奖励
+
+
+ 充值退款
+
+
+ 订单消费
+
+
+ 订单退款
+
+
+ 管理员充值
+
+
+ 管理员消费
+
+
+
+ {{item.content}}
+
+
+
+ {{ item.amount }}
+
+
+ {{item.floatPoints}}
-
- {{item.createTime}}
+
+ {{item.createTime}}
+
+ 余额:{{item.balance}}
+
- 余额:{{item.balance}}
+
+
+
+
-
-
-
-
-
-