更新镇农科任务安排第五个的任务日期安排
This commit is contained in:
parent
7a6ee2a369
commit
177cc9db9f
@ -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; //为三轮车时
|
||||||
|
Loading…
x
Reference in New Issue
Block a user