Commit 0ba0fb6a authored by 黄奎's avatar 黄奎

页面修改

parent 8afaa5ed
......@@ -1915,7 +1915,7 @@
this.addMsg.MarketingLogo.wordsColor = '';
this.addMsg.MarketingLogo.wordsBack = '';
}
this.addMsg.MarketingLogo = JSON.stringify(this.addMsg.MarketingLogo);
this.apipost("/api/product/SetProductGoodsInfo", this.addMsg, res => {
if (res.data.resultCode == 1) {
this.Success(res.data.message);
......@@ -2202,32 +2202,6 @@
if (this.addMsg.PresentFXGrade == 0) {
this.addMsg.PresentFXGrade = ''
}
if (this.addMsg.MarketingLogo) {
try {
let MarketingLogo = JSON.parse(this.addMsg.MarketingLogo)
let obj = MarketingLogo
this.addMsg.MarketingLogo = obj
} catch (err) {
this.addMsg.MarketingLogo = {
iswords: 0,
words: "",
wordsColor: "",
wordsBack: "",
ico: ""
}
}
} else {
this.addMsg.MarketingLogo = {
iswords: 0,
words: "",
wordsColor: "",
wordsBack: "",
ico: ""
}
}
this.getSuggestPrice();
this.getFXDGradeList2();
this.getTree();
......
......@@ -1847,7 +1847,7 @@
this.addMsg.MarketingLogo.wordsColor = '';
this.addMsg.MarketingLogo.wordsBack = '';
}
this.addMsg.MarketingLogo = JSON.stringify(this.addMsg.MarketingLogo)
//没有开启线上付款
if (!this.IsOfflinePay) {
this.addMsg.DepositMoney = 0;
......@@ -2072,6 +2072,7 @@
res => {
if (res.data.resultCode == 1) {
this.addMsg = res.data.data;
console.log("this.addMsg",this.addMsg);
if (!this.$route.query.GoodsId) {
this.addMsg.Id = 0
}
......@@ -2126,29 +2127,7 @@
if (this.addMsg.PresentFXGrade == 0) {
this.addMsg.PresentFXGrade = ''
}
if (this.addMsg.MarketingLogo) {
try {
let MarketingLogo = JSON.parse(this.addMsg.MarketingLogo)
let obj = MarketingLogo
this.addMsg.MarketingLogo = obj
} catch (err) {
this.addMsg.MarketingLogo = {
iswords: 0,
words: "",
wordsColor: "",
wordsBack: "",
ico: ""
}
}
} else {
this.addMsg.MarketingLogo = {
iswords: 0,
words: "",
wordsColor: "",
wordsBack: "",
ico: ""
}
}
this.getSuggestPrice();
this.getFXDGradeList2();
this.getTree();
......
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