Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
huatu_API
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
liudong1993
huatu_API
Commits
c8687e04
Commit
c8687e04
authored
Aug 20, 2025
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
a7946a22
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
23 deletions
+26
-23
SellOrderService.cs
REBORN.Services.SellService/SellOrderService.cs
+26
-23
No files found.
REBORN.Services.SellService/SellOrderService.cs
View file @
c8687e04
...
...
@@ -5000,7 +5000,6 @@ namespace REBORN.Services.SellService
}
else
{
https
:
//servicewechat.com/wx76f943d5111a0e76/70/image/yunfuyoukang/bg_top1.png
userInfo
=
CacheManager
.
User
.
RbUserCache
.
GetUserLoginInfo
(
request
.
uid
);
}
if
(
userInfo
.
SimpleEasy
==
0
)
...
...
@@ -6610,7 +6609,11 @@ namespace REBORN.Services.SellService
RB_Group_id
=
userInfo
.
RB_Group_id
,
RB_Department_Id
=
userInfo
.
RB_Department_Id
,
};
var
addSupplier
=
supplierModule
.
Set
(
supplierModel
,
out
int
supplierId
);
int
supplierId
=
-
1
;
if
(!
string
.
IsNullOrWhiteSpace
(
supplierModel
.
Name
)
&&
!
string
.
IsNullOrWhiteSpace
(
supplierModel
.
Contact
)
&&
!
string
.
IsNullOrWhiteSpace
(
supplierModel
.
Tel
))
{
var
addSupplier
=
supplierModule
.
Set
(
supplierModel
,
out
supplierId
);
}
newpriceModel
.
YSeat
=
(
dmodel
.
GuestNum
??
0
)
-
(
dmodel
.
BabyNum
??
0
);
newpriceModel
.
SupplierId
=
supplierId
;
newpriceModel
.
WordPath
=
dmodel
.
WordPath
;
...
...
@@ -6662,29 +6665,29 @@ namespace REBORN.Services.SellService
decimal
Commission
=
Math
.
Round
((
dmodel
.
PreferPrice
??
0
)
*
Convert
.
ToDecimal
(
0.01
)
+
ExtraCommission
,
2
,
MidpointRounding
.
AwayFromZero
);
#
region
组装团信息
//供应商信息(供应商名称、联系人、联系电话是必须的,营业执照号、开户信息非必填))
int
supplierId
=
parms
.
GetInt
(
"supplierId"
);
if
(
supplierId
!=
-
1
)
{
RB_Supplier
supplierModel
=
new
RB_Supplier
//供应商id
{
ID
=
parms
.
GetInt
(
"SupplierId"
),
Tel
=
parms
.
GetStringValue
(
"Tel"
),
//联系人电话
Contact
=
parms
.
GetStringValue
(
"Contact"
),
Name
=
parms
.
GetStringValue
(
"SupplierName"
),
Status
=
Common
.
Enum
.
DateStateEnum
.
Normal
,
Type
=
Common
.
Enum
.
ResourceTypeEnum
.
TeamPrice
,
CompanyName
=
parms
.
GetStringValue
(
"CompanyName"
),
//公司名称
DutyParagraph
=
parms
.
GetStringValue
(
"DutyParagraph"
),
//营业执照号
CompanyPhone
=
parms
.
GetStringValue
(
"CompanyPhone"
),
//电话
OpeningBank
=
parms
.
GetStringValue
(
"OpeningBank"
),
//开户行
BankNo
=
parms
.
GetStringValue
(
"BankNo"
),
//开户账号
RB_Branch_id
=
userInfo
.
RB_Branch_id
,
RB_Group_id
=
userInfo
.
RB_Group_id
,
RB_Department_Id
=
userInfo
.
RB_Department_Id
,
};
RB_Supplier
supplierModel
=
new
RB_Supplier
//供应商id
{
ID
=
parms
.
GetInt
(
"SupplierId"
),
Tel
=
parms
.
GetStringValue
(
"Tel"
),
//联系人电话
Contact
=
parms
.
GetStringValue
(
"Contact"
),
Name
=
parms
.
GetStringValue
(
"SupplierName"
),
Status
=
Common
.
Enum
.
DateStateEnum
.
Normal
,
Type
=
Common
.
Enum
.
ResourceTypeEnum
.
TeamPrice
,
CompanyName
=
parms
.
GetStringValue
(
"CompanyName"
),
//公司名称
DutyParagraph
=
parms
.
GetStringValue
(
"DutyParagraph"
),
//营业执照号
CompanyPhone
=
parms
.
GetStringValue
(
"CompanyPhone"
),
//电话
OpeningBank
=
parms
.
GetStringValue
(
"OpeningBank"
),
//开户行
BankNo
=
parms
.
GetStringValue
(
"BankNo"
),
//开户账号
RB_Branch_id
=
userInfo
.
RB_Branch_id
,
RB_Group_id
=
userInfo
.
RB_Group_id
,
RB_Department_Id
=
userInfo
.
RB_Department_Id
,
};
int
supplierId
=
-
1
;
if
(!
string
.
IsNullOrWhiteSpace
(
supplierModel
.
Name
)
&&
!
string
.
IsNullOrWhiteSpace
(
supplierModel
.
Contact
)
&&
!
string
.
IsNullOrWhiteSpace
(
supplierModel
.
Tel
))
{
var
addSupplier
=
supplierModule
.
Set
(
supplierModel
,
out
supplierId
);
}
RB_Travel_Config_Extend
modelConfig
=
new
RB_Travel_Config_Extend
{
ArriveCityId
=
0
,
...
...
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