À̸®Àú¸® ¹æ¹ýÀ» ã¾ÆºÃ´Âµ¥ ¾ÈµÇ´Â °Í °°³×¿ä¤Ð¤Ð
È¥¶õ µå·Á¼ Á˼ÛÇմϴ٤ФФФÐ
±âÁ¸¿¡ ¿Ã·ÁÁֽŠºÐÀÌ °è¼Ì´Âµ¥ ¸·Èù°ÇÁö ¾ÈµÇ´õ¶ó±¸¿ä
pc¹öÀü ÇØÇÇ¸Ó´Ï »çÀÌÆ® Á¢¼ÓÇÏ°í ÃæÀüÆäÀÌÁö±îÁö °©´Ï´Ù
´õÃæÀüÇϱ⠴©¸¦ÇÊ¿ä ¾øÀÌ ¾Æ·¡ À̹ÌÁö »óÅ·ΠµÓ´Ï´Ù
ÇɹøÈ£´Â ¾Æ·¡¿Í °°ÀÌ ±¸¼ºµÅ¾ßÇÕ´Ï´Ù.
Ƽ¸ó¿¡¼ ¿À´Â ÇɹøÈ£´Â ÀÌ·¸°Ô ¿Í¿ä.
´Ù¸¥µ¥¼ ±¸¸ÅÇÑ°Ç Å×½ºÆ® ¸øÇغ½
±×¸®°í °³¹ßÀÚ µµ±¸ f12 ¿¾î¼ console¿¡ ¾Æ·¡ ÄÚµå º¹»çÇؼ ÀÔ·ÂÇÕ´Ï´Ù
ÇɹøÈ£¸¸ º»ÀÎ ÇɹøÈ£ Á¶ÇÕÀ¸·Î ³ÖÀ¸¼¼¿ä
¾çÂÊ¿¡ µû¿ÈÇ¥ ÀÖ¾î¾ßÇÕ´Ï´Ù
¿¹) const code = "0000-0000-0000-0000_20230101, 0000-0000-0000-0000_20230101, 0000-0000-0000-0000_20230101"
---- º¹ºÙÇÒ ÄÚµå-----
document.querySelector("#addTen").click()
const code = "ÇɹøÈ£"
const codeArr = code.split(", ")
const table = document.querySelector("#cashTable")
const trs = table.querySelectorAll("tbody tr")
codeArr.map((cur,idx)=>{
const number = cur.split("_")
const pinNum = number[0].split("-")
const authNum = number[1]
const targetRow = [...trs][idx]
const tds = targetRow.querySelectorAll("td")
const inputs1 = [...tds][0].querySelectorAll("input")
const input2 = [...tds][1].querySelector("input")
pinNum.map((cur2,idx2)=>{
[...inputs1][idx2].value = cur2
})
input2.value = authNum
})
|
ÇØÇÇ¸Ó´Ï ¤·¤§