zhouwx
2025-10-14 e6f2e152a23f5883215ab8dcb75718533c581ac7
src/views/build/conpanyFunctionConsult/qualityObjectives/objective/components/objectiveDialog.vue
@@ -230,7 +230,7 @@
const state = reactive({
  form: {
    id: '',
    year: '',
    year: '2025',
    num: '',
    type: '',
    departId: '',
@@ -306,6 +306,7 @@
    state.companyList = companyList
    state.form.companyId = null
  }
  state.form.year = new Date().getFullYear().toString()
  title.value = type === 'add' ? '新增' : type ==='edit' ? '编辑' : '查看' ;
  if(type === 'edit' || type === 'review') {
    state.form = JSON.parse(JSON.stringify(value));
@@ -392,7 +393,7 @@
const reset = () => {
  state.form = {
    id: '',
    year: '',
    year: '2025',
    num: '',
    type: '',
    departId: '',