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
67c6db1c
Commit
67c6db1c
authored
Sep 22, 2020
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交代码
parent
b7f688fd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
7 deletions
+13
-7
GuideCarModule.cs
Mall.Module.Product/GuideCarModule.cs
+4
-1
OrderController.cs
Mall.WebApi/Controllers/Product/OrderController.cs
+1
-0
SupplierController.cs
Mall.WebApi/Controllers/User/SupplierController.cs
+8
-6
No files found.
Mall.Module.Product/GuideCarModule.cs
View file @
67c6db1c
...
@@ -3909,7 +3909,10 @@ namespace Mall.Module.Product
...
@@ -3909,7 +3909,10 @@ namespace Mall.Module.Product
x
.
GuideWorkYears
,
x
.
GuideWorkYears
,
x
.
CarId
,
x
.
CarId
,
x
.
GuideId
,
x
.
GuideId
,
x
.
OrderId
x
.
OrderId
,
x
.
InsuranceMoney
,
x
.
IntegralNumber
,
x
.
IntegralMoney
}),
}),
model
.
IsApplyForCancel
,
model
.
IsApplyForCancel
,
model
.
RejectRemark
,
model
.
RejectRemark
,
...
...
Mall.WebApi/Controllers/Product/OrderController.cs
View file @
67c6db1c
...
@@ -3434,6 +3434,7 @@ namespace Mall.WebApi.Controllers.MallBase
...
@@ -3434,6 +3434,7 @@ namespace Mall.WebApi.Controllers.MallBase
x
.
PlatformSource
,
x
.
PlatformSource
,
x
.
TenantId
,
x
.
TenantId
,
x
.
MallBaseId
,
x
.
MallBaseId
,
x
.
OrderDetailId
,
CreateDate
=
x
.
CreateDate
.
HasValue
?
x
.
CreateDate
.
Value
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)
:
""
CreateDate
=
x
.
CreateDate
.
HasValue
?
x
.
CreateDate
.
Value
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)
:
""
});
});
return
ApiResult
.
Success
(
""
,
pagelist
);
return
ApiResult
.
Success
(
""
,
pagelist
);
...
...
Mall.WebApi/Controllers/User/SupplierController.cs
View file @
67c6db1c
...
@@ -243,7 +243,9 @@ namespace Mall.WebApi.Controllers.User
...
@@ -243,7 +243,9 @@ namespace Mall.WebApi.Controllers.User
x
.
CostFinanceId
,
x
.
CostFinanceId
,
x
.
FreightFinanceId
,
x
.
FreightFinanceId
,
x
.
Id
,
x
.
Id
,
x
.
OrderId
x
.
OrderId
,
x
.
InsuranceCostMoney
,
x
.
InsuranceFinanceId
});
});
return
ApiResult
.
Success
(
""
,
pagelist
);
return
ApiResult
.
Success
(
""
,
pagelist
);
}
}
...
@@ -347,16 +349,16 @@ namespace Mall.WebApi.Controllers.User
...
@@ -347,16 +349,16 @@ namespace Mall.WebApi.Controllers.User
{
{
FinanceType
=
3
,
FinanceType
=
3
,
Final_Price
=
orderGoodsItem
.
Final_Price
,
Final_Price
=
orderGoodsItem
.
Final_Price
,
Number
=
1
,
Number
=
orderGoodsItem
.
Number
,
FreightMoney
=
orderGoodsItem
.
FreightMoney
,
FreightMoney
=
orderGoodsItem
.
FreightMoney
,
GoodsName
=
orderGoodsItem
.
GoodsName
,
GoodsName
=
orderGoodsItem
.
GoodsName
,
OrderNo
=
orderGoodsItem
.
OrderNo
,
OrderNo
=
orderGoodsItem
.
OrderNo
,
Id
=
orderGoodsItem
.
Id
,
Id
=
orderGoodsItem
.
Id
,
CostMoney
=
orderGoodsItem
.
CostMoney
,
CostMoney
=
orderGoodsItem
.
CostMoney
,
FreightCostMoney
=
orderGoodsItem
.
FreightCostMoney
,
FreightCostMoney
=
orderGoodsItem
.
FreightCostMoney
,
InsuranceCostMoney
=
orderGoodsItem
.
InsuranceCostMoney
InsuranceCostMoney
=
((
orderGoodsItem
.
InsuranceCostMoney
??
0
)
/
(
orderGoodsItem
.
Number
??
1
))
};
};
OrderDetailPaid
+=
(
(
orderGoodsItem
.
InsuranceCostMoney
??
0
)
*
(
orderGoodsItem
.
Number
??
0
)
);
OrderDetailPaid
+=
(
orderGoodsItem
.
InsuranceCostMoney
??
0
);
result
.
Add
(
newOrderGoods
);
result
.
Add
(
newOrderGoods
);
}
}
}
}
...
@@ -380,7 +382,7 @@ namespace Mall.WebApi.Controllers.User
...
@@ -380,7 +382,7 @@ namespace Mall.WebApi.Controllers.User
Unit_Price
=
orderGoodsItem
.
CostMoney
,
Unit_Price
=
orderGoodsItem
.
CostMoney
,
Number
=
orderGoodsItem
.
Number
,
Number
=
orderGoodsItem
.
Number
,
OrderDetailPaid
=
OrderDetailPaid
,
OrderDetailPaid
=
OrderDetailPaid
,
InsuranceCostMoney
=
(
(
orderGoodsItem
.
InsuranceCostMoney
??
0
)
*
(
orderGoodsItem
.
Number
??
0
)
),
InsuranceCostMoney
=
(
orderGoodsItem
.
InsuranceCostMoney
??
0
),
};
};
record
.
RecordDetailList
.
Add
(
financeRecordDetail
);
record
.
RecordDetailList
.
Add
(
financeRecordDetail
);
...
@@ -423,7 +425,7 @@ namespace Mall.WebApi.Controllers.User
...
@@ -423,7 +425,7 @@ namespace Mall.WebApi.Controllers.User
}
}
else
if
(
demodel
.
IsSelectAll
==
3
)
else
if
(
demodel
.
IsSelectAll
==
3
)
{
{
totalMonry
=
result
.
Where
(
x
=>
x
.
FinanceType
==
2
).
Sum
(
x
=>
((
x
.
InsuranceCostMoney
??
0
)
*
(
x
.
Number
??
0
)));
totalMonry
=
result
.
Where
(
x
=>
x
.
FinanceType
==
3
).
Sum
(
x
=>
((
x
.
InsuranceCostMoney
??
0
)
*
(
x
.
Number
??
0
)));
}
}
var
financeObj
=
new
var
financeObj
=
new
{
{
...
...
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