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

页面修改

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