Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mall.oytour.com
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄奎
mall.oytour.com
Commits
9a8a9ef6
Commit
9a8a9ef6
authored
Aug 07, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
结算页面 无上级返佣提示
parent
2c16fce5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
RB_Distributor_Basics.cs
Mall.Model/Entity/User/RB_Distributor_Basics.cs
+1
-1
OrderModule.cs
Mall.Module.Product/OrderModule.cs
+12
-0
No files found.
Mall.Model/Entity/User/RB_Distributor_Basics.cs
View file @
9a8a9ef6
...
...
@@ -216,7 +216,7 @@ namespace Mall.Model.Entity.User
/// </summary>
public
int
?
IsEnableFXGrade
{
get
;
set
;
}
/// <summary>
/// 是否启用无上级返佣
/// 是否启用无上级返佣
1是 2否
/// </summary>
public
int
?
IsEnableNoSuperiorFY
{
get
;
set
;
}
}
...
...
Mall.Module.Product/OrderModule.cs
View file @
9a8a9ef6
...
...
@@ -2048,6 +2048,17 @@ namespace Mall.Module.Product
}
}
#
region
提示无上级不返佣
bool
PromptNoSuperiorFY
=
false
;
var
disbaseModel
=
distributor_BasicsRepository
.
GetList
(
new
RB_Distributor_Basics_Extend
()
{
TenantId
=
demodel
.
TenantId
,
MallBaseId
=
demodel
.
MallBaseId
}).
FirstOrDefault
();
if
((
disbaseModel
?.
IsEnableFXGrade
??
2
)
==
1
&&
(
disbaseModel
?.
IsEnableNoSuperiorFY
??
1
)
==
2
)
{
if
((
umodel
.
SuperiorId
??
0
)
==
0
)
{
PromptNoSuperiorFY
=
true
;
}
}
#
endregion
mch_list
.
Add
(
new
{
mch
=
new
...
...
@@ -2059,6 +2070,7 @@ namespace Mall.Module.Product
pinkageList
=
PinkageList
,
express_price
=
TotalExpress
,
remark
=
""
,
promptNoSuperiorFY
=
PromptNoSuperiorFY
,
//order_form_data= [],
total_goods_price
=
TotalGoodsSellMoney
,
total_goods_original_price
=
TotalGoodsOriginalMoney
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment