Commit 28c6c23e by wangql

修改线上BUG

1 parent 8d5ffa18
......@@ -249,7 +249,7 @@ export default {
this.title = '编辑'
}
this.editFormData[0].isDisabled = true
this.editFormData[5].isDisabled = true
this.editFormData[7].isDisabled = true
} else {
this.apear = 'couponAdd'
this.title = '创建'
......@@ -438,6 +438,7 @@ export default {
getInfo() {
this.$apis.couponManage.getCouponDetailApi({ couponId: this.routeInfo.id }).then(res => {
this.editForm = this.$common.utils.deepClone(res)
this.editForm.effectiveTime = []
this.editForm.useChannel = this.editForm.useChannel + ''
this.editForm.effectiveType = this.editForm.effectiveType + ''
this.editForm.useBarriers = this.editForm.useBarriers + ''
......
......@@ -109,7 +109,9 @@ export default {
couponTime: '',
editForm: {
couponName: '',
effectiveType: '2'
effectiveType: '2',
effectiveTime: [],
effectiveDays: ''
},
editRule: {
couponName: [{ required: true, message: '请输入优惠券名称', trigger: 'change' }],
......
......@@ -88,7 +88,9 @@ export default {
couponTime: '',
editForm: {
couponName: '',
effectiveType: '2'
effectiveType: '2',
effectiveTime: [],
effectiveDays: ''
},
editRule: {
couponName: [{ required: true, message: '请输入优惠券名称', trigger: 'change' }],
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!