Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
PropertyEdu
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
PropertyEdu
Commits
390a792c
Commit
390a792c
authored
Apr 18, 2022
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
e979619b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
4 deletions
+21
-4
RB_Supplies_StockOutApplyFor.cs
...rty.Model/Entity/Supplies/RB_Supplies_StockOutApplyFor.cs
+1
-1
SuppliesModule.cs
Property.Modele.FixedAssets/SuppliesModule.cs
+3
-2
SuppliesController.cs
Property.WebApi/Controllers/Property/SuppliesController.cs
+17
-1
No files found.
Property.Model/Entity/Supplies/RB_Supplies_StockOutApplyFor.cs
View file @
390a792c
...
@@ -93,7 +93,7 @@ namespace Property.Model.Entity
...
@@ -93,7 +93,7 @@ namespace Property.Model.Entity
public
DateTime
?
AuditDate
{
get
;
set
;
}
public
DateTime
?
AuditDate
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 类型 1主营业务 2其他业务
/// 类型 1主营业务 2其他业务
3约课订单
/// </summary>
/// </summary>
public
int
Type
{
get
;
set
;
}
public
int
Type
{
get
;
set
;
}
...
...
Property.Modele.FixedAssets/SuppliesModule.cs
View file @
390a792c
...
@@ -5762,7 +5762,7 @@ namespace Property.Module.FixedAssets
...
@@ -5762,7 +5762,7 @@ namespace Property.Module.FixedAssets
if
(
oldModel
.
StockOutStatus
==
3
)
{
return
"已出库完毕"
;
}
if
(
oldModel
.
StockOutStatus
==
3
)
{
return
"已出库完毕"
;
}
RB_Finance_Config_ViewModel
configModel
=
null
;
RB_Finance_Config_ViewModel
configModel
=
null
;
if
(
oldModel
.
Type
==
1
)
{
if
(
oldModel
.
Type
==
1
||
oldModel
.
Type
==
3
)
{
configModel
=
finance_ConfigRepository
.
GetList
(
new
RB_Finance_Config_ViewModel
()
{
Group_Id
=
userInfo
.
RB_Group_id
,
Type
=
FinanceConfigTypeEnum
.
SuppliesStockOut
}).
FirstOrDefault
();
configModel
=
finance_ConfigRepository
.
GetList
(
new
RB_Finance_Config_ViewModel
()
{
Group_Id
=
userInfo
.
RB_Group_id
,
Type
=
FinanceConfigTypeEnum
.
SuppliesStockOut
}).
FirstOrDefault
();
}
}
else
{
else
{
...
@@ -6004,7 +6004,8 @@ namespace Property.Module.FixedAssets
...
@@ -6004,7 +6004,8 @@ namespace Property.Module.FixedAssets
RB_Depart_Id
=
userInfo
.
RB_Department_Id
,
RB_Depart_Id
=
userInfo
.
RB_Department_Id
,
ReFinanceId
=
StockOutId
,
ReFinanceId
=
StockOutId
,
ReFinanceId2
=
demodel
.
Id
,
ReFinanceId2
=
demodel
.
Id
,
TCIDList
=
classId
>
0
?
new
List
<
int
>()
{
classId
}
:
new
List
<
int
>(),
OrderID
=
oldModel
.
Type
==
3
?
classId
:
0
,
TCIDList
=
oldModel
.
Type
==
3
?
new
List
<
int
>
{
Convert
.
ToInt32
(
dmodel
.
CourseName
)
}
:
classId
>
0
?
new
List
<
int
>()
{
classId
}
:
new
List
<
int
>(),
FinanceType
=
2
,
FinanceType
=
2
,
RB_Group_Id
=
userInfo
.
RB_Group_id
,
RB_Group_Id
=
userInfo
.
RB_Group_id
,
RB_CreateByName
=
userInfo
.
emName
,
RB_CreateByName
=
userInfo
.
emName
,
...
...
Property.WebApi/Controllers/Property/SuppliesController.cs
View file @
390a792c
...
@@ -3839,7 +3839,23 @@ namespace Property.WebApi.Controllers.User
...
@@ -3839,7 +3839,23 @@ namespace Property.WebApi.Controllers.User
return
ApiResult
.
ParamIsNull
(
"请传递课程名称"
);
return
ApiResult
.
ParamIsNull
(
"请传递课程名称"
);
}
}
}
}
else
{
else
if
(
demodel
.
Type
==
3
)
{
if
(
item
.
ClassId
<=
0
)
{
return
ApiResult
.
ParamIsNull
(
"请传递关联订单ID"
);
}
if
(
string
.
IsNullOrEmpty
(
item
.
ClassName
))
{
return
ApiResult
.
ParamIsNull
(
"请传递订单关联班级信息"
);
}
if
(
string
.
IsNullOrEmpty
(
item
.
CourseName
))
{
return
ApiResult
.
ParamIsNull
(
"请传递班级classId"
);
}
item
.
ClassName
=
"相关订单:"
+
item
.
ClassId
+
" "
+
item
.
ClassName
;
}
else
{
item
.
ClassId
=
0
;
item
.
ClassId
=
0
;
item
.
ClassName
=
""
;
item
.
ClassName
=
""
;
item
.
CourseName
=
""
;
item
.
CourseName
=
""
;
...
...
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