<template>
  <view>
    <view class="card_form">
      <hs-cell title="原处理时间" required borderTop :value="useModel?.formData?.value?.day" />
    </view>
    <view class="card_form">
      <hs-reservation-picker
        title="新期望上门时间"
        required
        v-model:valueExpectStartTime="useModel.formData.value.expect_start_time"
        v-model:valueExpectEndTime="useModel.formData.value.expect_end_time"
      />
    </view>

    <hs-footer btnParimaryName="提交" @handleParmaryClick="method?.handleSubmit" />
  </view>
</template>

<script setup lang="ts">
import { onLoad } from '@dcloudio/uni-app'
import method from './method'
import useModel from './model'
import { Apis } from '@/gen/Apis'

onLoad(e => {
  method?.init(e)
})
</script>

<style lang="scss">
@import './style.scss';
</style>
