Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Property
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
Property
Commits
94929c57
Commit
94929c57
authored
Oct 26, 2022
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
9a4fb1de
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
RB_Supplies_Inventory.cs
Property.Model/Entity/Supplies/RB_Supplies_Inventory.cs
+5
-0
SuppliesController.cs
Property.WebApi/Controllers/Property/SuppliesController.cs
+1
-0
No files found.
Property.Model/Entity/Supplies/RB_Supplies_Inventory.cs
View file @
94929c57
...
...
@@ -105,5 +105,10 @@ namespace Property.Model.Entity
get
;
set
;
}
/// <summary>
/// 账面单价 用于展示 不做计算的
/// </summary>
public
decimal
ShowUnit_Price
{
get
;
set
;
}
}
}
\ No newline at end of file
Property.WebApi/Controllers/Property/SuppliesController.cs
View file @
94929c57
...
...
@@ -978,6 +978,7 @@ namespace Property.WebApi.Controllers.User
x
.
Id
,
x
.
Number
,
x
.
Money
,
x
.
ShowUnit_Price
,
UnitPrice
=
x
.
Number
==
0
?
0
:
Math
.
Round
((
x
.
Money
??
0
)
/
(
x
.
Number
??
1
),
2
,
MidpointRounding
.
AwayFromZero
),
SuppliesName
=
x
.
SModel
.
Name
,
x
.
SuppliesId
,
...
...
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