更新镇农科任务安排第五个的任务日期安排

This commit is contained in:
weipengfei 2023-09-26 14:14:27 +08:00
parent 7a6ee2a369
commit 177cc9db9f

View File

@ -77,7 +77,10 @@
<template #append></template> <template #append></template>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item label="二阶段天数"> <el-form-item
v-if="formData.type_value != 'town_task_type_5'"
label="二阶段天数"
>
<el-input <el-input
v-model="formData.stage_day_two" v-model="formData.stage_day_two"
clearable clearable
@ -87,7 +90,10 @@
<template #append></template> <template #append></template>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item label="二阶段金额"> <el-form-item
v-if="formData.type_value != 'town_task_type_5'"
label="二阶段金额"
>
<el-input <el-input
v-model="formData.money_two" v-model="formData.money_two"
clearable clearable
@ -205,6 +211,7 @@ const formData = reactive({
title: "", title: "",
admin_id: "", admin_id: "",
type: "", // type: "", //
type_value: "",
status: "", status: "",
content: "", content: "",
stage_day_one: 0, stage_day_one: 0,
@ -346,7 +353,10 @@ const mapRef = shallowRef<InstanceType<typeof taskMap>>();
// //
const changeTaskType = async (e: any) => { const changeTaskType = async (e: any) => {
datalist.value.forEach((item: any) => { datalist.value.forEach((item: any) => {
if (item.id == e) formData.title = item.name; if (item.id == e) {
formData.title = item.name;
formData.type_value = item.value;
}
}); });
if (e == 32) { if (e == 32) {
mapShow.value = true; // mapShow.value = true; //