改有效期的结束日期

This commit is contained in:
Teng 2025-10-15 15:56:44 +08:00
parent 427e376424
commit 0f3637db38
3 changed files with 7 additions and 5 deletions

View File

@ -492,7 +492,8 @@
data.houseAddress = textArray[5]
data.issuingAuthority = textArray[6]
data.startTime = start
data.startTime = start;
data.endTime = end
if(data.endTime=='长期'){
data.endTime = swapLongTerm(end)
}

File diff suppressed because one or more lines are too long

View File

@ -309,6 +309,7 @@ const _sfc_main = {
data.houseAddress = textArray[5];
data.issuingAuthority = textArray[6];
data.startTime = start;
data.endTime = end;
if (data.endTime == "长期") {
data.endTime = compontent_public_long.swapLongTerm(end);
}
@ -340,7 +341,7 @@ const _sfc_main = {
});
},
fail: (e) => {
common_vendor.index.__f__("log", "at pages/addoldman/oldIDcard.vue:538", "????", e);
common_vendor.index.__f__("log", "at pages/addoldman/oldIDcard.vue:539", "????", e);
}
});
} else {
@ -354,7 +355,7 @@ const _sfc_main = {
},
data,
success: (r) => {
common_vendor.index.__f__("log", "at pages/addoldman/oldIDcard.vue:553", "r", r);
common_vendor.index.__f__("log", "at pages/addoldman/oldIDcard.vue:554", "r", r);
if (r.data.code != 200) {
common_vendor.index.showToast({
title: r.data.message,
@ -421,7 +422,7 @@ const _sfc_main = {
textArray[1] = data.sex;
textArray[2] = data.idCard;
textArray[3] = data.national;
common_vendor.index.__f__("log", "at pages/addoldman/oldIDcard.vue:678", "????", data.dateOfBirth);
common_vendor.index.__f__("log", "at pages/addoldman/oldIDcard.vue:679", "????", data.dateOfBirth);
textArray[4] = data.dateOfBirth;
textArray[5] = data.houseAddress;
textArray[6] = data.issuingAuthority;