Ver Fonte

no message

ly há 1 ano atrás
pai
commit
05d1b1a0be
1 ficheiros alterados com 4 adições e 3 exclusões
  1. 4 3
      src/views/business/socialSecurity/declare/form.vue

+ 4 - 3
src/views/business/socialSecurity/declare/form.vue

@@ -439,8 +439,8 @@
     loading.value = true;
     form.value.year = proxy.moment(currentMonth.value).format("YYYY");
     form.value.month = proxy.moment(currentMonth.value).format("MM");
-    const { year, month, socialSecurityDeclareId, companyId } = form.value
-    const clearForm = { year, month, socialSecurityDeclareId, companyId }
+    const { year, month, socialSecurityDeclareId, companyId,injuryRadio } = form.value
+    const clearForm = { year, month, socialSecurityDeclareId, companyId,injuryRadio }
     getDetail(clearForm).then((res) => {
       form.value = { ...proxy.deepClone(emptyForm), ...res.data };
       // if (form.value.status === 2 || form.value.status === 3) {
@@ -583,7 +583,8 @@
     let data = {
       "companyId": form.value.companyId,
       "year": form.value.year,
-      "month": form.value.month
+      "month": form.value.month,
+      "radio": form.value.injuryRadio
     }
     exportDetail(data)
   }