fixed cxontract date

This commit is contained in:
Komek Hayytnazarov 2022-11-28 12:51:12 +05:00
parent a46b7dde89
commit 2596600340
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ const onEnter = async (number) => {
if ('data' in response) {
// Object.assign(contract, response.data);
// contract.InputDate = $h.formatDate(contract.InputDate, "DD.MM.YYYY");
contract.RegDate = $h.formatDate(response.data.RegDate, "DD.MM.YYYY");
contract.RegDate = $h.formatDate(response.data.InputDate, "DD.MM.YYYY");
console.log("contract: ", contract);
hasNumber.value = true;