Commit f3e396fa authored by 罗超's avatar 罗超

1

parent aa3f5e32
......@@ -806,24 +806,36 @@ export default {
(res) => {
if (res.data.resultCode == 1) {
this.addMsg = res.data.data;
let obj={
if(this.addMsg.ConditionPriceList.length===0){
this.addMsg.ConditionPriceList.push({
title: "",
Dec: ""
}
if(this.addMsg.ConditionPriceList.length===0){
this.addMsg.ConditionPriceList.push(obj)
})
}
if(this.addMsg.OtherDescList.length===0){
this.addMsg.OtherDescList.push(obj)
this.addMsg.OtherDescList.push({
title: "",
Dec: ""
})
}
if(this.addMsg.PriceInstructionsList.length===0){
this.addMsg.PriceInstructionsList.push(obj)
this.addMsg.PriceInstructionsList.push({
title: "",
Dec: ""
})
}
if(this.addMsg.ReturnPriceList.length===0){
this.addMsg.ReturnPriceList.push(obj)
this.addMsg.ReturnPriceList.push({
title: "",
Dec: ""
})
}
if(this.addMsg.UseInstructionsList.length===0){
this.addMsg.UseInstructionsList.push(obj)
this.addMsg.UseInstructionsList.push({
title: "",
Dec: ""
})
}
} else {
this.Error(res.data.message);
......
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