• 40名無しさん
    2020/04/24(金) 23:02:22 ID:CnBTtB/Y0
    <html><head><script>
    function op1(){a=new Array();
    a[0]="<tr><th rowspan=2>No.</th><th rowspan=2>項目</th>";
    a[0]+="<th>金額と値引き</th><th>割率</th><th>割込</th><th>税率</th><th>税込</th>";
    a[0]+="<th rowspan=2>合計</th></tr>";
    a[0]+="<tr><th>本体価格</th><th>割引</th><th>値引</th><th>課税</th><th>個計</th></tr>";
    for(var i=1;i<15;i++){
    a[i]="<tr><th rowspan=2>"+i+"</th><th rowspan=2><input type='text' name='kt-"+i+"' size='10px'></input></th>";
    a[i]+="<th><input type='text' size='3px' name='e_plus-"+i+"' value='0'></input>-<input type='text' size='3px' name='e_minus-"+i+"' value='0'></input><input type='checkbox' name='non-"+i+"'></input></th>";
    a[i]+="<th><input size='1px' name='wr-"+i+"' value='0'></input></th><th><input type='checkbox' name='won-"+i+"'></input></th>";
    a[i]+="<th><select name='zr-"+i+"'>";
    a[i]+="<option value='3'>3%</option><option value='5'>5%</option><option value='8' selected>8%</option>";
    a[i]+="<option value='10'>10%</option><option value='13'>13%</option><option value='15'>15%</option></select></th>";
    a[i]+="<th><input type='checkbox' name='zon-"+i+"'></input></th><th rowspan=2 id='mix-"+i+"'>0</th></tr>";
    a[i]+="<tr id='bgs-1'><th id='sa-"+i+"-1'>-</th><th id='sa-"+i+"-2'>-</th><th id='sa-"+i+"-3'>-</th><th id='sa-"+i+"-4'>-</th><th id='sa-"+i+"-5'>-</th></tr>";
    a[0]+=a[i];};
    a[0]+="<tr><th colspan=2><input type='button' value='tap!' onClick='zx1()'></input></th><th colspan='2' id='base-x'>本体合計</th><th id='wri-x'>割引</th><th id='point'>点数</th><th id='zei-x'>税額</th><th id='full-x'>合算</th></tr>";
    document.getElementById("element").innerHTML=a[0];};
    </script></head>
    <body onload="op1()"><table border="1" id="element">
    </table></body></html>
    0 0

北海道

沖縄

人気の記事