Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
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
黄媛媛
ElectricitySheep
Commits
ad9310e0
Commit
ad9310e0
authored
Jul 06, 2020
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
根据编号获取详情没有分销数组bug
parent
15cb5448
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
44 deletions
+50
-44
goodsList.vue
src/components/CommodityMan/goodsList.vue
+1
-1
goodsListEdit.vue
src/components/CommodityMan/goodsListEdit.vue
+49
-43
No files found.
src/components/CommodityMan/goodsList.vue
View file @
ad9310e0
...
...
@@ -154,7 +154,7 @@
width=
"120"
>
<
template
slot=
"header"
slot-scope=
"scope"
>
<
template
slot=
"header"
>
已出售量
<el-tooltip
effect=
"dark"
content=
"已出售量=实际销量+虚拟销量,按实际销量排序"
placement=
"top"
>
<i
class=
"el-icon-info"
></i>
...
...
src/components/CommodityMan/goodsListEdit.vue
View file @
ad9310e0
...
...
@@ -1857,6 +1857,7 @@
GoodsId
:
this
.
GoodsId
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
addMsg
=
res
.
data
.
data
;
if
(
this
.
addMsg
.
SupplierId
!=
0
)
{
this
.
SupplierId
=
this
.
addMsg
.
SupplierId
;
...
...
@@ -1875,6 +1876,9 @@
this
.
SpecificationPriceList
=
this
.
addMsg
.
SpecificationPriceList
;
this
.
ComTreeList
=
this
.
addMsg
.
DistributionCommissionTreeList
;
this
.
SpecificationList
=
this
.
addMsg
.
SpecificationList
;
if
(
this
.
SpecificationList
.
length
>
0
){
//根据编码来的详情 重新调用这个方法 否则分销详情设置没有数据
this
.
getDistributor
()
}
if
(
this
.
addMsg
.
SeparateDistributionType
==
1
)
{
this
.
disList1
=
this
.
addMsg
.
DistributionCommissionTreeList
;
if
(
this
.
addMsg
.
DistributionCommissionTreeList
.
length
>
0
)
{
...
...
@@ -1903,6 +1907,8 @@
}
this
.
getSuggestPrice
();
}
}
);
},
getSuggestPrice
()
{
...
...
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