zhouwx
2024-06-12 bcc1ce55aa699450905c68f957198428ed251c48
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)
    }