<template>
  <view>
    <view class="card_form">
      <hs-cell-textarea
        borderTop
        required
        title="返工原因"
        placeholder="请详细描述问题情况，包括具体位置现象等"
        v-model:valueModel="useModel.formData.value.rework_reason"
      />
    </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>
