src/views/safetyReview/projectManage/components/contractManage.vue
@@ -54,6 +54,7 @@ const state = reactive({ formData: { id: '', projectId: null, contractSignDate: '', contractMoney: '', contractIntroduction: '' @@ -78,7 +79,9 @@ if(type === 'detail' || type === 'edit' ){ const res = await getDetail({projectId: val}); if(res.code == 200){ state.formData = res.data; if(res.data){ state.formData = res.data; } }else { ElMessage.warning(res.message) }