|
@@ -227,6 +227,8 @@
|
|
|
};
|
|
|
|
|
|
function open(detail) {
|
|
|
+ console.log(2332,detail);
|
|
|
+
|
|
|
visible.value = true;
|
|
|
currentMonth.value = detail.year + "-" + detail.month + "-01"
|
|
|
// currentMonth.value = proxy.moment().format("YYYY-MM-01")
|
|
@@ -242,8 +244,10 @@
|
|
|
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, housingFundDeclareId, companyId } = form.value
|
|
|
+ const clearForm = { year, month, housingFundDeclareId, companyId }
|
|
|
+ console.log("form.value",form.value);
|
|
|
+
|
|
|
getDetail(clearForm).then((res) => {
|
|
|
form.value = { ...proxy.deepClone(emptyForm), ...res.data };
|
|
|
form.value.evidenceFile = form.value.evidenceFiles[0].fileUrl;
|