|
@@ -54,7 +54,7 @@
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="客户电话" prop="userMobile">
|
|
|
- <el-input type="number" :disabled="formType!=0" v-model="formData.userMobile" placeholder="请输入"></el-input>
|
|
|
+ <el-input type="text" :disabled="formType!=0" :maxlength="11" v-model="formData.userMobile" placeholder="请输入"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
@@ -228,6 +228,7 @@
|
|
|
}
|
|
|
if(this.activeId){
|
|
|
this.formData.active = {id: this.activeId}
|
|
|
+ this.formData.promotionActivityId = this.activeId
|
|
|
this.getActiveDetail(this.activeId)
|
|
|
}
|
|
|
this.getActiveList()
|
|
@@ -255,7 +256,6 @@
|
|
|
getActiveDetail(id,items){
|
|
|
getActiveDetail({id}).then(res => {
|
|
|
this.formData.activeDate = [res.data.startTime,res.data.endTime]
|
|
|
- this.formData.promotionActivityId = res.data.promotionQuestionnaireId
|
|
|
res.data.promotionQuestionnaireItems.forEach((item,index)=>{
|
|
|
item.answer = JSON.parse(item.answer)
|
|
|
if(items){
|