| | |
| | | <UiField label="進件時間" :labelSize="20"> |
| | | <DateTimePicker |
| | | :defaultValue="appointmentCloseInfo.policyEntryDate" |
| | | @changeDateTime="appointmentCloseInfo.policyEntryDate = $event"></DateTimePicker> |
| | | @changeDateTime="appointmentCloseDate = $event"></DateTimePicker> |
| | | </UiField> |
| | | </el-row> |
| | | </template> |
| | |
| | | closedOtherReason : '', |
| | | closedReason : 'other', |
| | | planCode : '', |
| | | policyEntryDate : this.appointmentCloseDate, |
| | | policyEntryDate : '', |
| | | policyholderIdentityId: '', |
| | | remark : '', |
| | | selectCloseOption : this.contactStatus.DONE, |
| | |
| | | ? this.contactStatus.DONE |
| | | : this.contactStatus.CLOSE |
| | | }; |
| | | this.appointmentCloseDate = closedInfo?.policyEntryDate; |
| | | } |
| | | } |
| | | |
| | |
| | | appointmentId : appointmentId, |
| | | contactStatus : this.contactStatus.DONE, |
| | | planCode : this.appointmentCloseInfo.planCode, |
| | | policyEntryDate : this.appointmentCloseInfo.policyEntryDate, |
| | | policyEntryDate : this.appointmentCloseDate, |
| | | policyholderIdentityId: this.appointmentCloseInfo.policyholderIdentityId, |
| | | remark : this.appointmentCloseInfo.remark, |
| | | } |
| | |
| | | closedOtherReason, |
| | | remark |
| | | } = this.appointmentCloseInfo; |
| | | // this.appointmentCloseInfo.policyEntryDate 並沒有辦法取值到 this.appointmentCloseDate |
| | | if (selectCloseOption === this.contactStatus.DONE) { |
| | | return !policyholderIdentityId || !this.identityIdValid || !planCode || !this.appointmentCloseInfo.policyEntryDate || !remark |
| | | return !policyholderIdentityId || !this.identityIdValid || !planCode || !this.appointmentCloseDate || !remark |
| | | } else if (closedReason === 'other' || closedReason === 'no_suitable_commodity') { |
| | | return !closedOtherReason |
| | | } |