| | |
| | | <text>*</text> |
| | | <text>入园原因</text> |
| | | </view> |
| | | <view class="value" @click="showReason = true"> |
| | | <text class="mr6" :style="{ color: param.inReason ? '#000000' : '#999999' }">{{ param.inReason ? param.inReason : '请选择' }}</text> |
| | | <view class="value" @click="reasonClick"> |
| | | <text class="mr6" :class="{gray: param.id}" :style="{ color: param.inReason ? '#000000' : '#999999' }">{{ param.inReason ? param.inReason : '请选择' }}</text> |
| | | <u-icon name="arrow-right" color="#CCCCCC" size="16"></u-icon> |
| | | </view> |
| | | </view> |
| | |
| | | </view> |
| | | |
| | | <!-- --> |
| | | <u-picker :show="showReason" keyName="reason" :columns="reasonList" @confirm="reasonConfirm"></u-picker> |
| | | <u-picker :show="showReason" keyName="reason" closeOnClickOverlay @close="showReason = false" |
| | | @cancel="showReason = false" :columns="reasonList" @confirm="reasonConfirm"></u-picker> |
| | | <u-datetime-picker |
| | | :show="showDatetime" |
| | | closeOnClickOverlay |
| | |
| | | this.initData() |
| | | }, |
| | | methods: { |
| | | reasonClick() { |
| | | if(this.param.id){ |
| | | return |
| | | } |
| | | this.showReason = true |
| | | }, |
| | | onSubmit() { |
| | | const param = { ...this.param } |
| | | if (!param.arriveDate) return this.showToast('请选择到场时间') |
| | |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: flex-end; |
| | | .gray{ |
| | | color: #999999 !important; |
| | | } |
| | | .btns { |
| | | display: flex; |
| | | align-items: center; |