From 8fa21b3404a3f353efcdf58c230ef8ee1434beda Mon Sep 17 00:00:00 2001
From: YeMingfei666 <1619116647@qq.com>
Date: Thu, 20 Nov 2025 14:41:19 +0800
Subject: [PATCH 1/3] =?UTF-8?q?=E5=AE=8C=E6=88=90=E6=96=B0=E5=AE=A2?=
=?UTF-8?q?=E7=AB=8B=E5=87=8F=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
commons/style/common.scss | 51 ++-
.../my-components/my-bottom-btn-group.vue | 28 +-
components/my-components/my-dine-types.vue | 72 +++--
components/my-components/my-time-area.vue | 14 +-
http/api/market/consumeDiscount.js | 23 +-
pageMarket/components/modal.vue | 4 +-
pageMarket/distribution/add-fenxiao-user.vue | 9 +-
pageMarket/distribution/level-list.vue | 5 +-
pageMarket/newUserDiscount/index.vue | 302 ++++++++++++++++++
.../static/images/new-user-discount.png | Bin 0 -> 1104 bytes
pages.json | 19 ++
pages/appliccation/marketing.vue | 2 +-
store/market.js | 28 ++
13 files changed, 507 insertions(+), 50 deletions(-)
create mode 100644 pageMarket/newUserDiscount/index.vue
create mode 100644 pageMarket/static/images/new-user-discount.png
diff --git a/commons/style/common.scss b/commons/style/common.scss
index 6a0a8f3..542d42b 100644
--- a/commons/style/common.scss
+++ b/commons/style/common.scss
@@ -365,7 +365,7 @@ text {
right: 0;
padding: 30rpx;
padding-bottom: env(safe-area-inset-bottom);
-
+ z-index: 999;
/* #ifdef H5 */
padding-bottom: 28rpx;
/* #endif */
@@ -427,4 +427,51 @@ text {
}
.bg-f7{
background-color: #F7F7F7;
-}
\ No newline at end of file
+}
+.default-box-padding{
+ padding: 32rpx 28rpx;
+}
+.default-box-radius{
+ border-radius: 16rpx;
+}
+.default-box-x-padding{
+ padding-left: 28rpx;
+ padding-right: 28rpx;
+}
+.default-box-y-padding{
+ padding-top: 32rpx;
+ padding-bottom: 32rpx;
+}
+$height: 70rpx;
+
+.number-box {
+ font-size: 28rpx;
+ padding: 0 26rpx;
+ border-radius: 6rpx 0 0 6rpx;
+ border-top: 2rpx solid #d9d9d9;
+ border-bottom: 2rpx solid #d9d9d9;
+ border-left: 2rpx solid #d9d9d9;
+ background: #fff;
+ box-sizing: border-box;
+ height: $height;
+ flex: 1;
+ line-height: $height;
+ }
+ .unit {
+ display: flex;
+ padding: 0 38rpx;
+ height: $height;
+ line-height: $height;
+ align-items: center;
+ border-radius: 0 6rpx 6rpx 0;
+ border: 2rpx solid #d9d9d9;
+ background: #f7f7fa;
+ font-size: 28rpx;
+ color: #999999;
+ }
+ .u-col-baseline{
+ align-items: baseline;
+ }
+ .text-right{
+ text-align: right;
+ }
\ No newline at end of file
diff --git a/components/my-components/my-bottom-btn-group.vue b/components/my-components/my-bottom-btn-group.vue
index 688082a..862bca2 100644
--- a/components/my-components/my-bottom-btn-group.vue
+++ b/components/my-components/my-bottom-btn-group.vue
@@ -1,10 +1,13 @@
-
+
-
+
-
+
保存
@@ -18,7 +21,15 @@
+
+
diff --git a/components/my-components/my-dine-types.vue b/components/my-components/my-dine-types.vue
index 05458df..bb3a040 100644
--- a/components/my-components/my-dine-types.vue
+++ b/components/my-components/my-dine-types.vue
@@ -1,39 +1,57 @@
-
-
-
-
-
+
+
+
+
+
diff --git a/components/my-components/my-time-area.vue b/components/my-components/my-time-area.vue
index 7cb469d..0938a16 100644
--- a/components/my-components/my-time-area.vue
+++ b/components/my-components/my-time-area.vue
@@ -2,13 +2,13 @@
- 请选择日期范围
+ {{ startText }}
{{ startDate }}
—
- 请选择日期范围
+ {{ endText }}
{{ endDate }}
@@ -29,6 +29,16 @@
+
diff --git a/pageMarket/static/images/new-user-discount.png b/pageMarket/static/images/new-user-discount.png
new file mode 100644
index 0000000000000000000000000000000000000000..8a4897be30035f1aca9bad220338899ec1c9b281
GIT binary patch
literal 1104
zcmV-W1h4yvP))
zBrY+cQR4zc(NRM*S}0)&JCrR@mOxp;R{A*KTqf_1rn
zlZL{~;n4f4%yy|WIagem4_}RgLD#0by8F%rP<#dKJ^~YmI9-@AC-Cvpuyi}TayOK9
zg;;g6JbJ4!zYNCR2KV-b34_DH67C((T@GCeVAPE+=(HtJ^M{kgo1lI-j9&mxd<$Q!
zbT+xhoGVs<1IJ;?V)%K3?%=5kc=0YL*LMNWgVVO}=Zt}(%L#Ra0#>A2CO$st1DVw^sI$z0f^`8W?S>maVhMKBfU*XJqNqxz(w>8;C%EZG#czP-pLSRU`3txq2@=T}hl=J*^qs
z*&9lWNIDcx{z*!^Ndne(nLCzvB~o{?c@A58Klm3adO){A_{o?pcGsFtTTJPH>rZ>A
zG8k|Ttk@$jC+bem4}qw~9BB{jv~ElSZf*e?E6`(KJA+1J>UV2l?LPSUe-MynWV?R9
zZK;K@WDCst8x~l)Wv6+G_V!GBs8iM+MM~)sk_4<`pq0$1vVt%mVdBnf4ETpOtW`!n
zSw=kNviQxwqgH6n__}lQ_#H6aV!ithXx?evm;@}OOt+F4J9uHQHMGWYXSO3}q_FG7wmXsz5LN0!>D)
z*`uLZ_t;9|?U-2W8M@C>dXpheL-MWz#iw{S^J=T4s4-yrb+K263T3V-@
zkGfirT|$=?SVkg?YI7#i$)+udL^u@`>9dJ|Z4+fPadSbW3qvC3ojwZK5}7^`q)8=R
z7!n1=G2P|}K6C6M^e;iW25S&o4?->yWeEIH#M{Ap*2tq73 {
+ return {
+ //分销配置
+ config: {
+ isEnable: 0,
+ },
+ };
+ },
+ actions: {
+ async getConfig() {
+ const data = await consumeDiscountApi.getConfig();
+ this.config = data;
+ return this.config;
+ },
+ async editConfig(data,isAutoResrefresh = true) {
+ const res = await consumeDiscountApi.editConfig({ ...this.config, ...data });
+ if(isAutoResrefresh){
+ this.getConfig();
+ }
+ return res;
+ },
+ },
+ unistorage: true, // 开启后对 state 的数据读写都将持久化
+});
\ No newline at end of file
From bb4c2676e763154736b8ea660ee8d38f0bd2cd72 Mon Sep 17 00:00:00 2001
From: YeMingfei666 <1619116647@qq.com>
Date: Thu, 20 Nov 2025 15:55:50 +0800
Subject: [PATCH 2/3] =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?=
=?UTF-8?q?=EF=BC=8C=E5=A2=9E=E5=8A=A0=E7=82=B9=E5=8D=95=E6=99=BA=E8=83=BD?=
=?UTF-8?q?=E6=8E=A8=E8=8D=90=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
http/api/market/suggest.js | 41 +++++++++
.../components/fenxiao-user-list.vue | 12 ++-
.../distribution/components/open-list.vue | 4 +-
pageMarket/distribution/index.vue | 54 +++++++++---
pageMarket/distribution/level-list.vue | 86 ++++++++++++++++---
pageMarket/distribution/money-recoders.vue | 2 +-
pageMarket/newUserDiscount/index.vue | 19 +++-
pageMarket/orderRecommendation/index.vue | 3 +
pages.json | 7 ++
pages/appliccation/marketing.vue | 2 +-
store/market.js | 11 ++-
11 files changed, 201 insertions(+), 40 deletions(-)
create mode 100644 http/api/market/suggest.js
create mode 100644 pageMarket/orderRecommendation/index.vue
diff --git a/http/api/market/suggest.js b/http/api/market/suggest.js
new file mode 100644
index 0000000..6068458
--- /dev/null
+++ b/http/api/market/suggest.js
@@ -0,0 +1,41 @@
+import http from "@/http/http.js";
+const request = http.request;
+const urlType = "market";
+
+export function suggestPage(params) {
+ return request({
+ url: urlType + `/admin/suggest/page`,
+ method: "get",
+ params: {
+ ...params,
+ },
+ });
+}
+export function addSuggest(params) {
+ return request({
+ url: urlType + `/admin/suggest`,
+ method: "POST",
+ params: {
+ ...params,
+ },
+ });
+}
+export function editSuggest(params) {
+ return request({
+ url: urlType + `/admin/suggest`,
+ method: "PUT",
+ params: {
+ ...params,
+ },
+ });
+}
+export function deleteSuggest(params) {
+ return request({
+ url: urlType + `/admin/suggest`,
+ method: "DELETE",
+ params: {
+ ...params,
+ },
+ });
+}
+
diff --git a/pageMarket/distribution/components/fenxiao-user-list.vue b/pageMarket/distribution/components/fenxiao-user-list.vue
index 4a20196..f3906d5 100644
--- a/pageMarket/distribution/components/fenxiao-user-list.vue
+++ b/pageMarket/distribution/components/fenxiao-user-list.vue
@@ -3,9 +3,9 @@
- 用户昵称
+ {{ item.shopUserName }}
- {{ item.shopUserName }}
+ {{ item.shopUserPhone }}
@@ -82,7 +82,7 @@
>是否确认重置分销组 重置后将会按照用户的实际数据匹配分销组
-
+
是否确认取消分销员
@@ -179,6 +179,8 @@ async function handleConfirm() {
id: modalData.data.id,
shopId: uni.getSystemInfoSync("shopInfo").id || "",
});
+ emits("refresh");
+
}
if (modalData.key == "change-group") {
const level=distributionStore.config.levelConfigList.find((item) => item.id == group.value)
@@ -204,6 +206,10 @@ async function handleConfirm() {
});
emits("refresh");
}
+ uni.showToast({
+ title:'操作成功',
+ icon:'none'
+ })
group.value = "";
modalData.show = false;
}
diff --git a/pageMarket/distribution/components/open-list.vue b/pageMarket/distribution/components/open-list.vue
index 4aef715..8719104 100644
--- a/pageMarket/distribution/components/open-list.vue
+++ b/pageMarket/distribution/components/open-list.vue
@@ -12,9 +12,9 @@
- 用户昵称
+ {{item.nickName}}
- {{ item.nickName }}
+ {{ item.phone }}
{{ item.changeAmount }}
diff --git a/pageMarket/distribution/index.vue b/pageMarket/distribution/index.vue
index d674c54..862e804 100644
--- a/pageMarket/distribution/index.vue
+++ b/pageMarket/distribution/index.vue
@@ -11,7 +11,7 @@
分销
允许客户充值并使用余额支付
+ >用户成为业务员,可促进消费
+
+
+
+
请选择日期范围
@@ -66,14 +70,13 @@
class="u-font-28 filter-box u-flex u-row-between"
@click="showActions = true"
>
-
+
{{ selActions.name }}
全部
-
@@ -97,6 +100,9 @@
{{ userComponentQuery.startTime }} -
{{ userComponentQuery.endTime }}
+
+
+
请选择日期
@@ -115,7 +121,7 @@
{{
listRes.totalAmount
}}
- 支付开通人数
+ 已支付金额(元)
@@ -137,7 +143,9 @@
}}
运营余额(元)
- 充值{{'>'}}
+ 充值{{ ">" }}
@@ -229,10 +237,18 @@ const actions = [
value: "refund",
},
];
-const selActions=ref('')
+function clearKeyWord() {
+ keyWord.value = "";
+ userComponentQuery.user = "";
+}
+function clearTime() {
+ userComponentQuery.startTime = "";
+ userComponentQuery.endTime = "";
+}
+const selActions = ref("");
const showActions = ref(false);
function handleSelect(e) {
- selActions.value = e;
+ selActions.value = e;
}
const distributionStore = useDistributionStore();
@@ -360,7 +376,7 @@ async function getList() {
page: pageNum.value,
size: 10,
key: userComponentQuery.user,
- status: selActions.value.value,
+ status: selActions.value?.value || "",
startTime: userComponentQuery.startTime
? userComponentQuery.startTime + " 00:00:00"
: "",
@@ -391,6 +407,9 @@ const active = ref(0);
watch(
() => active.value,
(newval) => {
+ userComponentQuery.startTime = "";
+ userComponentQuery.endTime = "";
+ keyWord.value = "";
console.log(newval);
pageNum.value = 1;
getList();
@@ -399,21 +418,28 @@ watch(
watch(
() => active.value,
(newval) => {
+
+ refresh();
+ }
+);
+watch(
+ () => selActions.value,
+ () => {
refresh();
}
);
-watch(()=>selActions.value,()=>{
- refresh()
-})
onReachBottom(() => {
if (!isEnd.value) {
pageNum.value++;
getList();
}
});
-watch(()=>distributionStore.config.isEnable,()=>{
- distributionStore.editConfig()
-})
+watch(
+ () => distributionStore.config.isEnable,
+ () => {
+ distributionStore.editConfig();
+ }
+);
onShow(() => {
pageNum.value = 1;
getList();
diff --git a/pageMarket/distribution/level-list.vue b/pageMarket/distribution/level-list.vue
index 806ad97..2a61107 100644
--- a/pageMarket/distribution/level-list.vue
+++ b/pageMarket/distribution/level-list.vue
@@ -33,7 +33,7 @@
名称
-
+
分成比例
@@ -50,8 +50,10 @@
%
-
- 有效人数
+
+
+
+ 有效人数
人
+
有效人数:被邀请人在店铺消费过,即有一笔订单完成
+
+
+
+ 消费金额达
+
+
+
+ 元
+
+
+ 消费金额:分销员和被邀请人在店铺订单消费总金额(不包含退款)
+
+
+
+
+
{{index==0? '添加':'继续添加'}}
-
+
删除
@@ -124,15 +149,19 @@ let timer=null
//全部的分成比例加起来不能超过100%
function checkNumberCommission(e,index){
const value=e.detail.value
+ clearInterval(timer)
+
if(value>100){
uni.showToast({
title:'分成比例不能超过100',
icon:'none'
})
- form.levelConfigList[index].levelOneCommission=''
+ timer= setTimeout(()=>{
+ form.levelConfigList[index].levelOneCommission=''
+ },30)
+
return false
}
- clearInterval(timer)
//输入最多两位小数,两位小数点后的去除掉不让输入
if(value.indexOf('.')!=-1){
const arr=value.split('.')
@@ -144,6 +173,21 @@ function checkNumberCommission(e,index){
}
}
+
+function checkName(e,index){
+ const value=e.detail.value
+ if(value.length>10){
+ uni.showToast({
+ title:'名称最多10个字符',
+ icon:'none'
+ })
+ timer= setTimeout(()=>{
+ form.levelConfigList[index].name=value.substring(0,10)
+
+ },30)
+ return false
+ }
+}
function remove(index){
form.levelConfigList.splice(index,1)
showDetailListSwitch.value.splice(index,1)
@@ -152,7 +196,8 @@ function addLevelConfig(){
form.levelConfigList.push({
name:'',
levelOneCommission:'',
- inviteCount:''
+ inviteCount:'',
+ costAmount:''
})
showDetailListSwitch.value.push(true)
}
@@ -175,13 +220,28 @@ function addLevelConfig(){
})
return false
}
- if(item.inviteCount===''){
- uni.showToast({
- title:'请输入有效人数',
- icon:'none'
- })
- return false
+ if(form.upgradeType==='not_upgrade'){
+ continue
}
+ if(form.upgradeType==='cost'){
+ if(item.costAmount===''||item.costAmount===null){
+ uni.showToast({
+ title:'请输入消费金额',
+ icon:'none'
+ })
+ return false
+ }
+ }else{
+ if(item.inviteCount===''||item.inviteCount===null){
+ uni.showToast({
+ title:'请输入有效人数',
+ icon:'none'
+ })
+ return false
+ }
+
+ }
+
}
return true
}
diff --git a/pageMarket/distribution/money-recoders.vue b/pageMarket/distribution/money-recoders.vue
index 1f63020..5af701c 100644
--- a/pageMarket/distribution/money-recoders.vue
+++ b/pageMarket/distribution/money-recoders.vue
@@ -70,7 +70,7 @@
- 关联订单:WX1987787224197300224
+ 关联订单:{{item.orderNo}}
diff --git a/pageMarket/newUserDiscount/index.vue b/pageMarket/newUserDiscount/index.vue
index d9d0b58..e8959bd 100644
--- a/pageMarket/newUserDiscount/index.vue
+++ b/pageMarket/newUserDiscount/index.vue
@@ -54,7 +54,7 @@
placeholder="请输入内容"
placeholder-class="color-999 u-font-28"
type="number"
- v-model="form.payAmount"
+ v-model="form.discountAmount"
/>
元
@@ -225,6 +225,7 @@ const form = reactive({
discountType: "FIXED",
useTypeList: [],
randomDiscountList: [],
+ discountAmount: "",
});
function cancel() {
@@ -243,6 +244,13 @@ function save() {
});
return;
}
+ if(form.discountType == "FIXED" && form.discountAmount == ""){
+ uni.showToast({
+ title:'请填写减免金额',
+ icon:'none'
+ })
+ return;
+ }
newUserDiscountStore
.editConfig(
{
@@ -266,7 +274,14 @@ function save() {
watch(
() => newUserDiscountStore.config.isEnable,
(newVal) => {
- save();
+ newUserDiscountStore.editConfig().then((res) => {
+ if (res) {
+ uni.showToast({
+ title: "操作成功",
+ icon: "none",
+ });
+ }
+ });
}
);
diff --git a/pageMarket/orderRecommendation/index.vue b/pageMarket/orderRecommendation/index.vue
new file mode 100644
index 0000000..46c1fa3
--- /dev/null
+++ b/pageMarket/orderRecommendation/index.vue
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/pages.json b/pages.json
index c26d5ef..6fd44d8 100644
--- a/pages.json
+++ b/pages.json
@@ -698,6 +698,13 @@
"style": {
"navigationBarTitleText": "新客立减"
}
+ },
+ {
+ "pageId": "PAGES_MARKET_ORDER_RECOMMENDATION",
+ "path": "orderRecommendation/index",
+ "style": {
+ "navigationBarTitleText": "点餐智能推荐"
+ }
}
]
},
diff --git a/pages/appliccation/marketing.vue b/pages/appliccation/marketing.vue
index 7f2c782..70f09fd 100644
--- a/pages/appliccation/marketing.vue
+++ b/pages/appliccation/marketing.vue
@@ -100,7 +100,7 @@ const menuList = ref([
{
title: '点餐智能推荐',
icon: '',
- pageUrl: '',
+ pageUrl: 'PAGES_MARKET_ORDER_RECOMMENDATION',
intro: '进入点单页X秒未点自动推荐商品,此推荐设置启用即生效'
},
{
diff --git a/store/market.js b/store/market.js
index af8b1d5..e7b0b0e 100644
--- a/store/market.js
+++ b/store/market.js
@@ -69,13 +69,16 @@ export const useNewUserDiscountStore = defineStore("newUserDiscount", {
this.config = data;
return this.config;
},
- async editConfig(data,isAutoResrefresh = true) {
- const res = await consumeDiscountApi.editConfig({ ...this.config, ...data });
- if(isAutoResrefresh){
+ async editConfig(data, isAutoResrefresh = true) {
+ const res = await consumeDiscountApi.editConfig({
+ ...this.config,
+ ...data,
+ });
+ if (isAutoResrefresh) {
this.getConfig();
}
return res;
},
},
unistorage: true, // 开启后对 state 的数据读写都将持久化
-});
\ No newline at end of file
+});
From ce3674be353b639c4a613e904682058d20d720b7 Mon Sep 17 00:00:00 2001
From: YeMingfei666 <1619116647@qq.com>
Date: Thu, 20 Nov 2025 18:45:04 +0800
Subject: [PATCH 3/3] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=82=B9=E9=A4=90?=
=?UTF-8?q?=E6=99=BA=E8=83=BD=E6=8E=A8=E8=8D=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../my-components/my-bottom-btn-group.vue | 5 +
components/my-components/my-hour-area.vue | 153 ++++++----
components/my-components/my-week-sel.vue | 8 +-
http/api/market/suggest.js | 2 +-
pageMarket/components/choose-goods.vue | 198 ++++++++++++
pageMarket/distribution/add-fenxiao-user.vue | 2 +-
.../components/fenxiao-mingxi.vue | 2 +-
pageMarket/newUserDiscount/index.vue | 12 +-
pageMarket/orderRecommendation/add.vue | 190 ++++++++++++
pageMarket/orderRecommendation/index.vue | 281 +++++++++++++++++-
pageMarket/static/images/suggest.png | Bin 0 -> 886 bytes
pages.json | 7 +
store/account.js | 29 ++
13 files changed, 813 insertions(+), 76 deletions(-)
create mode 100644 pageMarket/components/choose-goods.vue
create mode 100644 pageMarket/orderRecommendation/add.vue
create mode 100644 pageMarket/static/images/suggest.png
create mode 100644 store/account.js
diff --git a/components/my-components/my-bottom-btn-group.vue b/components/my-components/my-bottom-btn-group.vue
index 862bca2..56f6c02 100644
--- a/components/my-components/my-bottom-btn-group.vue
+++ b/components/my-components/my-bottom-btn-group.vue
@@ -46,4 +46,9 @@ function cancel() {
.zhanwei1{
height: 240rpx;
}
+.fixed-bottom {
+ &.u-flex-column{
+ align-items: stretch;
+ }
+}
diff --git a/components/my-components/my-hour-area.vue b/components/my-components/my-hour-area.vue
index 8e846c7..7bb2442 100644
--- a/components/my-components/my-hour-area.vue
+++ b/components/my-components/my-hour-area.vue
@@ -1,97 +1,118 @@
-
-
-
-
-
-
-
- 开始时间
- {{ startValue }}
-
- —
-
- 结束时间
- {{ endValue }}
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ 开始时间
+ {{ startValue }}
+
+ —
+
+ 结束时间
+ {{ endValue }}
+
+
+
+
+
+
+
+
+
diff --git a/components/my-components/my-week-sel.vue b/components/my-components/my-week-sel.vue
index 78ad6d9..28295d0 100644
--- a/components/my-components/my-week-sel.vue
+++ b/components/my-components/my-week-sel.vue
@@ -3,6 +3,7 @@
[],
diff --git a/http/api/market/suggest.js b/http/api/market/suggest.js
index 6068458..92106f7 100644
--- a/http/api/market/suggest.js
+++ b/http/api/market/suggest.js
@@ -31,7 +31,7 @@ export function editSuggest(params) {
}
export function deleteSuggest(params) {
return request({
- url: urlType + `/admin/suggest`,
+ url: urlType + `/admin/suggest?id=${params.id}`,
method: "DELETE",
params: {
...params,
diff --git a/pageMarket/components/choose-goods.vue b/pageMarket/components/choose-goods.vue
new file mode 100644
index 0000000..bbd9da3
--- /dev/null
+++ b/pageMarket/components/choose-goods.vue
@@ -0,0 +1,198 @@
+
+
+
+
+
+ 请选择商品
+ {{ goodsName }}
+
+
+
+
+
+
+
+ {{ title }}
+
+
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+ ¥{{ item.lowPrice }}
+
+
+
+
+ {{ cancelText }}
+ {{ confirmText }}
+
+
+
+
+
+
+
+
diff --git a/pageMarket/distribution/add-fenxiao-user.vue b/pageMarket/distribution/add-fenxiao-user.vue
index 87f9d04..ef76980 100644
--- a/pageMarket/distribution/add-fenxiao-user.vue
+++ b/pageMarket/distribution/add-fenxiao-user.vue
@@ -66,7 +66,7 @@
{{
- item.accountPoints
+ item.consumeCount
}}
diff --git a/pageMarket/distribution/components/fenxiao-mingxi.vue b/pageMarket/distribution/components/fenxiao-mingxi.vue
index 69032bc..8756e6e 100644
--- a/pageMarket/distribution/components/fenxiao-mingxi.vue
+++ b/pageMarket/distribution/components/fenxiao-mingxi.vue
@@ -38,7 +38,7 @@
{{ 0 }}{{ item.rewardAmount }}
{{
item.level == 1 ? "直接分成" : "间接分成"
diff --git a/pageMarket/newUserDiscount/index.vue b/pageMarket/newUserDiscount/index.vue
index e8959bd..9b88fff 100644
--- a/pageMarket/newUserDiscount/index.vue
+++ b/pageMarket/newUserDiscount/index.vue
@@ -53,7 +53,7 @@
class="number-box"
placeholder="请输入内容"
placeholder-class="color-999 u-font-28"
- type="number"
+ type="digit"
v-model="form.discountAmount"
/>
元
@@ -65,13 +65,13 @@
class="u-flex default-box-x-padding default-box-y-padding"
v-if="form.discountType === 'RANDOM'"
>
- 减免方式
- 添加方案
+ 随机减免方案
+ 添加方案
所有概率相加必须等于100%
-
+