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
3d65bbb3
Commit
3d65bbb3
authored
Sep 08, 2025
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
16d0f6b8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
3 deletions
+18
-3
CustomerOrderModule.cs
REBORN.Module.SellModule/CustomerOrderModule.cs
+1
-0
CustomerOrderService.cs
REBORN.Services.SellService/CustomerOrderService.cs
+17
-3
No files found.
REBORN.Module.SellModule/CustomerOrderModule.cs
View file @
3d65bbb3
...
...
@@ -5298,6 +5298,7 @@ namespace REBORN.Module.SellModule
{
nameof
(
RB_CRMTicket_Order_Extend
.
FinalPriceTips
),
demodel
.
FinalPriceTips
},
{
nameof
(
RB_CRMTicket_Order_Extend
.
GuestInfo
),
demodel
.
GuestInfo
},
{
nameof
(
RB_CRMTicket_Order_Extend
.
EnterID
),
demodel
.
EnterID
},
{
nameof
(
RB_CRMTicket_Order_Extend
.
EmpBranchId
),
demodel
.
EmpBranchId
},
};
List
<
WhereHelper
>
wheres
=
new
List
<
WhereHelper
>()
{
new
WhereHelper
(){
...
...
REBORN.Services.SellService/CustomerOrderService.cs
View file @
3d65bbb3
...
...
@@ -3284,7 +3284,7 @@ namespace REBORN.Services.SellService
LossFinishTime
=
x
.
LossFinishTime
.
HasValue
?
x
.
LossFinishTime
.
Value
.
ToString
(
"yyyy-MM-dd HH:mm"
)
:
""
,
DepartTime
=
x
.
DepartTime
.
HasValue
?
x
.
DepartTime
.
Value
.
ToString
(
"yyyy-MM-dd"
)
:
""
,
InvoiceApplyList
=
x
.
InvoiceApplyList
.
Select
(
y
=>
new
{
y
.
ID
,
y
.
ApplyMoney
,
y
.
InvoiceApplyState
}),
ContractNum
=
x
?.
ContractNum
??
new
List
<
RB_Contract_Extend
>(),
//
ContractNum = x?.ContractNum ?? new List<RB_Contract_Extend>(),
x
.
LineId
,
x
.
LineName
,
x
.
OPRemark
,
...
...
@@ -3301,7 +3301,17 @@ namespace REBORN.Services.SellService
// y.PassportNo,
// y.Tel
//}),
x
.
OtherContractList
,
OtherContractList
=
x
.
OtherContractList
?.
Select
(
z
=>
new
{
z
.
ID
,
z
.
T_ContractNum
,
z
.
CType
,
z
.
ContractStatus
,
z
.
ContractTemplete
,
z
.
OrderId
,
z
.
Status
,
z
.
StatusStr
,
z
.
Type
,
}),
ContractType
=
Common
.
Enum
.
ResourceTypeEnum
.
SingleTicket
,
SupplierModel
=
new
{
SupplierId
=
x
?.
SupplierModel
?.
ID
??
0
,
SupplierName
=
x
?.
SupplierModel
?.
Name
??
""
,
Tel
=
x
?.
SupplierModel
?.
Tel
??
""
,
Contact
=
x
?.
SupplierModel
?.
Contact
??
""
,
CompanyName
=
x
?.
SupplierModel
?.
CompanyName
??
""
,
DutyParagraph
=
x
?.
SupplierModel
?.
DutyParagraph
??
""
,
CompanyPhone
=
x
?.
SupplierModel
?.
CompanyPhone
??
""
,
OpeningBank
=
x
?.
SupplierModel
?.
OpeningBank
??
""
,
BankNo
=
x
?.
SupplierModel
?.
BankNo
??
""
},
AppointOPList
=
x
.
AppointOPList
?.
Select
(
z
=>
new
{
z
.
OPId
,
OPName
=
CacheManager
.
User
.
RbUserCache
.
GetUserLoginInfo
(
z
.
OPId
.
ToString
())?.
emName
??
""
}),
...
...
@@ -3687,12 +3697,16 @@ namespace REBORN.Services.SellService
if
(!
appointOPList
.
Any
())
{
return
ApiResult
.
ParamIsNull
(
"请指定OP"
);
}
demodel
.
OrderStatus
=
(
int
)
CRMOrderStatusEnum
.
Normal
;
//默认正常订单
demodel
.
EmpBranchId
=
userInfo
.
RB_Branch_id
;
if
(
demodel
.
EnterID
<=
0
)
{
demodel
.
EnterID
=
userInfo
.
EmployeeId
;
//可以设置销售
}
else
{
//查询一下 公司别
demodel
.
EmpBranchId
=
CacheManager
.
User
.
RbUserCache
.
GetUserLoginInfo
(
demodel
.
EnterID
.
ToString
())?.
RB_Branch_id
;
}
demodel
.
CreateBy
=
userInfo
.
EmployeeId
;
demodel
.
EmpBranchId
=
userInfo
.
RB_Branch_id
;
demodel
.
CreateTime
=
DateTime
.
Now
;
string
msg
=
customerOrderModule
.
SetGuestOrderInfo
(
demodel
,
travelGuestList
,
supplierModel
,
clientBankAccountList
,
appointOPList
,
userInfo
);
...
...
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