Commit 9efa48cd authored by 邓春圆's avatar 邓春圆

isCopyProductPriceTemplate 复制商品路线时和价格时为true

parent 3ea59cd3
...@@ -453,7 +453,7 @@ export default { ...@@ -453,7 +453,7 @@ export default {
// this.form.priceLineCount = val.id; // this.form.priceLineCount = val.id;
this.lineNum = val.priceLineCount; this.lineNum = val.priceLineCount;
this.form.productTemplateId = val.id; this.form.productTemplateId = val.id;
this.isCopyProductPriceTemplate = true; this.form.isCopyProductPriceTemplate = true;
copy() copy()
this.open = true; this.open = true;
}).catch(() => { }).catch(() => {
...@@ -462,6 +462,7 @@ export default { ...@@ -462,6 +462,7 @@ export default {
}else { }else {
this.open = true; this.open = true;
copy() copy()
this.form.isCopyProductPriceTemplate = false;
} }
this.$forceUpdate() this.$forceUpdate()
}, },
......
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