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
d4285fe1
Commit
d4285fe1
authored
Mar 24, 2020
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整产品类型和来源
parent
ff954139
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
13 deletions
+33
-13
dc_base_sku.cs
Bailun.DC.Models/Sku/dc_base_sku.cs
+6
-10
OrdersController.cs
Bailun.DC.Web/Areas/Reports/Controllers/OrdersController.cs
+25
-2
PlatformProfitCount.cshtml
...Web/Areas/Reports/Views/Orders/PlatformProfitCount.cshtml
+2
-1
No files found.
Bailun.DC.Models/Sku/dc_base_sku.cs
View file @
d4285fe1
...
@@ -15,15 +15,11 @@ namespace Bailun.DC.Models
...
@@ -15,15 +15,11 @@ namespace Bailun.DC.Models
public
enum
SkuSource
public
enum
SkuSource
{
{
未设置
=
0
,
未设置
=
0
,
线上
=
1
,
精准开发
=
1
,
线下
=
2
,
线下其他
=
2
,
美容线下
=
3
,
线下美容
=
3
,
线下供应商推荐
=
4
,
普货供应商推荐
=
6
,
登宇服装
=
5
,
服务供应商推荐
=
7
,
线上供应商
=
6
,
无库供应商推荐
=
11
服装
=
7
,
万邑通分销
=
9
,
托尼斯
=
10
,
无库供应商
=
11
}
}
}
}
Bailun.DC.Web/Areas/Reports/Controllers/OrdersController.cs
View file @
d4285fe1
...
@@ -1532,9 +1532,32 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
...
@@ -1532,9 +1532,32 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
{
{
var
_skuService
=
new
Services
.
SkuInfoServices
();
var
_skuService
=
new
Services
.
SkuInfoServices
();
ViewBag
.
listSkuType
=
_skuService
.
ListSkuProductType
().
Where
(
a
=>!
string
.
IsNullOrEmpty
(
a
.
product_type_desc
)).
ToList
();
var
listProductType
=
_skuService
.
ListSkuProductType
().
Where
(
a
=>!
string
.
IsNullOrEmpty
(
a
.
product_type_desc
)).
ToList
();
int
index
=
-
1
;
var
list
=
new
List
<
Models
.
Sku
.
mSku_ProductType
>();
foreach
(
var
item
in
listProductType
)
{
if
(
item
.
product_type
==
5
||
item
.
product_type
==
13
)
{
if
(
index
!=
-
1
)
{
list
.
Insert
(
index
,
item
);
}
else
{
index
=
listProductType
.
IndexOf
(
item
);
list
.
Add
(
item
);
}
}
else
{
list
.
Add
(
item
);
}
}
ViewBag
.
listSource
=
_skuService
.
ListSkuSource
();
ViewBag
.
listSkuType
=
list
;
ViewBag
.
listSource
=
_skuService
.
ListSkuSource
().
Where
(
a
=>
a
==
1
||
a
==
3
||
a
==
6
||
a
==
7
).
ToList
();
//精准开发,线下美容,普货供应商推荐,服务供应商推荐
return
View
();
return
View
();
...
...
Bailun.DC.Web/Areas/Reports/Views/Orders/PlatformProfitCount.cshtml
View file @
d4285fe1
...
@@ -88,7 +88,8 @@
...
@@ -88,7 +88,8 @@
<option value="">选择发货策略</option>
<option value="">选择发货策略</option>
<option value="1">专线</option>
<option value="1">专线</option>
<option value="2">中国发货</option>
<option value="2">中国发货</option>
<option value="3">美国仓</option>
<option value="3">海外仓</option>
<option value="4">FBA仓</option>
</select>
</select>
</div>
</div>
...
...
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