-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcrtirgen.html
120 lines (120 loc) · 9.47 KB
/
crtirgen.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>YuanRetro-中国铁路行程信息提示生成器(CRTIRGen)</title>
<link rel="stylesheet" href="/style.css">
<script src="/jquery-3.7.1.min.js"></script>
<link rel="icon" href="/img/nahida.png" type="image/x-icon">
</head>
<body class="body" id="body">
<nav class="navi"></nav>
<h1>中国铁路行程信息提示生成器 V1.3-2024.12.23</h1>
<div class="textbox-container">
<div class="textbox" style="width: 550px;">
<p>一、铁路磁票(报销凭证)票号(21字符)构成:车站TMIS(5位数,查询请前往<a
href="https://rail.re/">https://rail.re/</a>)+出票机器类型(2位数,00-09为人工售票窗口,20-29为车票代售点,30-39为自动售票机)+出票机器编号(3位数)+结算日期(4位数,MMDD格式,一般为乘车日期下一天)+票纸编号(7字符,一般为1字母+6数字)
</p>
<p>如:(1)18089(青岛站)31(售票机)042(机器号)0517(结算日期,5月17日)H000565(票纸号)<br/>(2)17984(胶州站)00(人工窗口)003(机器号)0229(结算日期,2月29日)P062258(票纸号)<br/>(3)17999(蓝村站)30(售票机)031(机器号)1213(结算日期,12月13日)A016888(票纸号)
</p>
<p>
二、电子票号(25个数字)构成:车站TMIS(5位数)+出票机器类型(2位数,同上)+出票机器编号(3位数)+结算日期(4位数,同上)+7位数(一般9开头,含义未知,如果您恰好知道,请不吝赐教哦~)+年份(4位数)</p>
<p>如:(1)22972(东莞港站)30(售票机)003(机器号)1114(结算日期,11月14日)9005786(未知)2020(年份)<br/>(2)29957(达州站)00(人工窗口)005(机器号)0319(结算日期,3月19日)9110473(未知)2021(年份)<br/>(3)39500(咸阳站)00(人工窗口)003(机器号)0214(结算日期,2月14日)9155434(未知)2022(年份)
</p>
<p>三、行程信息提示“出单”号码(10位数)构成:车站TMIS(5位数)+出票机器类型(2位数,同上)+出票机器编号(3位数)</p>
<p>如:(1)17963(胶州北站)30(售票机)008(机器号)<br/>(2)66827(徐州东站)30(售票机)088(机器号)<br/>(3)18056(城阳站)00(人工窗口)003(机器号)
</p>
</div>
<div class="textbox" style="width: 850px;">
<form id="customSelection">
<br/>
<label for="date1">开车日期:</label>
<input type="date" id="date1" min="0000-01-01" max="9999-12-31"/>
<label for="time1">开车时间:</label>
<input type="time" id="time1"/><br/>
<label for="date2">打印日期:</label>
<input type="date" id="date2" min="0000-01-01" max="9999-12-31"/>
<label for="time2">打印时间:</label>
<input type="time" id="time2" step="1"/><br/><!--添加step="1"使秒数选框出现-->
<label for="depStation">出发车站:</label>
<input type="text" id="depStation" size="10"/>
<label for="depStation">站</label>
<label for="depPy">站名拼音(首字母大写):</label>
<input type="text" id="depPy" size="14"/><br/>
<label for="trainTypeDrop">车次号:</label>
<select id="trainTypeDrop">
<option value="normal">普客(无前缀)</option><!--"Normal"通过判断语句转为无前缀,其他的直接使用value中的值作为车次号前缀-->
<option value="K">快速(K)</option>
<option value="T">特快(T)</option>
<option value="Z">直特(Z)</option>
<option value="T">旅游(Y)</option>
<option value="L">临客(L)</option>
<option value="S">市域/市郊(S)</option>
<option value="C">城际(C)</option>
<option value="D">动车(D)</option>
<option value="G">高铁(G)</option>
</select>
<label for="trainTypeDrop">次</label>
<label for="trainNo"></label><input type="text" id="trainNo" size="8"/><br/>
<label for="arrStation">到达车站:</label>
<input type="text" id="arrStation" size="10"/>
<label for="arrStation">站</label>
<label for="arrPy">站名拼音(首字母大写):</label>
<input type="text" id="arrPy" size="14"/><br/>
<label for="seatNumber">座号:</label>
<input type="text" id="seatNumber" size="10"/>
<label for="seatType">坐席类别:</label>
<input type="text" id="seatType" size="10"/><br/>
<label for="fare">票价(带小数点后一位):</label>
<input type="text" id="fare" size="6"/>
<label for="fare">元</label>
<label for="ticketCheck">检票口(没有可不填):</label>
<input type="text" id="ticketCheck" size="12"/><br/>
<label for="TMIS">车站TMIS号码(5位数,查询请前往<a href="https://rail.re/">https://rail.re/</a>):</label>
<!--TMIS为每个铁路车站的唯一五位数编号-->
<input type="text" id="TMIS" size="8"/><br/>
<label for="machineType">打印机器类型(2位数,00-09:车站售票窗口;20-29:车票代售点;30-39:自动售票机):</label>
<input type="text" id="machineType" size="5"/><br/>
<label for="machineNo">打印机器编号(3位数):</label><!--凭条尾部的“出单”10位数号码即为TMIS(5位数)+机器类型(2位数)+机器编号(3位数)-->
<input type="text" id="machineNo" size="5"/>
<label for="orderNo">订单号(10个字符):</label><!--一般为E开头-->
<input type="text" id="orderNo" size="10"/><br/>
<label for="ticketNo">电子票号(25位数):</label>
<!--前14位数为TMIS(5位数)+机器类型(2位数)+机器编号(3位数)+结算日期(MMDD,4位数);最后4位数为年份;两部分中间的7位数未知-->
<input type="text" id="ticketNo" size="30"/><br/>
<label for="name">乘车人姓名:</label>
<input type="text" id="name" size="8"/>
<label for="idTypeEng">身份证件类型代码(2个字母):</label>
<input type="text" id="idTypeEng" size="6"/><br/>
<label for="idTypeChn">身份证件类型(中文):</label>
<input type="text" id="idTypeChn" size="12"/>
<label for="idNo">身份证件号码(必要位置使用‘*’代替):</label>
<input type="text" id="idNo" size="18"/>
<input type="button" value="确认" id="submit1" class="custom-button"/>
</form>
<canvas id="canvas" width="800" height="1400" style="width: 800px; height: 1400px;"></canvas>
</div>
<div class="textbox" style="width: 1450px;">
<input type="button" id="downloadButton" class="custom-button" value="下载图片"/>
<p>注:如需保存生成的图片,右键单击上方区域并选择“图片另存为”选项或者点击这个按钮就可以哦~</p>
<p>站长建议在桌面端使用基于Chromium内核的浏览器或火狐浏览器访问诶~</p>
<p>本站不会收集任何个人信息,请放心使用;使用时请大家遵守国家法律法规,切忌用于违法违规用途噢~</p>
<p>如有任何意见或反馈,请大胆联系站长哦~<a href="mailto:[email protected]">[email protected]</a>或者在以下页面提交Issue:<a
href="https://github.com/lijiaxuan1811/China-Railway-Trip-Information-Reminder-Generator">https://github.com/lijiaxuan1811/China-Railway-Trip-Information-Reminder-Generator</a>
非常感谢诸位宝贵的反馈噢!</p>
</div>
</div>
<script type="text/javascript" src="/crtirgen.js"></script>
<footer class="site-footer"></footer>
<script>
$(document).ready(function() {
// 加载底边栏内容
$(".site-footer").load("/footer.html");
// 加载顶边栏内容
$(".navi").load("/navi.html");
});
</script>
<script type="text/javascript" src="/footer.js"></script>
</body>
</html>