Commit ad9310e0 authored by 黄媛媛's avatar 黄媛媛

根据编号获取详情没有分销数组bug

parent 15cb5448
......@@ -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>
......
......@@ -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() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment