|
@@ -435,7 +435,7 @@ export default {
|
|
|
const _this = this
|
|
|
const res = await shopPromoDetail(ajaxData)
|
|
|
if (res.status == 200) {
|
|
|
- _this.form = res.data
|
|
|
+ _this.form = { ..._this.form, ...res.data }
|
|
|
_this.form.productNum = 0
|
|
|
if (_this.$route.params.pageType === 'edit') {
|
|
|
_this.pageType = res.data.promoType
|
|
@@ -498,7 +498,6 @@ export default {
|
|
|
delete formData.productNum
|
|
|
_this.spinning = true
|
|
|
formData.saveType = 'all'
|
|
|
- formData.validScope = '1'
|
|
|
saveShopPromo(formData).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
_this.spinning = false
|