Commit 691d8176 authored by Mac's avatar Mac

1

parent 691c2bdd
......@@ -1560,6 +1560,15 @@
arr.push(item);
}
});
arr.forEach(x=>{
x.Id=0;
x.NewSpecList.forEach(j=>{
j.Id = 0
});
x.SpecificationValueList.forEach(j=>{
j.Id = 0
})
});
this.SpecificationList = JSON.parse(
JSON.stringify(this.SpecificationList.concat(arr))
);
......@@ -2130,7 +2139,8 @@
if (this.addMsg.PresentFXGrade == 0) {
this.addMsg.PresentFXGrade = ''
}
if (this.addMsg.MarketingLogo == null) {
if (!this.addMsg.MarketingLogo||this.addMsg.MarketingLogo == null) {
this.addMsg.MarketingLogo = {
iswords: 0,
words: "",
......@@ -2139,7 +2149,13 @@
ico: ""
}
} else {
this.addMsg.MarketingLogo = JSON.parse(this.addMsg.MarketingLogo)
let MarketingLogo = JSON.parse(this.addMsg.MarketingLogo)
let obj=MarketingLogo
this.addMsg.MarketingLogo = obj
// this.addMsg.MarketingLogo = JSON.parse(this.addMsg.MarketingLogo)
console.log(this.addMsg.MarketingLogo)
}
this.getSuggestPrice();
this.getFXDGradeList2();
......
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