Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DataCenter_Core2.1_20190520
Overview
Overview
Details
Activity
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
bltdc
DataCenter_Core2.1_20190520
Commits
c149e1f3
Commit
c149e1f3
authored
Oct 17, 2019
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新订单流水
parent
fc6dc59f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
115 additions
and
1 deletion
+115
-1
mStockSellStorage.cs
Bailun.DC.Models/mStockSellStorage.cs
+62
-0
InventoryServices.cs
Bailun.DC.Services/InventoryServices.cs
+12
-0
InventoryController.cs
...n.DC.Web/Areas/Reports/Controllers/InventoryController.cs
+40
-0
ListOrder.cshtml
Bailun.DC.Web/Areas/Reports/Views/Orders/ListOrder.cshtml
+1
-1
No files found.
Bailun.DC.Models/mStockSellStorage.cs
0 → 100644
View file @
c149e1f3
using
System
;
using
System.Collections.Generic
;
using
System.Text
;
namespace
Bailun.DC.Models
{
/// <summary>
/// 进销存报表
/// </summary>
public
class
mStockSellStorage
{
/// <summary>
/// sku编码
/// </summary>
public
string
bailun_sku
{
get
;
set
;
}
/// <summary>
/// 仓库编码
/// </summary>
public
string
warehouse_code
{
get
;
set
;
}
/// <summary>
/// 仓库名称
/// </summary>
public
string
warehouse_name
{
get
;
set
;
}
/// <summary>
/// 期初库存
/// </summary>
public
decimal
?
prestock
{
get
;
set
;
}
/// <summary>
/// 期末库存
/// </summary>
public
decimal
?
endstock
{
get
;
set
;
}
/// <summary>
/// 期初在途数
/// </summary>
public
decimal
?
pretrans
{
get
;
set
;
}
/// <summary>
/// 期末在途数
/// </summary>
public
decimal
?
endtrans
{
get
;
set
;
}
/// <summary>
/// 差异库存(期初-期末)
/// </summary>
public
decimal
?
diffstock
{
get
;
set
;
}
/// <summary>
/// 差异在途数(期初-期末)
/// </summary>
public
decimal
?
difftrans
{
get
;
set
;
}
/// <summary>
/// 采购价
/// </summary>
public
decimal
unit_price
{
get
;
set
;
}
}
}
Bailun.DC.Services/InventoryServices.cs
View file @
c149e1f3
...
...
@@ -1136,6 +1136,18 @@ namespace Bailun.DC.Services
#
endregion
#
region
进销存
public
List
<
mStockSellStorage
>
ListStockSellWarehouse
(
BtTableParameter
parameter
,
string
warehousetype
,
string
warehouse
,
DateTime
start
,
DateTime
end
,
ref
int
total
)
{
var
sql
=
""
;
return
new
List
<
mStockSellStorage
>();
}
#
endregion
}
}
Bailun.DC.Web/Areas/Reports/Controllers/InventoryController.cs
View file @
c149e1f3
...
...
@@ -607,6 +607,45 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
#
endregion
#
region
进销存报表
/// <summary>
/// 仓库进销存
/// </summary>
/// <returns></returns>
public
ActionResult
StockSellWarehouse
()
{
return
View
();
}
/// <summary>
/// 仓库进销存Json
/// </summary>
/// <param name="parameter">分页信息</param>
/// <param name="warehousetype">仓库类型</param>
/// <param name="warehouse">仓库编码</param>
/// <param name="start">期初时间</param>
/// <param name="end">期末时间</param>
/// <returns></returns>
public
string
StockSellWarehouseJson
(
Models
.
BtTableParameter
parameter
,
string
warehousetype
,
string
warehouse
,
DateTime
start
,
DateTime
end
)
{
var
total
=
0
;
//var obj = new Services.InventoryServices().
return
""
;
}
/// <summary>
/// Sku进销存报表
/// </summary>
/// <returns></returns>
public
ActionResult
StockSellSku
()
{
return
View
();
}
#
endregion
}
}
\ No newline at end of file
Bailun.DC.Web/Areas/Reports/Views/Orders/ListOrder.cshtml
View file @
c149e1f3
...
...
@@ -122,7 +122,7 @@
{ field: 'bailun_order_status', title: '订单状态', width: '100', sortable: true },
{ field: 'bailun_payment_status', title: '付款状态', width: '100', sortable: true },
{ field: 'bailun_shipping_status', title: '发货状态', width: '110', sortable: true },
{ field: 'order_currency', title: '币种', width: '80', sortable: true },
//
{ field: 'order_currency', title: '币种', width: '80', sortable: true },
{ field: 'amount_sales', title: '订单销售额', width: '120', sortable: true, iscount: true },
{ field: 'amount_shipping', title: '运费收入', width: '80', sortable: true, iscount: true },
{ field: 'amount_product', title: '商品金额', width: '100', sortable: true, iscount: true },
...
...
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