|  |  |  | 
|---|
|  |  |  | 有效期包含选择日期 | 
|---|
|  |  |  | </el-form-item> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="tip-line"> | 
|---|
|  |  |  | <el-form-item label="开通用户数" prop="openUserNum"> | 
|---|
|  |  |  | <el-input v-model="form.openUserNum" placeholder="请输入开通用户数"   v-trim/> | 
|---|
|  |  |  | 注:为0不限制人数 | 
|---|
|  |  |  | </el-form-item> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="tip-line"> | 
|---|
|  |  |  | <el-form-item label="销售人员" prop="salesperson"> | 
|---|
|  |  |  | <el-select v-model="form.salesperson" filterable clearable placeholder="请选择类型"> | 
|---|
|  |  |  | 
|---|
|  |  |  | linkPhone: '', | 
|---|
|  |  |  | fileStoreAddr: '', | 
|---|
|  |  |  | fileurlfull: '', | 
|---|
|  |  |  | openUserNum:0 | 
|---|
|  |  |  | // fileList: [], | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | isEdit: false, | 
|---|
|  |  |  | 
|---|
|  |  |  | creditCode: [ | 
|---|
|  |  |  | { required: true, validator: creditCode, trigger: 'blur' } | 
|---|
|  |  |  | ], | 
|---|
|  |  |  |  | 
|---|
|  |  |  | openUserNum: [ | 
|---|
|  |  |  | { pattern: /^[0-9]+$/, message: '只可以输入数字', trigger: 'change'} | 
|---|
|  |  |  | ] | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | 
|---|
|  |  |  | this.form.fileurlfull = this.form.fileStoreAddr ? this.form.fileurlfull : '' | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | }, | 
|---|
|  |  |  |  | 
|---|
|  |  |  | typeChange() { | 
|---|
|  |  |  | let tempDate = new Date(); | 
|---|
|  |  |  | tempDate.setDate(tempDate.getDate() + (this.form.oepnType ? 365 : 15)) | 
|---|