<!--
 * @Author: zwq
 * @Date: 2025-11-08 17:44:05
 * @LastEditors: zwq
 * @LastEditTime: 2025-11-08 18:13:25
 * @Description:
-->
<template>
	<div>
		<div>请选择要执行的终止方式，系统会根据选择进行处理</div>
		<el-radio-group v-model="radio" class="stockRadioDiv">
			<el-radio :label="1" border style="margin: 10px 0">
				仅终止，稍后回收
				<div style="font-weight: 400">
					任务立即终止，车辆保持暂停，稍后可在任务列表中手动回收
				</div>
			</el-radio>
			<el-radio :label="2" border style="margin: 10px 0">
				终止，并立即回收
				<div style="font-weight: 400">
					任务立即终止立即，选择货物回收方式生成任务或更新卸货点
				</div>
			</el-radio>
		</el-radio-group>
		<div>
			终止原因：
			<el-input
				type="textarea"
				:rows="3"
         style="margin: 10px 0"
				placeholder="请输入终止原因"
				v-model="textarea" />
		</div>
	</div>
</template>

<script>
export default {
	data() {
		return {
			radio: 1,
			textarea: '',
		};
	},
	methods: {
		init(val) {},
		submit() {
      if(this.textarea){

      }else{
        this.$message('请输入终止原因');
      }
    },
	},
};
</script>

<style scoped>
.stockRadioDiv >>> .el-radio--medium.is-bordered {
	display: flex;
	align-items: center;
	height: 70px;
  line-height: 20px;
}
</style>
