diff --git a/src/views/ctr/index.vue b/src/views/ctr/index.vue index 96f5c49..98b913d 100644 --- a/src/views/ctr/index.vue +++ b/src/views/ctr/index.vue @@ -24,7 +24,8 @@ - + @@ -37,17 +38,15 @@ - + - + @@ -61,35 +60,36 @@ - + - 选择招标 + 选择招标 - + + v-model="form.amount" placeholder="请输入合同金额" disabled /> - + @@ -208,7 +208,7 @@ const payRatioComputed = computed({ return total; }, // 只读 - set: () => {} + set: () => { } }); const checkContractType = (type) => { contract_type.value = type; @@ -280,7 +280,6 @@ const resetForm = () => { }; fileList.value = []; tempFileList.value = []; - contract_type.value = ''; setTimeout(() => { localStorage.removeItem('tempContractForm'); }, 0); @@ -399,6 +398,7 @@ const getInfoByProjectIdList = async () => { form.value.contractOwner = res.data.planDuration; }; onMounted(() => { + contract_type.value = ''; getInfoByProjectIdList(); const tempForm = localStorage.getItem('tempContractForm');