|
@@ -1134,6 +1134,11 @@ export default {
|
|
|
});
|
|
});
|
|
|
return
|
|
return
|
|
|
} else {
|
|
} else {
|
|
|
|
|
+ if(this.form.sellingTimeType == '3') {
|
|
|
|
|
+ this.form.sellingDay = []
|
|
|
|
|
+ } else if(this.form.sellingTimeType == '2') {
|
|
|
|
|
+ this.form.localProductSellingWeeks = this.localProductSellingWeeks
|
|
|
|
|
+ }
|
|
|
if (this.productId == '') {
|
|
if (this.productId == '') {
|
|
|
this.$http.post("/app/product/add", this.form).then(res => {
|
|
this.$http.post("/app/product/add", this.form).then(res => {
|
|
|
if (res.data.code == 200) {
|
|
if (res.data.code == 200) {
|
|
@@ -1324,7 +1329,7 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
mounted() {
|
|
mounted() {
|
|
|
- this.form.localProductSellingWeeks =this.localProductSellingWeeks
|
|
|
|
|
|
|
+ this.form.localProductSellingWeeks = this.localProductSellingWeeks
|
|
|
this.getProductGroup()
|
|
this.getProductGroup()
|
|
|
this.getLeftTree()
|
|
this.getLeftTree()
|
|
|
this.getForm()
|
|
this.getForm()
|