|  |  |  | 
|---|
|  |  |  | range-separator="至" | 
|---|
|  |  |  | v-model="form.date" | 
|---|
|  |  |  | @change="changeDate" | 
|---|
|  |  |  | :picker-options="pickerOptions" | 
|---|
|  |  |  | start-placeholder="开始日期" | 
|---|
|  |  |  | end-placeholder="结束日期" | 
|---|
|  |  |  | value-format="yyyy-MM-dd" | 
|---|
|  |  |  | 
|---|
|  |  |  | startDate: '', | 
|---|
|  |  |  | endDate: '', | 
|---|
|  |  |  | price: 0, | 
|---|
|  |  |  | feeType: 0, | 
|---|
|  |  |  | receivableFeeCopy: '', | 
|---|
|  |  |  | receivableFee: '', | 
|---|
|  |  |  | planPayDate: '', | 
|---|
|  |  |  | billType: 1, | 
|---|
|  |  |  | billTypeCopy: 1, | 
|---|
|  |  |  | date: [] | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | pickerOptions: {}, | 
|---|
|  |  |  | time: { | 
|---|
|  |  |  | startDate: '', | 
|---|
|  |  |  | endDate: '' | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | rules: { | 
|---|
|  |  |  | contractCode: [ | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | methods: { | 
|---|
|  |  |  | open (title, target) { | 
|---|
|  |  |  | open (title, target, time) { | 
|---|
|  |  |  | var that = this | 
|---|
|  |  |  | this.title = title | 
|---|
|  |  |  | this.time.startDate = time.startDate | 
|---|
|  |  |  | this.time.endDate = time.endDate | 
|---|
|  |  |  | this.pickerOptions = { | 
|---|
|  |  |  | disabledDate(time) { | 
|---|
|  |  |  | const beginDate = new Date(that.time.startDate).getTime() - 8.64e7 | 
|---|
|  |  |  | const endDate = new Date(that.time.endDate).getTime() | 
|---|
|  |  |  | return beginDate > time.getTime() || endDate < time.getTime() | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | this.getCompanyList() | 
|---|
|  |  |  | this.visible = true | 
|---|
|  |  |  | // 新建 | 
|---|