正在显示
27 个修改的文件
包含
2690 行增加
和
23 行删除
@@ -71,7 +71,6 @@ | @@ -71,7 +71,6 @@ | ||
71 | <element id="library" level="project" name="Maven: antlr:antlr:2.7.7" /> | 71 | <element id="library" level="project" name="Maven: antlr:antlr:2.7.7" /> |
72 | <element id="library" level="project" name="Maven: org.jboss:jandex:2.0.0.Final" /> | 72 | <element id="library" level="project" name="Maven: org.jboss:jandex:2.0.0.Final" /> |
73 | <element id="library" level="project" name="Maven: dom4j:dom4j:1.6.1" /> | 73 | <element id="library" level="project" name="Maven: dom4j:dom4j:1.6.1" /> |
74 | - <element id="library" level="project" name="Maven: xml-apis:xml-apis:1.0.b2" /> | ||
75 | <element id="library" level="project" name="Maven: org.hibernate.common:hibernate-commons-annotations:5.0.1.Final" /> | 74 | <element id="library" level="project" name="Maven: org.hibernate.common:hibernate-commons-annotations:5.0.1.Final" /> |
76 | <element id="library" level="project" name="Maven: org.hibernate:hibernate-entitymanager:5.0.6.Final" /> | 75 | <element id="library" level="project" name="Maven: org.hibernate:hibernate-entitymanager:5.0.6.Final" /> |
77 | <element id="library" level="project" name="Maven: org.hibernate:hibernate-ehcache:5.0.6.Final" /> | 76 | <element id="library" level="project" name="Maven: org.hibernate:hibernate-ehcache:5.0.6.Final" /> |
@@ -132,6 +131,8 @@ | @@ -132,6 +131,8 @@ | ||
132 | <element id="library" level="project" name="Maven: com.google.code.gson:gson:2.8.2" /> | 131 | <element id="library" level="project" name="Maven: com.google.code.gson:gson:2.8.2" /> |
133 | <element id="library" level="project" name="Maven: com.jfinal:jfinal:3.4" /> | 132 | <element id="library" level="project" name="Maven: com.jfinal:jfinal:3.4" /> |
134 | <element id="library" level="project" name="Maven: cglib:cglib-nodep:3.2.5" /> | 133 | <element id="library" level="project" name="Maven: cglib:cglib-nodep:3.2.5" /> |
134 | + <element id="library" level="project" name="Maven: net.sf.barcode4j:barcode4j-light:2.0" /> | ||
135 | + <element id="library" level="project" name="Maven: xml-apis:xml-apis:1.3.04" /> | ||
135 | </element> | 136 | </element> |
136 | </element> | 137 | </element> |
137 | <element id="directory" name="META-INF"> | 138 | <element id="directory" name="META-INF"> |
@@ -45,7 +45,6 @@ | @@ -45,7 +45,6 @@ | ||
45 | 45 | ||
46 | 46 | ||
47 | <dependencies> | 47 | <dependencies> |
48 | - | ||
49 | <!-- Apache CXF --> | 48 | <!-- Apache CXF --> |
50 | <dependency> | 49 | <dependency> |
51 | <groupId>org.apache.cxf</groupId> | 50 | <groupId>org.apache.cxf</groupId> |
@@ -434,6 +433,14 @@ | @@ -434,6 +433,14 @@ | ||
434 | <artifactId>jfinal</artifactId> | 433 | <artifactId>jfinal</artifactId> |
435 | <version>3.4</version> | 434 | <version>3.4</version> |
436 | </dependency> | 435 | </dependency> |
436 | + <!--条形码--> | ||
437 | + <!-- https://mvnrepository.com/artifact/net.sf.barcode4j/barcode4j-light --> | ||
438 | + <dependency> | ||
439 | + <groupId>net.sf.barcode4j</groupId> | ||
440 | + <artifactId>barcode4j-light</artifactId> | ||
441 | + <version>2.0</version> | ||
442 | + </dependency> | ||
443 | + | ||
437 | </dependencies> | 444 | </dependencies> |
438 | 445 | ||
439 | <!-- 配置文件 --> | 446 | <!-- 配置文件 --> |
@@ -464,6 +471,8 @@ | @@ -464,6 +471,8 @@ | ||
464 | <package.environment>product</package.environment> | 471 | <package.environment>product</package.environment> |
465 | </properties> | 472 | </properties> |
466 | </profile> | 473 | </profile> |
474 | + | ||
475 | + | ||
467 | </profiles> | 476 | </profiles> |
468 | 477 | ||
469 | <build> | 478 | <build> |
@@ -12,7 +12,6 @@ import javax.annotation.Resource; | @@ -12,7 +12,6 @@ import javax.annotation.Resource; | ||
12 | import javax.servlet.http.HttpServletRequest; | 12 | import javax.servlet.http.HttpServletRequest; |
13 | import javax.servlet.http.HttpServletResponse; | 13 | import javax.servlet.http.HttpServletResponse; |
14 | import javax.servlet.http.HttpSession; | 14 | import javax.servlet.http.HttpSession; |
15 | -import javax.servlet.http.Part; | ||
16 | 15 | ||
17 | import com.agent.entity.agent.*; | 16 | import com.agent.entity.agent.*; |
18 | import com.agent.service.system.HzInfoService; | 17 | import com.agent.service.system.HzInfoService; |
@@ -20,18 +19,12 @@ import com.agent.service.system.HzWaybillService; | @@ -20,18 +19,12 @@ import com.agent.service.system.HzWaybillService; | ||
20 | import com.agent.service.system.UserService; | 19 | import com.agent.service.system.UserService; |
21 | import com.agent.util.ExcelUtil; | 20 | import com.agent.util.ExcelUtil; |
22 | import com.agent.vo.agent.ManifestVo; | 21 | import com.agent.vo.agent.ManifestVo; |
23 | -import com.framework.util.DateFormat; | ||
24 | import org.apache.commons.collections.CollectionUtils; | 22 | import org.apache.commons.collections.CollectionUtils; |
25 | import org.apache.commons.lang.StringUtils; | 23 | import org.apache.commons.lang.StringUtils; |
26 | import org.apache.shiro.SecurityUtils; | 24 | import org.apache.shiro.SecurityUtils; |
27 | -import org.hibernate.SessionFactory; | ||
28 | -import org.hibernate.StaleObjectStateException; | ||
29 | import org.slf4j.Logger; | 25 | import org.slf4j.Logger; |
30 | import org.slf4j.LoggerFactory; | 26 | import org.slf4j.LoggerFactory; |
31 | -import org.springframework.orm.ObjectOptimisticLockingFailureException; | ||
32 | -import org.springframework.orm.jpa.vendor.HibernateJpaSessionFactoryBean; | ||
33 | import org.springframework.stereotype.Controller; | 27 | import org.springframework.stereotype.Controller; |
34 | -import org.springframework.transaction.TransactionSystemException; | ||
35 | import org.springframework.ui.Model; | 28 | import org.springframework.ui.Model; |
36 | import org.springframework.web.bind.annotation.*; | 29 | import org.springframework.web.bind.annotation.*; |
37 | 30 | ||
@@ -528,11 +521,12 @@ public class ManifestController extends BasicController { | @@ -528,11 +521,12 @@ public class ManifestController extends BasicController { | ||
528 | UserEntity ue = (UserEntity) SecurityUtils.getSubject().getSession().getAttribute("user"); | 521 | UserEntity ue = (UserEntity) SecurityUtils.getSubject().getSession().getAttribute("user"); |
529 | if (ue != null) { | 522 | if (ue != null) { |
530 | Long u = ue.getId(); | 523 | Long u = ue.getId(); |
524 | + String s = String.valueOf(u); | ||
531 | Set<String> sk = pageForm.getSearchParams().keySet(); | 525 | Set<String> sk = pageForm.getSearchParams().keySet(); |
532 | 526 | ||
533 | if (Tools.getUserId() != null && Tools.getUserId() != 1) { | 527 | if (Tools.getUserId() != null && Tools.getUserId() != 1) { |
534 | // 不是管理员,添加用户id的条件 | 528 | // 不是管理员,添加用户id的条件 |
535 | - pageForm.getSearchParams().put("EQ_USER_ID", u); | 529 | + pageForm.getSearchParams().put("EQ_USER_ID", s); |
536 | } | 530 | } |
537 | } | 531 | } |
538 | 532 |
1 | +package com.agent.controller.agent; | ||
2 | + | ||
3 | +import com.agent.entity.agent.ManifestEntity; | ||
4 | +import com.agent.entity.agent.SDCargoNameEntity; | ||
5 | +import com.agent.entity.agent.SDCargoTypeEntity; | ||
6 | +import com.agent.entity.agent.SecurityDeclarationEntity; | ||
7 | +import com.agent.entity.system.UserEntity; | ||
8 | +import com.agent.service.agent.ManifestService; | ||
9 | +import com.agent.service.system.SDCargoNameService; | ||
10 | +import com.agent.service.system.SDCargoTypeService; | ||
11 | +import com.agent.service.system.SecurityDeclarationService; | ||
12 | +import com.agent.util.BarCodeUtil; | ||
13 | +import com.agent.vo.ResponseModel; | ||
14 | +import com.agent.vo.agent.SDVo; | ||
15 | +import com.agent.vo.agent.SecurityDeclarationVo; | ||
16 | +import com.agent.xml.XmlBuildTask; | ||
17 | +import com.agent.xml.fhlsli.FSXmlKit; | ||
18 | +import com.framework.core.Servlets; | ||
19 | +import com.framework.util.MessageKit; | ||
20 | +import com.framework.util.MessageType; | ||
21 | +import com.framework.util.StringUtils; | ||
22 | +import com.plugin.easyui.DataGrid; | ||
23 | +import com.plugin.easyui.EasyPage; | ||
24 | +import jxl.demo.XML; | ||
25 | +import org.apache.axis.utils.XMLUtils; | ||
26 | +import org.apache.commons.collections.CollectionUtils; | ||
27 | +import org.apache.shiro.SecurityUtils; | ||
28 | +import org.apache.shiro.web.session.HttpServletSession; | ||
29 | +import org.apache.struts.chain.contexts.ServletActionContext; | ||
30 | +import org.springframework.beans.factory.annotation.Autowired; | ||
31 | +import org.springframework.stereotype.Controller; | ||
32 | +import org.springframework.ui.Model; | ||
33 | +import org.springframework.web.bind.annotation.RequestMapping; | ||
34 | +import org.springframework.web.bind.annotation.ResponseBody; | ||
35 | +import tools.Tools; | ||
36 | + | ||
37 | +import javax.imageio.ImageIO; | ||
38 | +import javax.servlet.http.HttpServletRequest; | ||
39 | +import javax.servlet.http.HttpServletResponse; | ||
40 | +import javax.servlet.http.HttpSession; | ||
41 | +import java.awt.image.BufferedImage; | ||
42 | +import java.io.*; | ||
43 | +import java.net.URL; | ||
44 | +import java.text.ParseException; | ||
45 | +import java.text.SimpleDateFormat; | ||
46 | +import java.util.*; | ||
47 | + | ||
48 | +/** | ||
49 | + * @Auther: shenhl | ||
50 | + * @Date: 2019/4/23 19:14 | ||
51 | + */ | ||
52 | +@Controller | ||
53 | +@RequestMapping(value = "/declaration") | ||
54 | +public class SecurityDeclarationController { | ||
55 | + | ||
56 | + @Autowired | ||
57 | + private SecurityDeclarationService securityDeclarationService; | ||
58 | + | ||
59 | + @Autowired | ||
60 | + private SDCargoTypeService sdCargoTypeService; | ||
61 | + | ||
62 | + @Autowired | ||
63 | + private SDCargoNameService sdCargoNameService; | ||
64 | + | ||
65 | + @Autowired | ||
66 | + private ManifestService manifestService; | ||
67 | + | ||
68 | + | ||
69 | + @RequestMapping(value = "/list") | ||
70 | + public String list(){ | ||
71 | + return "declaration/list"; | ||
72 | + } | ||
73 | + | ||
74 | + | ||
75 | + /** | ||
76 | + * 分页查询 | ||
77 | + * @param request | ||
78 | + * @param pageForm | ||
79 | + * @return | ||
80 | + */ | ||
81 | + @RequestMapping(value = "/grid.json") | ||
82 | + @ResponseBody | ||
83 | + public DataGrid<SecurityDeclarationVo> grid(HttpServletRequest request, EasyPage<SecurityDeclarationEntity> pageForm) { | ||
84 | + | ||
85 | + Map<String, Object> searchParams = Servlets.getParametersStartingWith(request, "search_"); | ||
86 | + UserEntity ue = (UserEntity)SecurityUtils.getSubject().getSession().getAttribute("user"); | ||
87 | + if (ue!=null){ | ||
88 | + Long u = ue.getId(); | ||
89 | + | ||
90 | + if (Tools.getUserId() != null && Tools.getUserId() != 1){ | ||
91 | + // 不是管理员,添加用户id的条件 | ||
92 | + pageForm.getSearchParams().put("EQ_SD_USER_ID", u); | ||
93 | + } | ||
94 | + } | ||
95 | + | ||
96 | + pageForm.setSearchParams(searchParams); | ||
97 | + | ||
98 | + pageForm.parseData(securityDeclarationService.getPage(pageForm)); | ||
99 | + | ||
100 | + DataGrid<SecurityDeclarationEntity> securityDeclarationEntityDataGrid = pageForm.getData(); | ||
101 | + | ||
102 | + List<SecurityDeclarationVo>rows = new ArrayList<>(); | ||
103 | + | ||
104 | + if (CollectionUtils.isNotEmpty(securityDeclarationEntityDataGrid.getRows())){ | ||
105 | + for (SecurityDeclarationEntity sd: securityDeclarationEntityDataGrid.getRows()){ | ||
106 | + SecurityDeclarationVo sdVo = new SecurityDeclarationVo(); | ||
107 | + sdVo.setId(sd.getId()); | ||
108 | + sdVo.setSd_waybill(sd.getSd_waybill()); | ||
109 | + sdVo.setSd_cargo_shipper_name(sd.getSd_cargo_shipper_name()); | ||
110 | + sdVo.setSd_cargo_agent_name(sd.getSd_cargo_agent_name()); | ||
111 | + sdVo.setSd_transport_certificate(sd.getSd_transport_certificate()); | ||
112 | + sdVo.setSd_transportation_prove(sd.getSd_transportation_prove()); | ||
113 | + sdVo.setSd_iata_number(sd.getSd_iata_number()); | ||
114 | + if("1".equals(sd.getSd_static())){ | ||
115 | + sdVo.setSd_static("已发送安检申报报文"); | ||
116 | + } | ||
117 | + | ||
118 | + rows.add(sdVo); | ||
119 | + } | ||
120 | + } | ||
121 | + DataGrid<SecurityDeclarationVo> vos = new DataGrid<>(); | ||
122 | + vos.setRows(rows); | ||
123 | + vos.setTotal(securityDeclarationEntityDataGrid.getTotal()); | ||
124 | + return vos; | ||
125 | + } | ||
126 | + | ||
127 | + | ||
128 | + /** | ||
129 | + * 跳转添加安检申报视图 | ||
130 | + */ | ||
131 | + @RequestMapping(value = "/securityView") | ||
132 | + public String securityView(String waybill, Model model){ | ||
133 | + model.addAttribute("waybill", waybill); | ||
134 | + return "declaration/save"; | ||
135 | + } | ||
136 | + | ||
137 | + /** | ||
138 | + * 保存并发送报文 | ||
139 | + * @param request | ||
140 | + * @param waybill | ||
141 | + * @return | ||
142 | + */ | ||
143 | + @RequestMapping(value = "/save") | ||
144 | + @ResponseBody | ||
145 | + public ResponseModel save(HttpServletRequest request, String waybill){ | ||
146 | + ResponseModel model = new ResponseModel(); | ||
147 | + | ||
148 | + //货物性质(类型) | ||
149 | + String one = request.getParameter("one"); | ||
150 | + String two = request.getParameter("two"); | ||
151 | + String three = request.getParameter("three"); | ||
152 | + String four = request.getParameter("four"); | ||
153 | + //航空货物托运人名称 | ||
154 | + String cargoShipperName = request.getParameter("sd_cargo_shipper_name"); | ||
155 | + //航空货运销售代理人名称 | ||
156 | + String cargoAgentName = request.getParameter("sd_cargo_agent_name"); | ||
157 | + //航协编号 | ||
158 | + String iataNumber = request.getParameter("sd_iata_number"); | ||
159 | + //货物品名 | ||
160 | + String cargoName = request.getParameter("sd_cargo_name"); | ||
161 | + //运输条件鉴定书 | ||
162 | + String transportCertificate = request.getParameter("sd_transport_certificate"); | ||
163 | + //航空公司同意运输证明 | ||
164 | + String transportationProve = request.getParameter("sd_transportation_prove"); | ||
165 | + | ||
166 | + //货物性质是否多选 | ||
167 | + List<String> list = new ArrayList(); | ||
168 | + if (!StringUtils.isBlank(one)){ | ||
169 | + list.add(one); | ||
170 | + } | ||
171 | + if (!StringUtils.isBlank(two)){ | ||
172 | + list.add(two); | ||
173 | + } | ||
174 | + if (!StringUtils.isBlank(three)){ | ||
175 | + list.add(three); | ||
176 | + } | ||
177 | + if (!StringUtils.isBlank(four)){ | ||
178 | + list.add(four); | ||
179 | + } | ||
180 | + //查询是否存在 | ||
181 | + if (securityDeclarationService.findWaybill(waybill) == 0){ | ||
182 | + //货物性质(类型)添加 | ||
183 | + for (String type: list){ | ||
184 | + SDCargoTypeEntity sdCargoTypeEntity = new SDCargoTypeEntity(); | ||
185 | + sdCargoTypeEntity.setSd_waybill(waybill); | ||
186 | + sdCargoTypeEntity.setSd_cargo_type(type); | ||
187 | + sdCargoTypeService.save(sdCargoTypeEntity); | ||
188 | + } | ||
189 | + | ||
190 | + //货物品名 | ||
191 | + String cName = cargoName.replaceAll(",", ","); | ||
192 | + String[] split = cName.split(","); | ||
193 | + for (int i=0; i<split.length; i++){ | ||
194 | + if (!StringUtils.isBlank(split[i]) || !"".equals(split[i])){ | ||
195 | + SDCargoNameEntity sdCargoNameEntity = new SDCargoNameEntity(); | ||
196 | + sdCargoNameEntity.setSd_waybill(waybill); | ||
197 | + sdCargoNameEntity.setSd_cargo_name(split[i]); | ||
198 | + sdCargoNameService.save(sdCargoNameEntity); | ||
199 | + } | ||
200 | + } | ||
201 | + | ||
202 | + UserEntity ue = (UserEntity)SecurityUtils.getSubject().getSession().getAttribute("user"); | ||
203 | + //添加安检申报 | ||
204 | + SecurityDeclarationEntity sd = new SecurityDeclarationEntity(); | ||
205 | + sd.setSd_waybill(waybill); | ||
206 | + sd.setSd_cargo_agent_name(cargoAgentName); | ||
207 | + sd.setSd_cargo_shipper_name(cargoShipperName); | ||
208 | + sd.setSd_iata_number(iataNumber); | ||
209 | + sd.setSd_transport_certificate(transportCertificate); | ||
210 | + sd.setSd_transportation_prove(transportationProve); | ||
211 | + sd.setSd_static("1"); | ||
212 | + if (ue != null){ | ||
213 | + if (ue.getId() != null ){ | ||
214 | + sd.setSd_user_id(ue.getId()); | ||
215 | + } | ||
216 | + } | ||
217 | + securityDeclarationService.save(sd); | ||
218 | + | ||
219 | + // 生成报文并且发送 | ||
220 | + String ndlrPath = MessageKit.getMessagePath(MessageType.NDLR); | ||
221 | + | ||
222 | + //存放数据Vo | ||
223 | + SDVo sdVo = new SDVo(); | ||
224 | + sdVo.setSd_waybill(waybill); | ||
225 | + sdVo.setSd_cargo_agent_name(cargoAgentName); | ||
226 | + sdVo.setSd_cargo_shipper_name(cargoShipperName); | ||
227 | + sdVo.setSd_iata_number(iataNumber); | ||
228 | + sdVo.setSd_transport_certificate(transportCertificate); | ||
229 | + sdVo.setSd_transportation_prove(transportationProve); | ||
230 | + //品名 | ||
231 | + sdVo.setSd_cargo_name(cargoName); | ||
232 | + //货物类型 | ||
233 | + String cargoType = ""; | ||
234 | + for (String s: list){ | ||
235 | + cargoType+=s+","; | ||
236 | + } | ||
237 | + sdVo.setSd_cargo_type(cargoType); | ||
238 | + | ||
239 | + //预配信息 | ||
240 | + ManifestEntity wbm = manifestService.findWbm(waybill); | ||
241 | + sdVo.setFlightno(wbm.getFlightno()); | ||
242 | + sdVo.setFlightdate(wbm.getFlightdate()); | ||
243 | + sdVo.setCarrier(wbm.getCarrier()); | ||
244 | + sdVo.setTotalpiece(wbm.getTotalpiece()); | ||
245 | + sdVo.setTotalweight(wbm.getTotalweight()); | ||
246 | + | ||
247 | + new XmlBuildTask(securityDeclarationService.sendNDLRXml(sdVo), ndlrPath).perform(); | ||
248 | + | ||
249 | + model.setStatus(200); | ||
250 | + }else { | ||
251 | + model.setStatus(203); | ||
252 | + } | ||
253 | + | ||
254 | + return model; | ||
255 | + } | ||
256 | + | ||
257 | + | ||
258 | + /** | ||
259 | + * 调转编辑页面 | ||
260 | + */ | ||
261 | + @RequestMapping(value = "/edit") | ||
262 | + public String edit(Model model, Long id){ | ||
263 | + | ||
264 | + String cargoName = ""; | ||
265 | + String cargoType = ""; | ||
266 | + SecurityDeclarationEntity sd = securityDeclarationService.findOne(id); | ||
267 | + model.addAttribute("sd", sd); | ||
268 | + | ||
269 | + //查询预配 | ||
270 | + ManifestEntity wbm = manifestService.findWbm(sd.getSd_waybill()); | ||
271 | + | ||
272 | + model.addAttribute("wbm", wbm); | ||
273 | + | ||
274 | + List<SDCargoTypeEntity> sdCargoTypeEntities = sdCargoTypeService.waybillAll(sd.getSd_waybill()); | ||
275 | + for (SDCargoTypeEntity type: sdCargoTypeEntities){ | ||
276 | + cargoType+=type.getSd_cargo_type(); | ||
277 | + } | ||
278 | + //货物性质(类型) | ||
279 | + | ||
280 | + model.addAttribute("type", cargoType); | ||
281 | + model.addAttribute("types", sdCargoTypeEntities); | ||
282 | + | ||
283 | + List<SDCargoNameEntity> sdCargoNameEntities = sdCargoNameService.waybillAll(sd.getSd_waybill()); | ||
284 | + for (SDCargoNameEntity sdCargoNameEntity: sdCargoNameEntities){ | ||
285 | + cargoName+=sdCargoNameEntity.getSd_cargo_name()+","; | ||
286 | + } | ||
287 | + String name = cargoName.substring(0, cargoName.length() - 1); | ||
288 | + model.addAttribute("name", name); | ||
289 | + | ||
290 | + return "declaration/edit"; | ||
291 | + } | ||
292 | + | ||
293 | + /** | ||
294 | + * 安检申报修改 | ||
295 | + * @param sd | ||
296 | + * @param request | ||
297 | + * @param waybill | ||
298 | + * @return | ||
299 | + */ | ||
300 | + @RequestMapping("/update") | ||
301 | + @ResponseBody | ||
302 | + public ResponseModel update(SecurityDeclarationEntity sd, HttpServletRequest request, String waybill){ | ||
303 | + ResponseModel model = new ResponseModel(); | ||
304 | + | ||
305 | + String one = request.getParameter("one"); | ||
306 | + String two = request.getParameter("two"); | ||
307 | + String three = request.getParameter("three"); | ||
308 | + String four = request.getParameter("four"); | ||
309 | + | ||
310 | + List<String> list = new ArrayList(); | ||
311 | + if (!StringUtils.isBlank(one)){ | ||
312 | + list.add(one); | ||
313 | + } | ||
314 | + if (!StringUtils.isBlank(two)){ | ||
315 | + list.add(two); | ||
316 | + } | ||
317 | + if (!StringUtils.isBlank(three)){ | ||
318 | + list.add(three); | ||
319 | + } | ||
320 | + if (!StringUtils.isBlank(four)){ | ||
321 | + list.add(four); | ||
322 | + } | ||
323 | + | ||
324 | + //先删除货物性质(类型 | ||
325 | + if (sdCargoTypeService.deleteAlls(waybill)>0){ | ||
326 | + //货物性质(类型)添加 | ||
327 | + for (String type: list){ | ||
328 | + SDCargoTypeEntity sdCargoTypeEntity = new SDCargoTypeEntity(); | ||
329 | + sdCargoTypeEntity.setSd_waybill(waybill); | ||
330 | + sdCargoTypeEntity.setSd_cargo_type(type); | ||
331 | + sdCargoTypeService.save(sdCargoTypeEntity); | ||
332 | + } | ||
333 | + } | ||
334 | + | ||
335 | + if (sdCargoNameService.deleteAlls(waybill)>0){ | ||
336 | + //货物品名 | ||
337 | + String cName = request.getParameter("sd_cargo_name").replaceAll(",", ","); | ||
338 | + String[] split = cName.split(","); | ||
339 | + for (int i=0; i<split.length; i++){ | ||
340 | + if (!StringUtils.isBlank(split[i]) || !"".equals(split[i])){ | ||
341 | + SDCargoNameEntity sdCargoNameEntity = new SDCargoNameEntity(); | ||
342 | + sdCargoNameEntity.setSd_waybill(waybill); | ||
343 | + sdCargoNameEntity.setSd_cargo_name(split[i]); | ||
344 | + sdCargoNameService.save(sdCargoNameEntity); | ||
345 | + } | ||
346 | + } | ||
347 | + } | ||
348 | + if (securityDeclarationService.update(sd, waybill)>0){ | ||
349 | + model.setStatus(200); | ||
350 | + } | ||
351 | + | ||
352 | + // 生成报文并且发送 | ||
353 | + String ndlrPath = MessageKit.getMessagePath(MessageType.NDLR); | ||
354 | + String dlcPath = MessageKit.getMessagePath(MessageType.DLCF); | ||
355 | + String sliPath = MessageKit.getMessagePath(MessageType.SLI); | ||
356 | + //存放数据Vo | ||
357 | + SDVo sdVo = new SDVo(); | ||
358 | + sdVo.setSd_waybill(waybill); | ||
359 | + sdVo.setSd_cargo_agent_name(sd.getSd_cargo_agent_name()); | ||
360 | + sdVo.setSd_cargo_shipper_name(sd.getSd_cargo_shipper_name()); | ||
361 | + sdVo.setSd_iata_number(sd.getSd_iata_number()); | ||
362 | + sdVo.setSd_transport_certificate(sd.getSd_transport_certificate()); | ||
363 | + sdVo.setSd_transportation_prove(sd.getSd_transportation_prove()); | ||
364 | + //品名 | ||
365 | + sdVo.setSd_cargo_name(request.getParameter("sd_cargo_name").replaceAll(",", ",")); | ||
366 | + //货物类型 | ||
367 | + String cargoType = ""; | ||
368 | + for (String s: list){ | ||
369 | + cargoType+=s+","; | ||
370 | + } | ||
371 | + sdVo.setSd_cargo_type(cargoType); | ||
372 | + | ||
373 | + //预配信息 | ||
374 | + ManifestEntity wbm = manifestService.findWbm(waybill); | ||
375 | + sdVo.setFlightno(wbm.getFlightno()); | ||
376 | + sdVo.setFlightdate(wbm.getFlightdate()); | ||
377 | + sdVo.setCarrier(wbm.getCarrier()); | ||
378 | + sdVo.setTotalpiece(wbm.getTotalpiece()); | ||
379 | + sdVo.setTotalweight(wbm.getTotalweight()); | ||
380 | + | ||
381 | + new XmlBuildTask(securityDeclarationService.sendNDLRXml(sdVo), ndlrPath).perform(); | ||
382 | + | ||
383 | + return model; | ||
384 | + } | ||
385 | + | ||
386 | + | ||
387 | + /** | ||
388 | + * 打印 | ||
389 | + */ | ||
390 | + @RequestMapping(value = "/print") | ||
391 | + public String print(Model model, Long id, HttpServletRequest request, HttpServletResponse response, HttpSession session) throws IOException, ParseException { | ||
392 | + | ||
393 | + String cargoType = ""; | ||
394 | + | ||
395 | + //安检申报数据 | ||
396 | + SecurityDeclarationEntity sd = securityDeclarationService.findOne(id); | ||
397 | + model.addAttribute("sd", sd); | ||
398 | + | ||
399 | + //航空公司运输证明 | ||
400 | + String[] split1 = sd.getSd_transportation_prove().split(","); | ||
401 | + | ||
402 | + //运单号取消 "-" | ||
403 | + String replace = sd.getSd_waybill().replace("-", ""); | ||
404 | + | ||
405 | + //生成相对路径 | ||
406 | + URL resource = this.getClass().getClassLoader().getResource("/"); | ||
407 | + String path = resource.getPath(); | ||
408 | + String s = path +"../../resource/img/bar_code/"+replace+".png"; | ||
409 | + //生成条形码 | ||
410 | + BarCodeUtil.generateFile(replace, s); | ||
411 | + | ||
412 | + | ||
413 | + model.addAttribute("path", replace); | ||
414 | + | ||
415 | + //查询预配 | ||
416 | + ManifestEntity wbm = manifestService.findWbm(sd.getSd_waybill()); | ||
417 | + SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd"); | ||
418 | + String format = simpleDateFormat.format(wbm.getFlightdate()); | ||
419 | + model.addAttribute("date", format); | ||
420 | + //主单数据 | ||
421 | + model.addAttribute("wbm", wbm); | ||
422 | + | ||
423 | + List<SDCargoTypeEntity> sdCargoTypeEntities = sdCargoTypeService.waybillAll(sd.getSd_waybill()); | ||
424 | + for (SDCargoTypeEntity type: sdCargoTypeEntities){ | ||
425 | + cargoType+=type.getSd_cargo_type(); | ||
426 | + } | ||
427 | + //货物性质(类型) | ||
428 | + model.addAttribute("type", cargoType); | ||
429 | + | ||
430 | + String cargoName = ""; | ||
431 | + //货物品名 | ||
432 | + List<SDCargoNameEntity> sdCargoNameEntities = sdCargoNameService.waybillAll(sd.getSd_waybill()); | ||
433 | + for (SDCargoNameEntity cargoNames : sdCargoNameEntities){ | ||
434 | + cargoName += cargoNames.getSd_cargo_name()+","; | ||
435 | + } | ||
436 | + String substring = cargoName.substring(0, cargoName.length() - 1); | ||
437 | + | ||
438 | + model.addAttribute("cargoName", substring); | ||
439 | + | ||
440 | + //航空公司运输证明 | ||
441 | + String sd_transportation_prove = sd.getSd_transportation_prove(); | ||
442 | + String[] split = sd_transportation_prove.split(","); | ||
443 | + String prove=""; | ||
444 | + for (int i=0; i<split.length; i++){ | ||
445 | + prove+=split[i]+","; | ||
446 | + } | ||
447 | + String substring1 = prove.substring(0, prove.length() - 1); | ||
448 | + model.addAttribute("prove", substring1); | ||
449 | + | ||
450 | + return "declaration/print"; | ||
451 | + } | ||
452 | +} |
@@ -68,6 +68,8 @@ public class HzInfoController { | @@ -68,6 +68,8 @@ public class HzInfoController { | ||
68 | 68 | ||
69 | Map<String, Object> searchParams = Servlets.getParametersStartingWith(request, "search_"); | 69 | Map<String, Object> searchParams = Servlets.getParametersStartingWith(request, "search_"); |
70 | // searchParams.put("LIKE_phone","17600319854"); | 70 | // searchParams.put("LIKE_phone","17600319854"); |
71 | + searchParams.put("LIKE_delete_flag","1"); | ||
72 | + | ||
71 | pageForm.setSearchParams(searchParams); | 73 | pageForm.setSearchParams(searchParams); |
72 | pageForm.parseData(hzInfoService.getPage(pageForm)); | 74 | pageForm.parseData(hzInfoService.getPage(pageForm)); |
73 | DataGrid<HZSHIPPERINFORMATIONEntity> hzshipperinformationEntityDataGrid = pageForm.getData(); | 75 | DataGrid<HZSHIPPERINFORMATIONEntity> hzshipperinformationEntityDataGrid = pageForm.getData(); |
@@ -262,10 +262,9 @@ public class WaybillnomasterController extends BasicController { | @@ -262,10 +262,9 @@ public class WaybillnomasterController extends BasicController { | ||
262 | } | 262 | } |
263 | 263 | ||
264 | /** | 264 | /** |
265 | - * * 模糊查询匹配信息 | ||
266 | - * | ||
267 | - * @param manifest | ||
268 | - * @return | 265 | + * 模糊查询匹配信息 |
266 | + * @param id | ||
267 | + * @param model | ||
269 | * @return | 268 | * @return |
270 | */ | 269 | */ |
271 | @RequestMapping(value = "/inforPre") | 270 | @RequestMapping(value = "/inforPre") |
1 | +package com.agent.entity.agent; | ||
2 | + | ||
3 | +import com.agent.entity.IdEntity; | ||
4 | + | ||
5 | +import javax.persistence.Entity; | ||
6 | +import javax.persistence.Table; | ||
7 | + | ||
8 | +/** | ||
9 | + * @Auther: shenhl | ||
10 | + * @Date: 2019/4/24 10:21 | ||
11 | + */ | ||
12 | +@Entity | ||
13 | +@Table(name = "SD_CARGO_NAME") | ||
14 | +public class SDCargoNameEntity extends IdEntity{ | ||
15 | + | ||
16 | + /** | ||
17 | + * 运单号 | ||
18 | + */ | ||
19 | + private String sd_waybill; | ||
20 | + | ||
21 | + /** | ||
22 | + * 货物品名 | ||
23 | + */ | ||
24 | + private String sd_cargo_name; | ||
25 | + | ||
26 | + public String getSd_waybill() { | ||
27 | + return sd_waybill; | ||
28 | + } | ||
29 | + | ||
30 | + public void setSd_waybill(String sd_waybill) { | ||
31 | + this.sd_waybill = sd_waybill; | ||
32 | + } | ||
33 | + | ||
34 | + public String getSd_cargo_name() { | ||
35 | + return sd_cargo_name; | ||
36 | + } | ||
37 | + | ||
38 | + public void setSd_cargo_name(String sd_cargo_name) { | ||
39 | + this.sd_cargo_name = sd_cargo_name; | ||
40 | + } | ||
41 | +} |
1 | +package com.agent.entity.agent; | ||
2 | + | ||
3 | +import com.agent.entity.IdEntity; | ||
4 | + | ||
5 | +import javax.persistence.Entity; | ||
6 | +import javax.persistence.Table; | ||
7 | + | ||
8 | +/** | ||
9 | + * @Auther: shenhl | ||
10 | + * @Date: 2019/4/24 10:25 | ||
11 | + */ | ||
12 | +@Entity | ||
13 | +@Table(name = "SD_CARGO_TYPE") | ||
14 | +public class SDCargoTypeEntity extends IdEntity{ | ||
15 | + | ||
16 | + /** | ||
17 | + * 运单号 | ||
18 | + */ | ||
19 | + private String sd_waybill; | ||
20 | + | ||
21 | + /** | ||
22 | + * 货物性质(类型) 1普通货物 2特种货物 3 危险品 4航空快件 | ||
23 | + */ | ||
24 | + private String sd_cargo_type; | ||
25 | + | ||
26 | + public String getSd_waybill() { | ||
27 | + return sd_waybill; | ||
28 | + } | ||
29 | + | ||
30 | + public void setSd_waybill(String sd_waybill) { | ||
31 | + this.sd_waybill = sd_waybill; | ||
32 | + } | ||
33 | + | ||
34 | + public String getSd_cargo_type() { | ||
35 | + return sd_cargo_type; | ||
36 | + } | ||
37 | + | ||
38 | + public void setSd_cargo_type(String sd_cargo_type) { | ||
39 | + this.sd_cargo_type = sd_cargo_type; | ||
40 | + } | ||
41 | +} |
1 | +package com.agent.entity.agent; | ||
2 | + | ||
3 | +import com.agent.entity.IdEntity; | ||
4 | + | ||
5 | +import javax.persistence.Entity; | ||
6 | +import javax.persistence.Table; | ||
7 | + | ||
8 | +/** | ||
9 | + * @Auther: shenhl | ||
10 | + * @Date: 2019/4/24 10:14 | ||
11 | + */ | ||
12 | +@Entity | ||
13 | +@Table(name = "SECURITY_DECLARATION") | ||
14 | +public class SecurityDeclarationEntity extends IdEntity{ | ||
15 | + | ||
16 | + /** | ||
17 | + * 运单号 | ||
18 | + */ | ||
19 | + private String sd_waybill; | ||
20 | + | ||
21 | + /** | ||
22 | + * 货物托运人名称 | ||
23 | + */ | ||
24 | + private String sd_cargo_shipper_name; | ||
25 | + | ||
26 | + /** | ||
27 | + * 货物代理人名称 | ||
28 | + */ | ||
29 | + private String sd_cargo_agent_name; | ||
30 | + | ||
31 | + /** | ||
32 | + * 航协编号 | ||
33 | + */ | ||
34 | + private String sd_iata_number; | ||
35 | + | ||
36 | + /** | ||
37 | + * 运输条件鉴定书 | ||
38 | + */ | ||
39 | + private String sd_transport_certificate; | ||
40 | + | ||
41 | + /** | ||
42 | + * 航空公司同意运输证明 | ||
43 | + */ | ||
44 | + private String sd_transportation_prove; | ||
45 | + | ||
46 | + /** | ||
47 | + * 用户id | ||
48 | + * @return | ||
49 | + */ | ||
50 | + private Long sd_user_id; | ||
51 | + | ||
52 | + /** | ||
53 | + * 状态 1已发送 2未发送 | ||
54 | + * @return | ||
55 | + */ | ||
56 | + private String sd_static; | ||
57 | + | ||
58 | + | ||
59 | + public Long getSd_user_id() { | ||
60 | + return sd_user_id; | ||
61 | + } | ||
62 | + | ||
63 | + public void setSd_user_id(Long sd_user_id) { | ||
64 | + this.sd_user_id = sd_user_id; | ||
65 | + } | ||
66 | + | ||
67 | + public String getSd_static() { | ||
68 | + return sd_static; | ||
69 | + } | ||
70 | + | ||
71 | + public void setSd_static(String sd_static) { | ||
72 | + this.sd_static = sd_static; | ||
73 | + } | ||
74 | + | ||
75 | + public String getSd_waybill() { | ||
76 | + return sd_waybill; | ||
77 | + } | ||
78 | + | ||
79 | + public void setSd_waybill(String sd_waybill) { | ||
80 | + this.sd_waybill = sd_waybill; | ||
81 | + } | ||
82 | + | ||
83 | + public String getSd_cargo_shipper_name() { | ||
84 | + return sd_cargo_shipper_name; | ||
85 | + } | ||
86 | + | ||
87 | + public void setSd_cargo_shipper_name(String sd_cargo_shipper_name) { | ||
88 | + this.sd_cargo_shipper_name = sd_cargo_shipper_name; | ||
89 | + } | ||
90 | + | ||
91 | + public String getSd_cargo_agent_name() { | ||
92 | + return sd_cargo_agent_name; | ||
93 | + } | ||
94 | + | ||
95 | + public void setSd_cargo_agent_name(String sd_cargo_agent_name) { | ||
96 | + this.sd_cargo_agent_name = sd_cargo_agent_name; | ||
97 | + } | ||
98 | + | ||
99 | + public String getSd_iata_number() { | ||
100 | + return sd_iata_number; | ||
101 | + } | ||
102 | + | ||
103 | + public void setSd_iata_number(String sd_iata_number) { | ||
104 | + this.sd_iata_number = sd_iata_number; | ||
105 | + } | ||
106 | + | ||
107 | + public String getSd_transport_certificate() { | ||
108 | + return sd_transport_certificate; | ||
109 | + } | ||
110 | + | ||
111 | + public void setSd_transport_certificate(String sd_transport_certificate) { | ||
112 | + this.sd_transport_certificate = sd_transport_certificate; | ||
113 | + } | ||
114 | + | ||
115 | + public String getSd_transportation_prove() { | ||
116 | + return sd_transportation_prove; | ||
117 | + } | ||
118 | + | ||
119 | + public void setSd_transportation_prove(String sd_transportation_prove) { | ||
120 | + this.sd_transportation_prove = sd_transportation_prove; | ||
121 | + } | ||
122 | +} |
1 | +package com.agent.repository.system; | ||
2 | + | ||
3 | +import com.agent.entity.agent.SDCargoNameEntity; | ||
4 | +import org.springframework.data.jpa.repository.JpaSpecificationExecutor; | ||
5 | +import org.springframework.data.jpa.repository.Modifying; | ||
6 | +import org.springframework.data.jpa.repository.Query; | ||
7 | +import org.springframework.data.repository.PagingAndSortingRepository; | ||
8 | +import org.springframework.transaction.annotation.Transactional; | ||
9 | + | ||
10 | +import java.util.List; | ||
11 | + | ||
12 | +/** | ||
13 | + * @Auther: shenhl | ||
14 | + * @Date: 2019/4/24 16:39 | ||
15 | + */ | ||
16 | +public interface SDCargoNameRepository extends PagingAndSortingRepository<SDCargoNameEntity, Long>, | ||
17 | + JpaSpecificationExecutor<SDCargoNameEntity> { | ||
18 | + | ||
19 | + | ||
20 | + @Query(value = "select * from SD_CARGO_NAME where sd_waybill = ?1", nativeQuery = true) | ||
21 | + List<SDCargoNameEntity>waybillAll(String waybill); | ||
22 | + | ||
23 | + @Transactional | ||
24 | + @Modifying | ||
25 | + @Query(value = "delete from SD_CARGO_NAME where id = ?1", nativeQuery = true) | ||
26 | + int deleteAlls(Long waybill); | ||
27 | + | ||
28 | +} |
1 | +package com.agent.repository.system; | ||
2 | + | ||
3 | +import com.agent.entity.agent.SDCargoTypeEntity; | ||
4 | +import org.springframework.data.jpa.repository.JpaSpecificationExecutor; | ||
5 | +import org.springframework.data.jpa.repository.Modifying; | ||
6 | +import org.springframework.data.jpa.repository.Query; | ||
7 | +import org.springframework.data.repository.PagingAndSortingRepository; | ||
8 | +import org.springframework.transaction.annotation.Transactional; | ||
9 | + | ||
10 | +import java.util.List; | ||
11 | + | ||
12 | +/** | ||
13 | + * @Auther: shenhl | ||
14 | + * @Date: 2019/4/24 16:39 | ||
15 | + */ | ||
16 | +public interface SDCargoTypeRepository extends PagingAndSortingRepository<SDCargoTypeEntity, Long>, | ||
17 | + JpaSpecificationExecutor<SDCargoTypeEntity> { | ||
18 | + | ||
19 | + | ||
20 | + @Query(value = "select * from SD_CARGO_TYPE where sd_waybill =?1", nativeQuery = true) | ||
21 | + List<SDCargoTypeEntity>waybillAll(String waybill); | ||
22 | + | ||
23 | + @Transactional | ||
24 | + @Modifying | ||
25 | + @Query(value = "delete from SD_CARGO_TYPE where id=?1", nativeQuery = true) | ||
26 | + int deleteAlls(Long waybill); | ||
27 | + | ||
28 | +} |
1 | +package com.agent.repository.system; | ||
2 | + | ||
3 | +import com.agent.entity.agent.SecurityDeclarationEntity; | ||
4 | +import org.springframework.data.jpa.repository.JpaSpecificationExecutor; | ||
5 | +import org.springframework.data.jpa.repository.Modifying; | ||
6 | +import org.springframework.data.jpa.repository.Query; | ||
7 | +import org.springframework.data.repository.PagingAndSortingRepository; | ||
8 | +import org.springframework.transaction.annotation.Transactional; | ||
9 | + | ||
10 | +/** | ||
11 | + * @Auther: shenhl | ||
12 | + * @Date: 2019/4/24 16:38 | ||
13 | + */ | ||
14 | +public interface SecurityDeclarationRepository extends PagingAndSortingRepository<SecurityDeclarationEntity, Long>, | ||
15 | + JpaSpecificationExecutor<SecurityDeclarationEntity> { | ||
16 | + | ||
17 | + @Transactional | ||
18 | + @Modifying | ||
19 | + @Query(value = "update SECURITY_DECLARATION set SD_WAYBILL=?2, SD_CARGO_SHIPPER_NAME=?4, SD_CARGO_AGENT_NAME=?3, SD_IATA_NUMBER=?5, SD_TRANSPORT_CERTIFICATE=?6, SD_TRANSPORTATION_PROVE=?7 where id=?1", nativeQuery = true) | ||
20 | + int update(Long id, String waybill, | ||
21 | + String cargoAgent, String cargoShipper, | ||
22 | + String iata, String tranposrt, String prove); | ||
23 | + | ||
24 | + @Query(value = "select count(*) from SECURITY_DECLARATION where SD_WAYBILL = ?1", nativeQuery = true) | ||
25 | + int findWaybill(String waybill); | ||
26 | + | ||
27 | +} |
@@ -276,7 +276,7 @@ public class ManifestService extends BasicService<ManifestEntity> { | @@ -276,7 +276,7 @@ public class ManifestService extends BasicService<ManifestEntity> { | ||
276 | dms.setMeta(mdme); | 276 | dms.setMeta(mdme); |
277 | DeclarePreparemasterXmlBody body = generateXml(manifest); | 277 | DeclarePreparemasterXmlBody body = generateXml(manifest); |
278 | dms.setDeclarepreparemasterxmlbody(body); | 278 | dms.setDeclarepreparemasterxmlbody(body); |
279 | - // System.out.println(JSONObject.toJSONString(dms)); | 279 | +// System.out.println(JSONObject.toJSONString(dms)); |
280 | return dms; | 280 | return dms; |
281 | } | 281 | } |
282 | 282 |
1 | +package com.agent.service.system; | ||
2 | + | ||
3 | +import com.agent.entity.agent.SDCargoNameEntity; | ||
4 | +import com.agent.entity.agent.SDCargoTypeEntity; | ||
5 | +import com.agent.repository.system.SDCargoNameRepository; | ||
6 | +import com.agent.service.BasicService; | ||
7 | +import org.springframework.beans.factory.annotation.Autowired; | ||
8 | +import org.springframework.stereotype.Service; | ||
9 | +import org.springframework.transaction.annotation.Transactional; | ||
10 | + | ||
11 | +import java.util.List; | ||
12 | + | ||
13 | +/** | ||
14 | + * @Auther: shenhl | ||
15 | + * @Date: 2019/4/24 16:49 | ||
16 | + */ | ||
17 | +@Service | ||
18 | +public class SDCargoNameService extends BasicService<SDCargoNameEntity>{ | ||
19 | + | ||
20 | + @Autowired | ||
21 | + private SDCargoNameRepository sdCargoNameRepository; | ||
22 | + | ||
23 | + public SDCargoNameEntity save(SDCargoNameEntity sdCargoNameEntity){ | ||
24 | + return sdCargoNameRepository.save(sdCargoNameEntity); | ||
25 | + } | ||
26 | + | ||
27 | + public List<SDCargoNameEntity> waybillAll(String waybill){ | ||
28 | + return sdCargoNameRepository.waybillAll(waybill); | ||
29 | + } | ||
30 | + | ||
31 | + @Transactional | ||
32 | + public int deleteAlls(String waybill){ | ||
33 | + int i =0; | ||
34 | + List<SDCargoNameEntity> sdCargoNameEntities = sdCargoNameRepository.waybillAll(waybill); | ||
35 | + for (SDCargoNameEntity sd : sdCargoNameEntities){ | ||
36 | + i = sdCargoNameRepository.deleteAlls(sd.getId()); | ||
37 | + } | ||
38 | + return i; | ||
39 | + } | ||
40 | + | ||
41 | + | ||
42 | +} |
1 | +package com.agent.service.system; | ||
2 | + | ||
3 | +import com.agent.entity.agent.SDCargoTypeEntity; | ||
4 | +import com.agent.repository.system.SDCargoTypeRepository; | ||
5 | +import com.agent.service.BasicService; | ||
6 | +import org.apache.xmlbeans.impl.xb.xsdschema.ListDocument; | ||
7 | +import org.springframework.beans.factory.annotation.Autowired; | ||
8 | +import org.springframework.stereotype.Service; | ||
9 | +import org.springframework.transaction.annotation.Transactional; | ||
10 | + | ||
11 | +import java.util.List; | ||
12 | + | ||
13 | +/** | ||
14 | + * @Auther: shenhl | ||
15 | + * @Date: 2019/4/24 16:48 | ||
16 | + */ | ||
17 | +@Service | ||
18 | +public class SDCargoTypeService extends BasicService<SDCargoTypeEntity>{ | ||
19 | + | ||
20 | + @Autowired | ||
21 | + private SDCargoTypeRepository sdCargoTypeRepository; | ||
22 | + | ||
23 | + | ||
24 | + public SDCargoTypeEntity save(SDCargoTypeEntity sdCargoTypeEntity){ | ||
25 | + return sdCargoTypeRepository.save(sdCargoTypeEntity); | ||
26 | + } | ||
27 | + | ||
28 | + public List<SDCargoTypeEntity> waybillAll(String waybill){ | ||
29 | + return sdCargoTypeRepository.waybillAll(waybill); | ||
30 | + } | ||
31 | + | ||
32 | + @Transactional | ||
33 | + public int deleteAlls(String waybill){ | ||
34 | + int i=0; | ||
35 | + List<SDCargoTypeEntity> sdCargoTypeEntities = sdCargoTypeRepository.waybillAll(waybill); | ||
36 | + for (SDCargoTypeEntity sd: sdCargoTypeEntities){ | ||
37 | + i=sdCargoTypeRepository.deleteAlls(sd.getId()); | ||
38 | + } | ||
39 | + return i; | ||
40 | + } | ||
41 | + | ||
42 | +} |
1 | +package com.agent.service.system; | ||
2 | + | ||
3 | +import com.agent.entity.Constant; | ||
4 | +import com.agent.entity.agent.ManifestEntity; | ||
5 | +import com.agent.entity.agent.SecurityDeclarationEntity; | ||
6 | +import com.agent.repository.system.SecurityDeclarationRepository; | ||
7 | +import com.agent.service.BasicService; | ||
8 | +import com.agent.vo.agent.SDVo; | ||
9 | +import com.agent.xml.common.XmlHead; | ||
10 | +import com.agent.xml.manifestdeclare.*; | ||
11 | +import com.agent.xml.secuity.SecurityDeclarationXml; | ||
12 | +import com.alibaba.fastjson.JSONObject; | ||
13 | +import com.plugin.easyui.EasyPage; | ||
14 | +import org.springframework.beans.factory.annotation.Autowired; | ||
15 | +import org.springframework.data.domain.Page; | ||
16 | +import org.springframework.data.domain.PageRequest; | ||
17 | +import org.springframework.data.jpa.domain.Specification; | ||
18 | +import org.springframework.stereotype.Service; | ||
19 | + | ||
20 | +import java.text.SimpleDateFormat; | ||
21 | +import java.util.Date; | ||
22 | + | ||
23 | +/** | ||
24 | + * @Auther: shenhl | ||
25 | + * @Date: 2019/4/24 16:46 | ||
26 | + */ | ||
27 | +@Service | ||
28 | +public class SecurityDeclarationService extends BasicService<SecurityDeclarationEntity> { | ||
29 | + | ||
30 | + @Autowired | ||
31 | + private SecurityDeclarationRepository securityDeclarationRepository; | ||
32 | + | ||
33 | + | ||
34 | + /** | ||
35 | + * 分页查询 | ||
36 | + * | ||
37 | + * @param pageForm 分页对象 | ||
38 | + * @return 包含分页信息和数据的分页对象 | ||
39 | + */ | ||
40 | + public Page<SecurityDeclarationEntity> getPage(EasyPage<SecurityDeclarationEntity> pageForm) { | ||
41 | + PageRequest pageRequest = buildPageRequest(pageForm); | ||
42 | + Specification<SecurityDeclarationEntity> spec = buildSpecification(pageForm); | ||
43 | + Page<SecurityDeclarationEntity> page = securityDeclarationRepository.findAll(spec, pageRequest); | ||
44 | + return page; | ||
45 | + } | ||
46 | + | ||
47 | + public int findWaybill(String waybill){ | ||
48 | + return securityDeclarationRepository.findWaybill(waybill); | ||
49 | + } | ||
50 | + | ||
51 | + | ||
52 | + public SecurityDeclarationEntity save(SecurityDeclarationEntity securityDeclarationEntity){ | ||
53 | + return securityDeclarationRepository.save(securityDeclarationEntity); | ||
54 | + } | ||
55 | + | ||
56 | + | ||
57 | + public SecurityDeclarationEntity findOne(Long id){ | ||
58 | + return securityDeclarationRepository.findOne(id); | ||
59 | + } | ||
60 | + | ||
61 | + public int update(SecurityDeclarationEntity sd, String waybill){ | ||
62 | + | ||
63 | + return securityDeclarationRepository.update(sd.getId(), waybill, | ||
64 | + sd.getSd_cargo_agent_name(), sd.getSd_cargo_shipper_name(), | ||
65 | + sd.getSd_iata_number(), sd.getSd_transport_certificate(), | ||
66 | + sd.getSd_transportation_prove()); | ||
67 | + } | ||
68 | + | ||
69 | + | ||
70 | + | ||
71 | + // 安检申报发送NDLR | ||
72 | + public ManifestDeclareMsgXml sendNDLRXml(SDVo sdVo) { | ||
73 | + // 同时生成2分报文 并且发送 | ||
74 | + ManifestDeclareMsgXml dms = new ManifestDeclareMsgXml(); | ||
75 | + ManifestDeclareMetaXml mdme = new ManifestDeclareMetaXml(); | ||
76 | + mdme.setSndr("NDLR"); | ||
77 | + mdme.setRcvr(""); | ||
78 | + mdme.setSeqn(sdVo.getSd_waybill()); | ||
79 | + mdme.setDdtm(Constant.dateTimeFormatnumber.format(new Date())); | ||
80 | + mdme.setType("HYXX"); | ||
81 | + mdme.setStyp("AJXX"); | ||
82 | + dms.setMeta(mdme); | ||
83 | + DeclarePreparemasterXmlBody body = generateXml(sdVo); | ||
84 | + dms.setDeclarepreparemasterxmlbody(body); | ||
85 | + System.out.println(dms.toString()); | ||
86 | + return dms; | ||
87 | + } | ||
88 | + | ||
89 | + | ||
90 | + // 安检申报公共报文 | ||
91 | + private DeclarePreparemasterXmlBody generateXml(SDVo sdVo) { | ||
92 | + // 生成报文 | ||
93 | + DeclarePreparemasterXmlBody body = new DeclarePreparemasterXmlBody(); | ||
94 | + // 设置xml开头 | ||
95 | + XmlHead head = new XmlHead(); | ||
96 | + head.setMessageID("CN_MT2201_1P0_460470678920X_" + Constant.dateTimeFormatnumber.format(new Date())); | ||
97 | + head.setFunctionCode("9"); | ||
98 | + head.setMessageType("MT2201MASTER"); | ||
99 | + head.setSenderID("460470678920X_DXPENT0000460002_" + Constant.dateTimeFormatnumber.format(new Date())); | ||
100 | + head.setReceiverID("4604_" + Constant.dateTimeFormatnumber.format(new Date())); | ||
101 | + head.setSendTime(Constant.dateTimeFormatnumber.format(new Date())); | ||
102 | + head.setVersion("1.0"); | ||
103 | + body.setHead(head); | ||
104 | + // 安检申报 共用预配舱单 | ||
105 | + ManifestDeclarationXml dec = new ManifestDeclarationXml(); | ||
106 | + // 承运人 | ||
107 | + ManifestCarrierXml carr = new ManifestCarrierXml(); | ||
108 | + carr.setId(sdVo.getCarrier()); | ||
109 | + dec.setCarrier(carr); | ||
110 | + // 目的站 | ||
111 | + ManifestDesXml md = new ManifestDesXml(); | ||
112 | + md.setId(sdVo.getDestinationstation()); | ||
113 | + dec.setDes(md); | ||
114 | + | ||
115 | + // 航班号-航班日期 | ||
116 | + ManifestBorderTransportMeansXml mt = new ManifestBorderTransportMeansXml(); | ||
117 | + mt.setJourneyid(sdVo.getFlightno() + "/" + Constant.dateFormat.format(sdVo.getFlightdate())); | ||
118 | + dec.setBordertransportmeans(mt); | ||
119 | + | ||
120 | + // 运单号 | ||
121 | + ManifestTransportContractDocumentXml mac = new ManifestTransportContractDocumentXml(); | ||
122 | + mac.setId(sdVo.getSd_waybill()); | ||
123 | + | ||
124 | + SecurityDeclarationXml sdXml = new SecurityDeclarationXml(); | ||
125 | + sdXml.setCargoAgentName(sdVo.getSd_cargo_agent_name()); | ||
126 | + sdXml.setCargoName(sdVo.getSd_cargo_name()); | ||
127 | + sdXml.setCargoType(sdVo.getSd_cargo_type().substring(0, sdVo.getSd_cargo_type().length()-1)); | ||
128 | + sdXml.setShipperName(sdVo.getSd_cargo_shipper_name()); | ||
129 | + sdXml.setIataNo(sdVo.getSd_iata_number()); | ||
130 | + sdXml.setPiece(sdVo.getTotalpiece()); | ||
131 | + sdXml.setWeight(sdVo.getTotalweight()); | ||
132 | + sdXml.setTransportCertificate(sdVo.getSd_transport_certificate()); | ||
133 | + sdXml.setTransportationProve(sdVo.getSd_transportation_prove()); | ||
134 | + dec.setSecurityDeclarationXml(sdXml); | ||
135 | + | ||
136 | + body.setDeclaration(dec); | ||
137 | + return body; | ||
138 | + } | ||
139 | + | ||
140 | +} |
1 | +package com.agent.util; | ||
2 | + | ||
3 | +import cn.jiguang.common.utils.StringUtils; | ||
4 | +import org.krysalis.barcode4j.impl.code128.Code128Encoder; | ||
5 | +import org.krysalis.barcode4j.impl.code39.Code39Bean; | ||
6 | +import org.krysalis.barcode4j.output.bitmap.BitmapCanvasProvider; | ||
7 | +import org.krysalis.barcode4j.tools.UnitConv; | ||
8 | + | ||
9 | +import javax.imageio.ImageIO; | ||
10 | +import javax.servlet.ServletException; | ||
11 | +import javax.servlet.http.HttpServletRequest; | ||
12 | +import javax.servlet.http.HttpServletResponse; | ||
13 | +import java.awt.image.BufferedImage; | ||
14 | +import java.io.*; | ||
15 | + | ||
16 | +/** | ||
17 | + * @Auther: shenhl | ||
18 | + * @Date: 2019/4/30 10:11 | ||
19 | + */ | ||
20 | +public class BarCodeUtil { | ||
21 | + /** | ||
22 | + * 生成文件 | ||
23 | + * | ||
24 | + * @param msg | ||
25 | + * @param path | ||
26 | + * @return | ||
27 | + */ | ||
28 | + public static File generateFile(String msg, String path) { | ||
29 | + File file = new File(path); | ||
30 | + try { | ||
31 | + generate(msg, new FileOutputStream(file)); | ||
32 | + } catch (FileNotFoundException e) { | ||
33 | + throw new RuntimeException(e); | ||
34 | + } | ||
35 | + return file; | ||
36 | + } | ||
37 | + | ||
38 | + /** | ||
39 | + * 生成字节 | ||
40 | + * | ||
41 | + * @param msg | ||
42 | + * @return | ||
43 | + */ | ||
44 | + public static byte[] generate(String msg) { | ||
45 | + ByteArrayOutputStream ous = new ByteArrayOutputStream(); | ||
46 | + generate(msg, ous); | ||
47 | + return ous.toByteArray(); | ||
48 | + } | ||
49 | + | ||
50 | + /** | ||
51 | + * 生成到流 | ||
52 | + * | ||
53 | + * @param msg | ||
54 | + * @param ous | ||
55 | + */ | ||
56 | + public static void generate(String msg, OutputStream ous) { | ||
57 | + if (StringUtils.isEmpty(msg) || ous == null) { | ||
58 | + return; | ||
59 | + } | ||
60 | + | ||
61 | + Code39Bean bean = new Code39Bean(); | ||
62 | + | ||
63 | + // 精细度 | ||
64 | + final int dpi = 150; | ||
65 | + // module宽度 | ||
66 | + final double moduleWidth = UnitConv.in2mm(1.0f / dpi); | ||
67 | + | ||
68 | + // 配置对象 | ||
69 | + bean.setModuleWidth(moduleWidth); | ||
70 | + bean.setWideFactor(3); | ||
71 | + bean.doQuietZone(false); | ||
72 | + | ||
73 | + String format = "image/png"; | ||
74 | + try { | ||
75 | + | ||
76 | + // 输出到流 | ||
77 | + BitmapCanvasProvider canvas = new BitmapCanvasProvider(ous, format, dpi, | ||
78 | + BufferedImage.TYPE_BYTE_BINARY, false, 0); | ||
79 | + | ||
80 | + // 生成条形码 | ||
81 | + bean.generateBarcode(canvas, msg); | ||
82 | + | ||
83 | + // 结束绘制 | ||
84 | + canvas.finish(); | ||
85 | + } catch (IOException e) { | ||
86 | + throw new RuntimeException(e); | ||
87 | + } | ||
88 | + } | ||
89 | + | ||
90 | + | ||
91 | + | ||
92 | +// public static void main(String[] args) { | ||
93 | +// String msg = "172-27295203"; | ||
94 | +// String path = "D:/shangyou/agent/barcode.png"; | ||
95 | +// File file = generateFile(msg, path); | ||
96 | +// System.out.println(file); | ||
97 | +// } | ||
98 | + | ||
99 | +} |
1 | package com.agent.xml.manifestdeclare; | 1 | package com.agent.xml.manifestdeclare; |
2 | 2 | ||
3 | +import com.agent.xml.secuity.SecurityDeclarationXml; | ||
4 | + | ||
3 | import javax.xml.bind.annotation.XmlAccessType; | 5 | import javax.xml.bind.annotation.XmlAccessType; |
4 | import javax.xml.bind.annotation.XmlAccessorType; | 6 | import javax.xml.bind.annotation.XmlAccessorType; |
5 | import javax.xml.bind.annotation.XmlElement; | 7 | import javax.xml.bind.annotation.XmlElement; |
@@ -24,9 +26,21 @@ public class ManifestDeclarationXml { | @@ -24,9 +26,21 @@ public class ManifestDeclarationXml { | ||
24 | @XmlElement(name = "BorderTransportMeans",required = false) | 26 | @XmlElement(name = "BorderTransportMeans",required = false) |
25 | private ManifestBorderTransportMeansXml bordertransportmeans; | 27 | private ManifestBorderTransportMeansXml bordertransportmeans; |
26 | 28 | ||
29 | + //安检申报 | ||
30 | + @XmlElement(name = "SD", required = false) | ||
31 | + private SecurityDeclarationXml securityDeclarationXml; | ||
32 | + | ||
27 | @XmlElement(name = "Consignment",required = false) | 33 | @XmlElement(name = "Consignment",required = false) |
28 | private ManifestConsignmentXml consignment; | 34 | private ManifestConsignmentXml consignment; |
29 | 35 | ||
36 | + public SecurityDeclarationXml getSecurityDeclarationXml() { | ||
37 | + return securityDeclarationXml; | ||
38 | + } | ||
39 | + | ||
40 | + public void setSecurityDeclarationXml(SecurityDeclarationXml securityDeclarationXml) { | ||
41 | + this.securityDeclarationXml = securityDeclarationXml; | ||
42 | + } | ||
43 | + | ||
30 | public ManifestCarrierXml getCarrier() { | 44 | public ManifestCarrierXml getCarrier() { |
31 | return carrier; | 45 | return carrier; |
32 | } | 46 | } |
@@ -46,7 +46,7 @@ public class DynamicSpecifications { | @@ -46,7 +46,7 @@ public class DynamicSpecifications { | ||
46 | if("java.lang.Integer".equals(c.getName()) || "int".equals(c.getName())) { | 46 | if("java.lang.Integer".equals(c.getName()) || "int".equals(c.getName())) { |
47 | Integer v = Integer.parseInt(filter.value.toString()); | 47 | Integer v = Integer.parseInt(filter.value.toString()); |
48 | predicates.add(builder.equal(expression, v)); | 48 | predicates.add(builder.equal(expression, v)); |
49 | - }else if("java.lang.Long".equals(c.getName()) || "long".equals(c.getName())) { | 49 | + }else if("java.lang.LongEntity4".equals(c.getName()) || "long".equals(c.getName())) { |
50 | Long v = Long.parseLong(filter.value.toString()); | 50 | Long v = Long.parseLong(filter.value.toString()); |
51 | predicates.add(builder.equal(expression, v)); | 51 | predicates.add(builder.equal(expression, v)); |
52 | }else{ | 52 | }else{ |
@@ -77,6 +77,7 @@ | @@ -77,6 +77,7 @@ | ||
77 | /receipt/a0608c4054662dd902e1314f7e450e3eaa81c114 = anon | 77 | /receipt/a0608c4054662dd902e1314f7e450e3eaa81c114 = anon |
78 | /login = anon | 78 | /login = anon |
79 | /loginApi= anon | 79 | /loginApi= anon |
80 | + | ||
80 | /druid/** = anon | 81 | /druid/** = anon |
81 | /unauthorized = anon | 82 | /unauthorized = anon |
82 | /resource/** = anon | 83 | /resource/** = anon |
@@ -89,7 +90,7 @@ | @@ -89,7 +90,7 @@ | ||
89 | 90 | ||
90 | /**/cross/** = anon | 91 | /**/cross/** = anon |
91 | /tracking/detail/** = anon | 92 | /tracking/detail/** = anon |
92 | - | 93 | + /img/bar_code/** = anon |
93 | /manifest/save = anon | 94 | /manifest/save = anon |
94 | /logout = logout | 95 | /logout = logout |
95 | /** = anon | 96 | /** = anon |
1 | +<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> | ||
2 | +<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> | ||
3 | +<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | ||
4 | +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | ||
5 | +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | ||
6 | +<% | ||
7 | + String path = request.getContextPath(); | ||
8 | + String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() | ||
9 | + + path + "/"; | ||
10 | +%> | ||
11 | + | ||
12 | +<!DOCTYPE html> | ||
13 | +<html lang="en"> | ||
14 | +<head> | ||
15 | +<meta charset="utf-8"> | ||
16 | +<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
17 | +<link href="<%=basePath%>resource/css/base.css?version=${version}" rel="stylesheet"> | ||
18 | +<link href="<%=basePath%>resource/css/basic_info.css" rel="stylesheet"> | ||
19 | +<link rel="stylesheet" type="text/css" href="<%=basePath%>resource/easyui/uimaker/icon.css?version=${version}"> | ||
20 | +<link rel="stylesheet" href="<%=basePath%>resource/easyui/uimaker/easyui.css?version=${version}"> | ||
21 | +<link rel="stylesheet" href="<%=basePath%>resource/css/form.css?version=${version}"> | ||
22 | +<script type="text/javascript" src="<%=basePath%>resource/easyui/jquery.min.js?version=${version}"></script> | ||
23 | +<script type="text/javascript" src="<%=basePath%>resource/validate/jquery.validate.js?version=${version}"></script> | ||
24 | +<script type="text/javascript" src="<%=basePath%>resource/validate/validate-extends.js?version=${version}"></script> | ||
25 | + | ||
26 | +<link rel="stylesheet" href="<%=basePath%>resource/layui/css/layui.css?version=${version}" media="all"> | ||
27 | +<script type="text/javascript" src="<%=basePath%>resource/layer-v3.0.3/layer/layer.js?version=${version}"></script> | ||
28 | +<script type="text/javascript" src="<%=basePath%>resource/layui/layui.js?version=${version}"></script> | ||
29 | + | ||
30 | +<style type="text/css"> | ||
31 | +.required_span { | ||
32 | + color: red; | ||
33 | + margin-left: 10px; | ||
34 | + font-size: 20px; | ||
35 | +} | ||
36 | +</style> | ||
37 | + | ||
38 | +<!-- validate 验证中英文 --> | ||
39 | +<script type="text/javascript" | ||
40 | + src="<%=basePath %>resource/validate/jquery.validate-${pageContext.response.locale}.js"></script> | ||
41 | + | ||
42 | +</head> | ||
43 | +<body> | ||
44 | + <div class="container"> | ||
45 | + <div class="content"> | ||
46 | + <form class="from-control" id="form"> | ||
47 | + <input type="hidden" id="id" name="id" value="${sd.id}"> | ||
48 | + <table class="kv-table" id="tableId"> | ||
49 | + <tbody> | ||
50 | + <tr> | ||
51 | + <td class="kv-label">主单号 | ||
52 | + <span class="required_span">*</span> | ||
53 | + </td> | ||
54 | + <td class="kv-content"> | ||
55 | + <input required id="waybill" minlength="12" name="waybill" value="${sd.sd_waybill}" disabled> | ||
56 | + </td> | ||
57 | + | ||
58 | + <td class="kv-label">航空货物性质 | ||
59 | + <span class="required_span">*</span> | ||
60 | + </td> | ||
61 | + | ||
62 | + <td class="kv-content"> | ||
63 | + <label> | ||
64 | + <input id="one" name="one" type="checkbox" ${fn:contains(type, 1)?"checked":""} value="1" >普通货物 | ||
65 | + </label> | ||
66 | + <label> | ||
67 | + <input id="two" name="two" type="checkbox" ${fn:contains(type, 2)?"checked":""} value="2">特种货物 | ||
68 | + </label> | ||
69 | + <label> | ||
70 | + <input id="three" name="three" type="checkbox" ${fn:contains(type, 3)?"checked":""} value="3">危险品 | ||
71 | + </label> | ||
72 | + <label> | ||
73 | + <input id="four" name="four" type="checkbox" ${fn:contains(type, 4)?"checked":""} value="4">航空快件 | ||
74 | + </label> | ||
75 | + </td> | ||
76 | + </tr> | ||
77 | + <tr> | ||
78 | + <td class="kv-label">承运航空公司 | ||
79 | + <span class="required_span">*</span> | ||
80 | + </td> | ||
81 | + <td class="kv-content"> | ||
82 | + <input disabled value="${wbm.carrier}" disabled> | ||
83 | + </td> | ||
84 | + | ||
85 | + <td class="kv-label">航班号 | ||
86 | + <span class="required_span">*</span> | ||
87 | + </td> | ||
88 | + <td class="kv-content"> | ||
89 | + <input disabled value="${wbm.flightno}" disabled> | ||
90 | + </td> | ||
91 | + | ||
92 | + </tr> | ||
93 | + <tr> | ||
94 | + <td class="kv-label">航班日期 | ||
95 | + <span class="required_span">*</span> | ||
96 | + </td> | ||
97 | + <td class="kv-content"> | ||
98 | + <input disabled value="${wbm.flightdate}" disabled> | ||
99 | + </td> | ||
100 | + | ||
101 | + <td class="kv-label">航空货物托运人名称 | ||
102 | + <span class="required_span">*</span> | ||
103 | + </td> | ||
104 | + <td class="kv-content"> | ||
105 | + <input required id="sd_cargo_shipper_name" name="sd_cargo_shipper_name" type="text" value="${sd.sd_cargo_shipper_name}"> | ||
106 | + </td> | ||
107 | + </tr> | ||
108 | + <tr> | ||
109 | + <td class="kv-label">航空货运销售代理人名称 | ||
110 | + <span class="required_span">*</span> | ||
111 | + </td> | ||
112 | + <td class="kv-content"> | ||
113 | + <input required id="sd_cargo_agent_name" name="sd_cargo_agent_name" type="text" value="${sd.sd_cargo_agent_name}"> | ||
114 | + </td> | ||
115 | + | ||
116 | + <td class="kv-label">航协编号 | ||
117 | + <span class="required_span">*</span> | ||
118 | + </td> | ||
119 | + <td class="kv-content"> | ||
120 | + <input required id="sd_iata_number" name="sd_iata_number" type="text" value="${sd.sd_iata_number}"> | ||
121 | + </td> | ||
122 | + </tr> | ||
123 | + | ||
124 | + <tr> | ||
125 | + <td class="kv-label">货物品名 | ||
126 | + <span class="required_span">*</span> | ||
127 | + </td> | ||
128 | + <td class="kv-content"> | ||
129 | + <input required id="sd_cargo_name" name="sd_cargo_name" type="text" value="${name}" placeholder="品名分别用逗号隔开"> | ||
130 | + </td> | ||
131 | + | ||
132 | + <td class="kv-label">公斤 | ||
133 | + <span class="required_span">*</span> | ||
134 | + </td> | ||
135 | + <td class="kv-content"> | ||
136 | + <input disabled type="text" value="${wbm.totalweight}"> | ||
137 | + </td> | ||
138 | + </tr> | ||
139 | + | ||
140 | + <tr> | ||
141 | + <td class="kv-label">件数 | ||
142 | + <span class="required_span">*</span> | ||
143 | + </td> | ||
144 | + <td class="kv-content"> | ||
145 | + <input disabled type="text" value="${wbm.totalpiece}"> | ||
146 | + </td> | ||
147 | + <td class="kv-label">目的地 | ||
148 | + <span class="required_span">*</span> | ||
149 | + </td> | ||
150 | + <td class="kv-content"> | ||
151 | + <input disabled type="text" value="${wbm.destinationstation}"> | ||
152 | + </td> | ||
153 | + </tr> | ||
154 | + | ||
155 | + <tr> | ||
156 | + <td class="kv-label">运输条件鉴定书 | ||
157 | + <span class="required_span">*</span> | ||
158 | + </td> | ||
159 | + <td class="kv-content"> | ||
160 | + <input required id="sd_transport_certificate" name="sd_transport_certificate" type="text" value="${sd.sd_transport_certificate}"> | ||
161 | + </td> | ||
162 | + | ||
163 | + <td class="kv-label">航空公司同意运输证明 | ||
164 | + <span class="required_span">*</span> | ||
165 | + </td> | ||
166 | + <td class="kv-content"> | ||
167 | + <input required id="sd_transportation_prove" name="sd_transportation_prove" type="text" value="${sd.sd_transportation_prove}" placeholder="运输证明分别用逗号隔开"> | ||
168 | + </td> | ||
169 | + </tr> | ||
170 | + | ||
171 | + <tr> | ||
172 | + <%--<td colspan="2">--%> | ||
173 | + <%--<div class="opt-buttons" style="padding-top: 20px;" id="divsubmit">--%> | ||
174 | + <%--<button type="submit" class="easyui-linkbutton l-btn l-btn-small l-btn-selected "--%> | ||
175 | + <%--data-options="selected:true">--%> | ||
176 | + <%--<span class="l-btn-left"><span class="l-btn-text"><spring:message--%> | ||
177 | + <%--code="opt.temsave" /></span></span>--%> | ||
178 | + <%--</button>--%> | ||
179 | + <%--</div>--%> | ||
180 | + <%--</td>--%> | ||
181 | + <td colspan="2" align="right"> | ||
182 | + <div class="opt-buttons" style="padding-top: 20px;text-align: right;" id="divsubmit"> | ||
183 | + <a onclick="savesend()" class="easyui-linkbutton l-btn l-btn-small l-btn-selected " | ||
184 | + data-options="selected:true"> | ||
185 | + <span class="l-btn-left"><span class="l-btn-text"><spring:message | ||
186 | + code="opt.saveandsend" /></span></span> | ||
187 | + </a> | ||
188 | + <%-- <a onclick="sendDelivery()" class="easyui-linkbutton l-btn l-btn-small l-btn-selected " data-options="selected:true"> | ||
189 | + <span class="l-btn-left"><span class="l-btn-text"><spring:message code="manifest.delivery"/></span></span> | ||
190 | + </a> --%> | ||
191 | + <%--<a onclick="windowprint()" href="javascript:void(0)">打印</a>--%> | ||
192 | + </div> | ||
193 | + </td> | ||
194 | + </tr> | ||
195 | + </tbody> | ||
196 | + </table> | ||
197 | + </form> | ||
198 | + </div> | ||
199 | + </div> | ||
200 | + | ||
201 | + <div id="DialogShunt" class="easyui-dialog" title="报文" style="width: 800px; height: 800px;" | ||
202 | + data-options="iconCls:'pag-list',modal:true,collapsible:false,minimizable:false,maximizable:false,resizable:false,closed:true"> | ||
203 | + <div style="margin-left: 5px; margin-right: 5px; margin-top: 5px;"> | ||
204 | + <div class="data-tips-info"> | ||
205 | + <div class="data-tips-tip icon-tip"></div> | ||
206 | + </div> | ||
207 | + <div class="modal-body" style="padding-top: 3px; padding-left: 20px; padding-right: 3px;"> | ||
208 | + <textarea id="xmlContent" style="width: 100%; height: 400px;"></textarea> | ||
209 | + </div> | ||
210 | + <div style="text-align: center; padding-top: 30px;"></div> | ||
211 | + </div> | ||
212 | + </div> | ||
213 | + | ||
214 | + <!-- 外部js --> | ||
215 | + <script type="text/javascript" src="<%=basePath%>resource/My97DatePicker/WdatePicker.js?version=${version}"></script> | ||
216 | + <script src="<%=basePath%>resource/easyui/jquery.easyui.min.js?version=${version}"></script> | ||
217 | + <script src="<%=basePath%>/resource/js/tools.js?version=${version}"></script> | ||
218 | + <!--弹出层引入的JS--> | ||
219 | + <script type="text/javascript"> | ||
220 | + | ||
221 | + var layerIndex; | ||
222 | + var layer; | ||
223 | + layui.use('layer', function(){ | ||
224 | + layer = layui.layer; | ||
225 | + }); | ||
226 | + | ||
227 | + var selectFals = false; | ||
228 | + function submit(){ | ||
229 | + layerIndex = parent.layer.load(1, { | ||
230 | + shade: [0.6,'#000000'] //0.1透明度 | ||
231 | + }); | ||
232 | + var chboxValue=[]; | ||
233 | + var checkBox = $("input[name=one],input[name=two],input[name=three],input[name=four]"); | ||
234 | + for (var i=0; i<checkBox.length; i++){ | ||
235 | + if (checkBox[i].checked){ | ||
236 | + selectFals = true; | ||
237 | + } | ||
238 | + } | ||
239 | + | ||
240 | + | ||
241 | + if (selectFals == true){ | ||
242 | + var data = $("#form").serialize(); | ||
243 | + $.post("<%=basePath%>declaration/save",data,function (data) { | ||
244 | + parent.layer.close(layerIndex); | ||
245 | + if (data.status == 200) { | ||
246 | + var index = parent.layer.getFrameIndex(window.name); // 获取窗口索引 | ||
247 | + parent.layer.close(index); | ||
248 | + window.location.href = "<%=basePath%>declaration/list"; | ||
249 | + } else { | ||
250 | + layer.open({content:""+data.msg}); | ||
251 | + } | ||
252 | + }); | ||
253 | + }else { | ||
254 | + alert("货主类型至少选择一项"); | ||
255 | + return false; | ||
256 | + } | ||
257 | + | ||
258 | + } | ||
259 | + | ||
260 | + | ||
261 | + function viewXml(){ | ||
262 | + if($("#ids").val()==''){ | ||
263 | + layer.open({content:"<spring:message code='manifest.send.message.failed'/>"}); | ||
264 | + }else{ | ||
265 | + $("#mask").show(); | ||
266 | + showMask(); | ||
267 | + $("#mask").append("<spring:message code='manifest.send'/>"); | ||
268 | + $.post("<%=basePath%>manifest/xml",{id:$("#ids").val()},function(data){ | ||
269 | + // layer.open({content:data.data}); | ||
270 | + layer.open({content:"<spring:message code='manifest.send.message.successfully'/>"}); | ||
271 | + hideMask(); | ||
272 | + }) | ||
273 | + } | ||
274 | + } | ||
275 | + | ||
276 | + //发送报文并且保存 | ||
277 | + function savesend(){ | ||
278 | + var isValid = $("#form").valid(); | ||
279 | + if(isValid){ | ||
280 | + layerIndex = parent.layer.load(1, { | ||
281 | + shade: [0.6,'#000000'] //0.1透明度 | ||
282 | + }); | ||
283 | + var chboxValue=[]; | ||
284 | + var checkBox = $("input[name=one],input[name=two],input[name=three],input[name=four]"); | ||
285 | + for (var i=0; i<checkBox.length; i++){ | ||
286 | + if (checkBox[i].checked){ | ||
287 | + selectFals = true; | ||
288 | + } | ||
289 | + } | ||
290 | + var waybill = $("#waybill").val(); | ||
291 | + if (selectFals == true){ | ||
292 | + | ||
293 | + var data = $("#form").serialize(); | ||
294 | + $.post("<%=basePath%>declaration/update?waybill="+waybill,data,function (data) { | ||
295 | + parent.layer.close(layerIndex); | ||
296 | + if (data.status == 200) { | ||
297 | + $("#xmlContent").val(data.data); | ||
298 | + $("#DialogShunt").window('open'); | ||
299 | + var index = parent.layer.getFrameIndex(window.name); // 获取窗口索引 | ||
300 | + parent.layer.close(index); | ||
301 | + window.location.href = "<%=basePath%>declaration/list"; | ||
302 | + } else { | ||
303 | + layer.open({content:data.msg}); | ||
304 | + } | ||
305 | + }) | ||
306 | + }else { | ||
307 | + alert("货物性质至少选择一项"); | ||
308 | + return false; | ||
309 | + } | ||
310 | + } | ||
311 | + } | ||
312 | + //发送交运报文 | ||
313 | + function sendDelivery(){ | ||
314 | + var id3 = $("#waybillnomaster").val($("#waybill").val()); | ||
315 | + var data = $("#form").serialize(); | ||
316 | + $.post("<%=basePath%>manifest/sendDelivery",data,function (data) { | ||
317 | + if (data.status == 200) { | ||
318 | +// layer.confirm("<spring:message code="opt.savesuccess"/>", {btn: ['<spring:message code="opt.confirm"/>', '<spring:message code="opt.cancel"/>']}, function () { | ||
319 | +<%-- window.location.href = "<%=basePath %>manifest/list" ; --%> | ||
320 | + $("#xmlContent").val(data.data); | ||
321 | + $("#DialogShunt").window('open'); | ||
322 | + window.location.href = "<%=basePath%>manifest/list"; | ||
323 | +// }) | ||
324 | + } else { | ||
325 | + layer.open({content: data.msg}); | ||
326 | + } | ||
327 | + }) | ||
328 | + } | ||
329 | + | ||
330 | + // function windowprint() { | ||
331 | + // var f = document.getElementById("tableId"); | ||
332 | + // f.style.display = ""; | ||
333 | + // window.print(); | ||
334 | + // f.style.display = "none"; | ||
335 | + // } | ||
336 | + | ||
337 | + </script> | ||
338 | +</body> | ||
339 | +</html> |
1 | +<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> | ||
2 | +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | ||
3 | +<% | ||
4 | + String path = request.getContextPath(); | ||
5 | + String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; | ||
6 | +%> | ||
7 | +<!DOCTYPE html> | ||
8 | +<html lang="en"> | ||
9 | +<head> | ||
10 | + <meta charset="utf-8"> | ||
11 | + <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
12 | + <link href="<%=basePath %>resource/css/base.css" rel="stylesheet"> | ||
13 | + <link rel="stylesheet" href="<%=basePath %>resource/easyui/uimaker/easyui.css"> | ||
14 | + <link rel="stylesheet" type="text/css" href="<%=basePath %>resource/easyui/uimaker/icon.css"> | ||
15 | + <link rel="stylesheet" href="<%=basePath %>resource/css/providers.css"> | ||
16 | + | ||
17 | + <link rel="stylesheet" href="<%=basePath%>resource/layui/css/layui.css" media="all"> | ||
18 | + <script type="text/javascript" src="<%=basePath%>resource/easyui/jquery.min.js"></script> | ||
19 | + <script type="text/javascript" src="<%=basePath%>resource/layer-v3.0.3/layer/layer.js"></script> | ||
20 | + <script type="text/javascript" src="<%=basePath%>resource/layui/layui.js"></script> | ||
21 | + | ||
22 | +</head> | ||
23 | +<body> | ||
24 | + <div class="container"> | ||
25 | + <div data-options="closable:true"> | ||
26 | + <table id="dg" style="width:100%;" title="<spring:message code="manifest.list"/>" | ||
27 | + data-options=" | ||
28 | + rownumbers:true, | ||
29 | + singleSelect:false, | ||
30 | + autoRowHeight:false, | ||
31 | + pagination:true, | ||
32 | + fitColumns:true, | ||
33 | + striped:true, | ||
34 | + collapsible:true, | ||
35 | + toolbar:'#tb', | ||
36 | + pageSize:10"> | ||
37 | + <thead> | ||
38 | + <tr> | ||
39 | + <th field="." formatter="editFormat"><spring:message code="opt.edit" /></th> | ||
40 | + <th field="sd_waybill">运单号</th> | ||
41 | + <%--货代信息--%> | ||
42 | + <th field="sd_cargo_shipper_name">航空货运托运人名称</th> | ||
43 | + <th field="sd_cargo_agent_name">航空货运销售代理人名称</th> | ||
44 | + <th field="sd_iata_number">航协编号</th> | ||
45 | + <th field="sd_transport_certificate">运输条件鉴定书</th> | ||
46 | + <th field="sd_transportation_prove">航空公司同意运输证明</th> | ||
47 | + <th field="sd_static"formatter="sdStatic" width="80">状态</th> | ||
48 | + <th field=".." formatter="operatorFormat" width="60">操作</th> | ||
49 | + </tr> | ||
50 | + </thead> | ||
51 | + </table> | ||
52 | + <div id="tb" style="padding:0 30px;"><input type="hidden" id="idcc"> | ||
53 | + <form id="searchForm"> | ||
54 | + <table class="search_form_table"> | ||
55 | + <spring:message code="manifest.bill.number"/>:<input id="manifnum" type="text" name="search_LIKE_sd_waybill" style="width:166px;height:35px;line-height:35px;"> | ||
56 | + <a href="javascript:doSearch()" class="easyui-linkbutton" iconCls="icon-search" data-options="selected:true"><spring:message code="opt.search" /></a> | ||
57 | + </table> | ||
58 | + </form> | ||
59 | + </div> | ||
60 | + </div> | ||
61 | + | ||
62 | +</div> | ||
63 | +<script type="text/javascript" src="<%=basePath %>resource/easyui/jquery.min.js"></script> | ||
64 | +<script type="text/javascript" src="<%=basePath %>resource/easyui/jquery.easyui.min.js"></script> | ||
65 | +<script type="text/javascript" src="<%=basePath %>resource/easyui/easyui-lang-${pageContext.response.locale}.js"></script> | ||
66 | +<script type="text/javascript" src="<%=basePath %>resource/easyui/datagrid-detailview.js"></script> | ||
67 | +<script type="text/javascript" src="<%=basePath %>resource/js/tools.js?version=${version}"></script> | ||
68 | +<!--弹出层引入的JS--> | ||
69 | +<script type="text/javascript" src="<%=basePath %>resource/layer-v3.0.3/layer/layer.js"></script> | ||
70 | + <script type="text/javascript"> | ||
71 | + | ||
72 | + function editFormat(val,row,index){ | ||
73 | + | ||
74 | + var html='<a href="javascript:void(0)" style="padding-left:10px;text-decoration:none;color:blue;padding-right:20px;" onclick="editRow('+row.id+')"><i class="iconfont"></i></a>' | ||
75 | + return html; | ||
76 | + } | ||
77 | + | ||
78 | + function sdStatic(value, row, index) { | ||
79 | + var res = ''; | ||
80 | + res = '<span style="color:red;">'+value+'</span>'; | ||
81 | + return res; | ||
82 | + } | ||
83 | + | ||
84 | + function operatorFormat(val, row, index) { | ||
85 | + var html = "<a href='javascript:void(0)' onclick='print("+row.id+")' style='text-decoration:none;color:blue;'>打印</a>"; | ||
86 | + return html; | ||
87 | + } | ||
88 | + | ||
89 | + $(function(){ | ||
90 | + function getPageNumber(){ | ||
91 | + var pageNumber = window.localStorage.getItem("pageNumber"); | ||
92 | + if(typeof(pageNumber) != "undefined") | ||
93 | + { | ||
94 | + try{ | ||
95 | + var pattern = /^\d+$/g; //判断是否是数字 | ||
96 | + | ||
97 | + //console.log(pageNumber.search(pattern)); | ||
98 | + | ||
99 | + if(pageNumber.search(pattern) >= 0) | ||
100 | + { | ||
101 | + var num = parseInt(pageNumber); | ||
102 | + return num; | ||
103 | + } | ||
104 | + return 1; | ||
105 | + } | ||
106 | + catch(e){ | ||
107 | + return 1; | ||
108 | + } | ||
109 | + } | ||
110 | + return 1; | ||
111 | + } | ||
112 | + | ||
113 | + //console.log(getPageNumber()); | ||
114 | + | ||
115 | + $('#dg').datagrid({ | ||
116 | + url:'<%=basePath %>declaration/grid.json', | ||
117 | + //queryParams:$("#searchForm").serializeJson(), | ||
118 | + pageNumber:getPageNumber(), | ||
119 | + view: detailview, | ||
120 | + detailFormatter:function(index,row){ | ||
121 | + return '<div id="ddv-' + index + '"style="padding:5px 0"></div>'; | ||
122 | + }, | ||
123 | + onExpandRow: function(index,row){ | ||
124 | + console.log("expand row index:"+index); | ||
125 | + $('#ddv-'+index).datagrid({ | ||
126 | + url:'<%=basePath %>manifest/sub/grid.json?mawbId='+row.id, | ||
127 | + fitColumns:true, | ||
128 | + singleSelect:true, | ||
129 | + loadMsg:'正在加载……', | ||
130 | + height:'auto', | ||
131 | + autoRowHeight:"true", | ||
132 | + columns:[[ | ||
133 | + {field:'.',title:'<spring:message code="opt.name"/>',formatter:editHbillFormat}, | ||
134 | + {field:'waybillnosecondary',title:'<spring:message code="manifest.odd.number"/>'}, | ||
135 | + {field:'originatingstation',title:'<spring:message code="manifest.starting.point"/>'}, | ||
136 | + {field:'destinationstation',title:'<spring:message code="manifest.destination"/>'}, | ||
137 | + {field:'preparepiece',title:'<spring:message code="manifest.number.of.fittings"/>'}, | ||
138 | + {field:'prepareweight',title:'<spring:message code="manifest.pre.weight"/>'}, | ||
139 | + {field:'response_text',width:160,title:'<spring:message code="manifest.response_text"/>', | ||
140 | + formatter:function(value, row, index){ | ||
141 | + var res = ''; | ||
142 | + if(value){ | ||
143 | + var start_yupei = value.indexOf("41301"); | ||
144 | + var start_yundi = value.indexOf("45201"); | ||
145 | + if(start_yupei>-1||start_yundi>-1){ | ||
146 | + // 成功 | ||
147 | + res = '<span style="color:green;">'+value+'</span>'; | ||
148 | + }else{ | ||
149 | + // 未通过或者未回执 | ||
150 | + var start_exception_1 = value.indexOf("分单"); | ||
151 | + var start_exception_2 = value.indexOf("主单"); | ||
152 | + if(start_exception_1>-1||start_exception_2>-1){ | ||
153 | + //没有回执 | ||
154 | + res = '<span style="color:black;">'+value+'</span>'; | ||
155 | + }else{ | ||
156 | + res = '<span style="color:red;">'+value+'</span>'; | ||
157 | + } | ||
158 | + } | ||
159 | + } | ||
160 | + | ||
161 | + return res; | ||
162 | + } | ||
163 | + }, | ||
164 | + {field:'..', title:'<spring:message code="opt.operator" />', formatter:preoperatorFormat, width:40} | ||
165 | + ]], | ||
166 | + onResize:function(){ | ||
167 | + $('#dg').datagrid('fixDetailRowHeight',index); | ||
168 | + }, | ||
169 | + onLoadSuccess:function(){ | ||
170 | + $('#dg').datagrid('resize'); | ||
171 | + } | ||
172 | + }); | ||
173 | + | ||
174 | + $('#dg').datagrid('fixDetailRowHeight',index); | ||
175 | + } | ||
176 | + }); | ||
177 | + }); | ||
178 | + function seeReceipt(waybill_no,sub_waybill_no,isMain){ | ||
179 | + layui.use('layer', function(){ | ||
180 | + var layer = layui.layer; | ||
181 | + var api="<%=basePath%>receipt/seeReceipt"; | ||
182 | + var params = "waybill_no="+waybill_no; | ||
183 | + if(!isMain){ | ||
184 | + params+="&sub_waybill_no="+sub_waybill_no; | ||
185 | + } | ||
186 | + var viewUrl = api+"?"+params; | ||
187 | + | ||
188 | + parent.layer.open({ | ||
189 | + type: 2, | ||
190 | + title: "<spring:message code='opt.open.receipt'/>", | ||
191 | + shadeClose: true, | ||
192 | + shade: 0.8, | ||
193 | + area: ['80%', '60%'], | ||
194 | + content: viewUrl | ||
195 | + }); | ||
196 | + }); | ||
197 | + } | ||
198 | + | ||
199 | + | ||
200 | + | ||
201 | + | ||
202 | + function editRow(id){ | ||
203 | + layer.open({ | ||
204 | + type : 2, | ||
205 | + title : '修改', | ||
206 | + maxmin : true, | ||
207 | + shadeClose : false, // 点击遮罩关闭层 | ||
208 | + area : [ '80%', '65%' ], | ||
209 | + content : '<%=basePath %>declaration/edit?id='+id | ||
210 | + }); | ||
211 | + } | ||
212 | + | ||
213 | + | ||
214 | + function doSearch(){ | ||
215 | + $('#dg').datagrid("options").queryParams=$("#searchForm").serializeJson(); | ||
216 | + $('#dg').datagrid("reload"); | ||
217 | + } | ||
218 | + | ||
219 | + function getIds() { | ||
220 | + var ids = []; | ||
221 | + var rows = $("#dg").datagrid('getChecked'); | ||
222 | + $.each(rows,function(key,v){ | ||
223 | + ids.push(v.id); | ||
224 | + }); | ||
225 | + return ids; | ||
226 | + } | ||
227 | + | ||
228 | + $("#manifnum").keyup(function(){ | ||
229 | + var leng = $("#manifnum").val().length; | ||
230 | + if (leng == 3) | ||
231 | + { | ||
232 | + $("#manifnum").val( $("#manifnum").val()+"-") | ||
233 | + } | ||
234 | + }) | ||
235 | + function print(id) { | ||
236 | + layer.open({ | ||
237 | + type : 2, | ||
238 | + title : '打印', | ||
239 | + maxmin : true, | ||
240 | + shadeClose : false, // 点击遮罩关闭层 | ||
241 | + area : [ '80%', '65%' ], | ||
242 | + content : '<%=basePath %>declaration/print?id='+id | ||
243 | + }); | ||
244 | + } | ||
245 | +</script> | ||
246 | +</body> | ||
247 | +</html> | ||
248 | + |
1 | +<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> | ||
2 | +<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> | ||
3 | +<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | ||
4 | +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | ||
5 | +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | ||
6 | +<% | ||
7 | + String path = request.getContextPath(); | ||
8 | + String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() | ||
9 | + + path + "/"; | ||
10 | +%> | ||
11 | + | ||
12 | +<!DOCTYPE html> | ||
13 | +<html lang="en"> | ||
14 | +<head> | ||
15 | + <meta charset="utf-8"> | ||
16 | + <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
17 | + <link href="<%=basePath%>resource/css/base.css?version=${version}" rel="stylesheet"> | ||
18 | + <link href="<%=basePath%>resource/css/basic_info.css" rel="stylesheet"> | ||
19 | + <link rel="stylesheet" type="text/css" href="<%=basePath%>resource/easyui/uimaker/icon.css?version=${version}"> | ||
20 | + <link rel="stylesheet" href="<%=basePath%>resource/easyui/uimaker/easyui.css?version=${version}"> | ||
21 | + <link rel="stylesheet" href="<%=basePath%>resource/css/form.css?version=${version}"> | ||
22 | + <script type="text/javascript" src="<%=basePath%>resource/easyui/jquery.min.js?version=${version}"></script> | ||
23 | + <script type="text/javascript" src="<%=basePath%>resource/validate/jquery.validate.js?version=${version}"></script> | ||
24 | + <script type="text/javascript" src="<%=basePath%>resource/validate/validate-extends.js?version=${version}"></script> | ||
25 | + | ||
26 | + <link rel="stylesheet" href="<%=basePath%>resource/layui/css/layui.css?version=${version}" media="all"> | ||
27 | + <script type="text/javascript" src="<%=basePath%>resource/layer-v3.0.3/layer/layer.js?version=${version}"></script> | ||
28 | + <script type="text/javascript" src="<%=basePath%>resource/layui/layui.js?version=${version}"></script> | ||
29 | + | ||
30 | + <style type="text/css"> | ||
31 | + .required_span { | ||
32 | + color: red; | ||
33 | + margin-left: 10px; | ||
34 | + font-size: 20px; | ||
35 | + } | ||
36 | + </style> | ||
37 | + | ||
38 | + <style media="print"> | ||
39 | + @page { | ||
40 | + size: A4; | ||
41 | + margin: 0; | ||
42 | + } | ||
43 | + </style> | ||
44 | + <!-- validate 验证中英文 --> | ||
45 | + <script type="text/javascript" | ||
46 | + src="<%=basePath %>resource/validate/jquery.validate-${pageContext.response.locale}.js"></script> | ||
47 | + | ||
48 | +</head> | ||
49 | +<body> | ||
50 | +<div style="width: 100%; height: 60px"></div> | ||
51 | +<div id="printdiv" style="width: 90%; height: 100%; margin: 0 auto;"> | ||
52 | + <div> | ||
53 | + <p style="line-height: 20pt;"><img src="<%=basePath%>resource/img/bar_code/${path}.png" width="250" height="60" alt="网络异常" style="-aw-left-pos:2.6pt; -aw-rel-hpos:column; -aw-rel-vpos:paragraph; -aw-top-pos:-52pt; -aw-wrap-type:none; margin-left:30.6pt; margin-top:-6pt; position:absolute; z-index:0" /></p> | ||
54 | + <p style="line-height:100pt; margin:0pt 0pt -30pt; orphans:0; text-align:center; widows:0"> | ||
55 | + <span style="font-family:宋体; font-size:15pt; font-weight:bold">航 空 货 物 安 检 申 报 清 单</span> | ||
56 | + </p> | ||
57 | + <p><button style="width: 100px; height: 35px" id="sa" onclick="print_page();" href="javascript:void(0);">确定打印</button></p> | ||
58 | + <p style="line-height:25pt; margin:0pt 0pt 10pt; orphans:0; widows:0"> | ||
59 | + <span style="font-family:宋体; font-size:12pt">航空货物性质: | ||
60 | + 普通货物<input id="one" type="checkbox" name="one" ${fn:contains(type, 1)?"checked":""} value="1"> | ||
61 | + 特种货物<input id="two" type="checkbox" name="two" ${fn:contains(type, 2)?"checked":""} value="2"> | ||
62 | + 危险品<input id="three" type="checkbox" name="three" ${fn:contains(type, 3)?"checked":""} value="3"> | ||
63 | + 航空快件<input id="four" type="checkbox" name="four" ${fn:contains(type, 4)?"checked":""} value="4"> | ||
64 | + </span> | ||
65 | + </p> | ||
66 | + <p style="line-height:0pt; margin:0pt 0pt 10pt; orphans:0; widows:0"> | ||
67 | + <span style="font-family:宋体; font-size:12pt">承运航空公司:</span> | ||
68 | + <span style="font-family:宋体; font-size:12pt; display: inline-block; width: 120px; text-decoration: underline">${wbm.carrier} </span> | ||
69 | + <span style="font-family:宋体; font-size:12pt; text-decoration:none">航班号:</span> | ||
70 | + <span style="font-family:宋体; font-size:12pt; display: inline-block; width: 150px; text-decoration: underline">${wbm.flightno} </span> | ||
71 | + <span style="font-family:宋体; font-size:12pt; text-decoration:none">日期:</span> | ||
72 | + <span style="font-family:宋体; font-size:12pt; display: inline-block; width: 150px; text-decoration: underline">${date} </span> | ||
73 | + </p> | ||
74 | + <p style="line-height:20pt; margin:0pt 0pt 10pt; orphans:0; widows:0"> | ||
75 | + <span style="font-family:宋体; font-size:12pt">航空货运单号:</span> | ||
76 | + <span style="font-family:宋体; font-size:12pt; display: inline-block; width: 180px; text-decoration:underline">${sd.sd_waybill} </span> | ||
77 | + <span style="font-family:宋体; font-size:12pt; text-decoration:none">航空货物托运人名称:</span> | ||
78 | + <span style="font-family:宋体; font-size:12pt; text-decoration:underline">${sd.sd_cargo_shipper_name} </span> | ||
79 | + <span style="font-family:宋体; font-size:12pt; text-decoration:none"> </span> | ||
80 | + </p> | ||
81 | + <p style="line-height:5pt; margin:0pt 0pt 10pt; orphans:0; widows:0"> | ||
82 | + <span style="font-family:宋体; font-size:12pt; text-decoration:none">航空货运销售代理人名称:</span> | ||
83 | + <span style="font-family:宋体; font-size:12pt; text-decoration:underline">${sd.sd_cargo_agent_name} </span> | ||
84 | + <span style="font-family:宋体; font-size:12pt; text-decoration:none">航协资质</span> | ||
85 | + <span style="font-family:宋体; font-size:12pt; text-decoration:none">编号</span> | ||
86 | + <span style="font-family:宋体; font-size:12pt; text-decoration:none">:</span> | ||
87 | + <span style="font-family:宋体; font-size:12pt; text-decoration:underline">${sd.sd_iata_number} </span> | ||
88 | + </p> | ||
89 | + | ||
90 | + <table cellspacing="0" cellpadding="0" style="border-collapse:collapse; float:left; margin:0pt 9pt; width:520.25pt"> | ||
91 | + <tbody> | ||
92 | + <tr style="height:29.75pt"> | ||
93 | + <td colspan="3" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:83.95pt"> | ||
94 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
95 | + <span style="font-family:宋体; font-size:10.5pt; text-decoration:none; vertical-align:baseline">货物品名</span> | ||
96 | + </p> | ||
97 | + </td> | ||
98 | + <td colspan="4" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:46.95pt"> | ||
99 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
100 | + <span style="font-family:宋体; font-size:10.5pt; text-decoration:none; vertical-align:baseline">公斤</span> | ||
101 | + </p> | ||
102 | + </td> | ||
103 | + <td colspan="2" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:43.25pt"> | ||
104 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"><span style="font-family:宋体; font-size:10.5pt; text-decoration:none; vertical-align:baseline">件数</span> | ||
105 | + </p> | ||
106 | + </td> | ||
107 | + <td colspan="2" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:49.15pt"> | ||
108 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"><span style="font-family:宋体; font-size:10.5pt; text-decoration:none; vertical-align:baseline">目的地</span> | ||
109 | + </p> | ||
110 | + </td> | ||
111 | + <td colspan="3" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:78.45pt"> | ||
112 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"><span style="font-family:宋体; font-size:10.5pt; text-decoration:none; vertical-align:baseline">运输条件<br>鉴定书</span> | ||
113 | + </p> | ||
114 | + </td> | ||
115 | + <td style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:73.95pt"> | ||
116 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
117 | + <span style="font-family:宋体; font-size:10.5pt; text-decoration:none; vertical-align:baseline">航空公司同意运输证明</span> | ||
118 | + </p> | ||
119 | + </td> | ||
120 | + </tr> | ||
121 | + <tr style="height:22.75pt"> | ||
122 | + <td colspan="3" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:83.95pt"> | ||
123 | + <p style="font-size:9pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
124 | + <span style="font-family:Calibri; font-size:9pt; vertical-align:baseline" id="name1"> </span> | ||
125 | + </p> | ||
126 | + </td> | ||
127 | + <td colspan="4" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:46.95pt"> | ||
128 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
129 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline">${wbm.totalweight} </span> | ||
130 | + </p> | ||
131 | + </td> | ||
132 | + <td colspan="2" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:43.25pt"> | ||
133 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
134 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline">${wbm.totalpiece} </span> | ||
135 | + </p> | ||
136 | + </td> | ||
137 | + <td colspan="2" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:49.15pt"> | ||
138 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
139 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline">${wbm.destinationstation} </span> | ||
140 | + </p> | ||
141 | + </td> | ||
142 | + <td colspan="3" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:78.45pt"> | ||
143 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
144 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline">${sd.sd_transport_certificate} </span> | ||
145 | + </p> | ||
146 | + </td> | ||
147 | + <td style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:73.95pt"> | ||
148 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
149 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline" id="prove1"> </span> | ||
150 | + </p> | ||
151 | + </td> | ||
152 | + </tr> | ||
153 | + <tr style="height:21.25pt"> | ||
154 | + <td colspan="3" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:83.95pt"> | ||
155 | + <p style="font-size:9pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
156 | + <span style="font-family:Calibri; font-size:9pt; vertical-align:baseline" id="name2"> </span> | ||
157 | + </p> | ||
158 | + </td> | ||
159 | + <td colspan="4" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:46.95pt"> | ||
160 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
161 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
162 | + </p> | ||
163 | + </td> | ||
164 | + <td colspan="2" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:43.25pt"> | ||
165 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
166 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
167 | + </p> | ||
168 | + </td> | ||
169 | + <td colspan="2" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:49.15pt"> | ||
170 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
171 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
172 | + </p> | ||
173 | + </td> | ||
174 | + <td colspan="3" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:78.45pt"> | ||
175 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
176 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
177 | + </p> | ||
178 | + </td> | ||
179 | + <td style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:73.95pt"> | ||
180 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
181 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline" id="prove2"> </span> | ||
182 | + </p> | ||
183 | + </td> | ||
184 | + </tr> | ||
185 | + <tr style="height:22.75pt"> | ||
186 | + <td colspan="3" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:83.95pt"> | ||
187 | + <p style="font-size:9pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
188 | + <span style="font-family:Calibri; font-size:9pt; vertical-align:baseline" id="name3"> </span> | ||
189 | + </p> | ||
190 | + </td> | ||
191 | + <td colspan="4" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:46.95pt"> | ||
192 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
193 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
194 | + </p> | ||
195 | + </td> | ||
196 | + <td colspan="2" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:43.25pt"> | ||
197 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
198 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
199 | + </p> | ||
200 | + </td> | ||
201 | + <td colspan="2" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:49.15pt"> | ||
202 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
203 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
204 | + </p> | ||
205 | + </td> | ||
206 | + <td colspan="3" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:78.45pt"> | ||
207 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
208 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
209 | + </p> | ||
210 | + </td> | ||
211 | + <td style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:73.95pt"> | ||
212 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
213 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline" id="prove3"> </span> | ||
214 | + </p> | ||
215 | + </td> | ||
216 | + </tr> | ||
217 | + <tr style="height:22.75pt"> | ||
218 | + <td colspan="3" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:83.95pt"> | ||
219 | + <p style="font-size:9pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
220 | + <span style="font-family:Calibri; font-size:9pt; vertical-align:baseline" id="name4"> </span> | ||
221 | + </p> | ||
222 | + </td> | ||
223 | + <td colspan="4" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:46.95pt"> | ||
224 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
225 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
226 | + </p> | ||
227 | + </td> | ||
228 | + <td colspan="2" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:43.25pt"> | ||
229 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
230 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
231 | + </p> | ||
232 | + </td> | ||
233 | + <td colspan="2" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:49.15pt"> | ||
234 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
235 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
236 | + </p> | ||
237 | + </td> | ||
238 | + <td colspan="3" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:78.45pt"> | ||
239 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
240 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
241 | + </p> | ||
242 | + </td> | ||
243 | + <td style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:73.95pt"> | ||
244 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
245 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline" id="prove4"> </span> | ||
246 | + </p> | ||
247 | + </td> | ||
248 | + </tr> | ||
249 | + <tr style="height:22pt"> | ||
250 | + <td colspan="3" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:83.95pt"> | ||
251 | + <p style="font-size:9pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
252 | + <span style="font-family:Calibri; font-size:9pt; vertical-align:baseline" id="name5"> </span> | ||
253 | + </p> | ||
254 | + </td> | ||
255 | + <td colspan="4" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:46.95pt"> | ||
256 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
257 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
258 | + </p> | ||
259 | + </td> | ||
260 | + <td colspan="2" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:43.25pt"> | ||
261 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
262 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
263 | + </p> | ||
264 | + </td> | ||
265 | + <td colspan="2" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:49.15pt"> | ||
266 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
267 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
268 | + </p> | ||
269 | + </td> | ||
270 | + <td colspan="3" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:78.45pt"> | ||
271 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
272 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
273 | + </p> | ||
274 | + </td> | ||
275 | + <td style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:73.95pt"> | ||
276 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
277 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline" id="prove5"> </span> | ||
278 | + </p> | ||
279 | + </td> | ||
280 | + </tr> | ||
281 | + <tr style="height:22pt"> | ||
282 | + <td colspan="3" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:83.95pt"> | ||
283 | + <p style="font-size:9pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
284 | + <span style="font-family:Calibri; font-size:9pt; vertical-align:baseline" id="name6"> </span> | ||
285 | + </p> | ||
286 | + </td> | ||
287 | + <td colspan="4" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:46.95pt"> | ||
288 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"><span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
289 | + </p> | ||
290 | + </td> | ||
291 | + <td colspan="2" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:43.25pt"> | ||
292 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
293 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
294 | + </p> | ||
295 | + </td> | ||
296 | + <td colspan="2" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:49.15pt"> | ||
297 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
298 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
299 | + </p> | ||
300 | + </td> | ||
301 | + <td colspan="3" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:78.45pt"> | ||
302 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
303 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
304 | + </p> | ||
305 | + </td> | ||
306 | + <td style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:73.95pt"> | ||
307 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
308 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline" id="prove6"> </span> | ||
309 | + </p> | ||
310 | + </td> | ||
311 | + </tr> | ||
312 | + <tr style="height:22pt"> | ||
313 | + <td colspan="3" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:83.95pt"> | ||
314 | + <p style="font-size:9pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
315 | + <span style="font-family:Calibri; font-size:9pt; vertical-align:baseline" id="name7"> </span> | ||
316 | + </p> | ||
317 | + </td> | ||
318 | + <td colspan="4" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:46.95pt"> | ||
319 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
320 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
321 | + </p> | ||
322 | + </td> | ||
323 | + <td colspan="2" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:43.25pt"> | ||
324 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
325 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
326 | + </p> | ||
327 | + </td> | ||
328 | + <td colspan="2" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:49.15pt"> | ||
329 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
330 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
331 | + </p> | ||
332 | + </td> | ||
333 | + <td colspan="3" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:78.45pt"> | ||
334 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
335 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
336 | + </p> | ||
337 | + </td> | ||
338 | + <td style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:73.95pt"> | ||
339 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
340 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline" id="prove7"> </span> | ||
341 | + </p> | ||
342 | + </td> | ||
343 | + </tr> | ||
344 | + <tr style="height:22pt"> | ||
345 | + <td colspan="3" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:83.95pt"> | ||
346 | + <p style="font-size:9pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
347 | + <span style="font-family:Calibri; font-size:9pt; vertical-align:baseline" id="name8"> </span> | ||
348 | + </p> | ||
349 | + </td> | ||
350 | + <td colspan="4" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:46.95pt"> | ||
351 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
352 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
353 | + </p> | ||
354 | + </td> | ||
355 | + <td colspan="2" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:43.25pt"> | ||
356 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
357 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
358 | + </p> | ||
359 | + </td> | ||
360 | + <td colspan="2" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:49.15pt"> | ||
361 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
362 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
363 | + </p> | ||
364 | + </td> | ||
365 | + <td colspan="3" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:78.45pt"> | ||
366 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
367 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
368 | + </p> | ||
369 | + </td> | ||
370 | + <td style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:73.95pt"> | ||
371 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
372 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline" id="prove8"> </span> | ||
373 | + </p> | ||
374 | + </td> | ||
375 | + </tr> | ||
376 | + <tr style="height:33.2pt"> | ||
377 | + <td colspan="15" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:429.7pt"> | ||
378 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; widows:0"> | ||
379 | + <span style="font-family:宋体; font-size:10.5pt; font-weight:bold; text-decoration:none; vertical-align:baseline">航空货物托运人声明:航空货物申报内容真实准确,与实际货物相符,愿承担一切因该货物产生的后果和法律责任。</span> | ||
380 | + </p> | ||
381 | + </td> | ||
382 | + </tr> | ||
383 | + <tr style="height:50.05pt"> | ||
384 | + <td colspan="15" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:429.7pt"> | ||
385 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; widows:0"> | ||
386 | + <span style="font-family:宋体; font-size:10.5pt; font-weight:bold; text-decoration:none; vertical-align:baseline">航空货运销售代理人声明:已按照《中华人民共和国反恐怖主义法》规定查验托运人身份,并对航空货物进行安全检查或者开封验视,申报内容与实际货物相符,并对客户身份、物品信息进行登记,愿承担一切因该货物产生的后果和法律责任。</span> | ||
387 | + </p> | ||
388 | + </td> | ||
389 | + </tr> | ||
390 | + <tr style="height:60.7pt"> | ||
391 | + <td colspan="2" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:65.95pt"> | ||
392 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; widows:0"> | ||
393 | + <span style="font-family:宋体; font-size:10.5pt; text-decoration:none; vertical-align:baseline">航空货物托运</span> | ||
394 | + </p> | ||
395 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; widows:0"> | ||
396 | + <span style="font-family:宋体; font-size:10.5pt; text-decoration:none; vertical-align:baseline">人签章</span> | ||
397 | + </p> | ||
398 | + </td> | ||
399 | + <td colspan="6" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:117.95pt"> | ||
400 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
401 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
402 | + </p> | ||
403 | + </td> | ||
404 | + <td colspan="5" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:80.95pt"> | ||
405 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; padding-left:10.5pt; text-align:center; text-indent:-10.5pt; widows:0"> | ||
406 | + <span style="font-family:宋体; font-size:10.5pt; text-decoration:none; vertical-align:baseline">航空货运销售代理人签章</span> | ||
407 | + </p> | ||
408 | + </td> | ||
409 | + <td colspan="2" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:132.45pt"> | ||
410 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
411 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
412 | + </p> | ||
413 | + </td> | ||
414 | + </tr> | ||
415 | + <tr style="height:18.45pt"> | ||
416 | + <td colspan="15" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.4pt; padding-right:5.4pt; vertical-align:middle; width:429.7pt"> | ||
417 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
418 | + <span style="font-family:宋体; font-size:10.5pt; font-weight:bold; text-decoration:none; vertical-align:baseline">以下由安检人员填写</span> | ||
419 | + </p> | ||
420 | + </td> | ||
421 | + </tr> | ||
422 | + <tr style="height:24pt"> | ||
423 | + <td colspan="2" rowspan="2" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:65.95pt"> | ||
424 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; widows:0"> | ||
425 | + <span style="font-family:宋体; font-size:10.5pt; text-decoration:none; vertical-align:baseline">托运人或航空货运销售代理人信用情况</span> | ||
426 | + </p> | ||
427 | + </td> | ||
428 | + <td colspan="4" rowspan="2" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:50.15pt"> | ||
429 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"><span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
430 | + </p> | ||
431 | + </td> | ||
432 | + <td colspan="4" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:76.75pt"> | ||
433 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
434 | + <span style="font-family:宋体; font-size:10.5pt; text-decoration:none; vertical-align:baseline"> | ||
435 | + 安全检查<br>开始时间 | ||
436 | + </span> | ||
437 | + </p> | ||
438 | + </td> | ||
439 | + <td colspan="2" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:47.7pt"> | ||
440 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
441 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
442 | + </p> | ||
443 | + </td> | ||
444 | + <td colspan="2" rowspan="2" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:61.2pt"> | ||
445 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
446 | + <span style="font-family:宋体; font-size:10.5pt; text-decoration:none; vertical-align:baseline">安全检查</span> | ||
447 | + </p> | ||
448 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
449 | + <span style="font-family:宋体; font-size:10.5pt; text-decoration:none; vertical-align:baseline">结 论</span> | ||
450 | + </p> | ||
451 | + </td> | ||
452 | + <td rowspan="2" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:73.95pt"> | ||
453 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
454 | + <span style="font-family:Calibri; font-size:10.5pt; text-decoration:none; vertical-align:baseline"> </span> | ||
455 | + </p> | ||
456 | + </td> | ||
457 | + </tr> | ||
458 | + <tr style="height:24pt"> | ||
459 | + <td colspan="4" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:76.75pt"> | ||
460 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
461 | + <span style="font-family:宋体; font-size:10.5pt; text-decoration:none; vertical-align:baseline">安全检查<br>结束时间</span> | ||
462 | + </p> | ||
463 | + </td> | ||
464 | + <td colspan="2" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:47.7pt"> | ||
465 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
466 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
467 | + </p> | ||
468 | + </td> | ||
469 | + </tr> | ||
470 | + <tr style="height:45.25pt"> | ||
471 | + <td style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:28.45pt"> | ||
472 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
473 | + <span style="font-family:宋体; font-size:10.5pt; text-decoration:none; vertical-align:baseline">安全<br>检查<br>通道</span> | ||
474 | + </p> | ||
475 | + </td> | ||
476 | + <td colspan="4" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:70.95pt"> | ||
477 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; widows:0"> | ||
478 | + <span style="font-family:宋体; font-size:10.5pt; text-decoration:underline"><br> </span><span>号</span> | ||
479 | + <span style="font-family:宋体; font-size:10.5pt; text-decoration:none; vertical-align:baseline"></span> | ||
480 | + </p> | ||
481 | + </td> | ||
482 | + <td colspan="4" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:74.75pt"> | ||
483 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
484 | + <span style="font-family:宋体; font-size:10.5pt; text-decoration:none; vertical-align:baseline">货邮快件安<br>检设备<br>操作员</span> | ||
485 | + </p> | ||
486 | + </td> | ||
487 | + <td colspan="4" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:79.9pt"> | ||
488 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
489 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
490 | + </p> | ||
491 | + </td> | ||
492 | + <td style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:47.7pt"> | ||
493 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
494 | + <span style="font-family:宋体; font-size:10.5pt; text-decoration:none; vertical-align:baseline">开箱检查员</span> | ||
495 | + </p> | ||
496 | + </td> | ||
497 | + <td style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:73.95pt"> | ||
498 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
499 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
500 | + </p> | ||
501 | + </td> | ||
502 | + </tr> | ||
503 | + <tr style="height:28.55pt"> | ||
504 | + <td colspan="4" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:89.95pt"> | ||
505 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
506 | + <span style="font-family:宋体; font-size:10.5pt; text-decoration:none; vertical-align:baseline">安检勤务调度员</span> | ||
507 | + </p> | ||
508 | + </td> | ||
509 | + <td colspan="6" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:113.7pt"> | ||
510 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
511 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
512 | + </p> | ||
513 | + </td> | ||
514 | + <td colspan="4" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:119.7pt"> | ||
515 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
516 | + <span style="font-family:宋体; font-size:10.5pt; text-decoration:none; vertical-align:baseline">单据审核员</span> | ||
517 | + </p> | ||
518 | + </td> | ||
519 | + <td style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:73.95pt"> | ||
520 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
521 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
522 | + </p> | ||
523 | + </td> | ||
524 | + </tr> | ||
525 | + <tr style="height:26.45pt"> | ||
526 | + <td colspan="4" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:89.95pt"> | ||
527 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
528 | + <span style="font-family:宋体; font-size:10.5pt; text-decoration:none; vertical-align:baseline">已检货物抽检员 </span> | ||
529 | + </p> | ||
530 | + </td> | ||
531 | + <td colspan="6" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:113.7pt"> | ||
532 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
533 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
534 | + </p> | ||
535 | + </td> | ||
536 | + <td colspan="4" style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:119.7pt"> | ||
537 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
538 | + <span style="font-family:宋体; font-size:10.5pt; text-decoration:none; vertical-align:baseline">已检货物抽检情况</span> | ||
539 | + </p> | ||
540 | + </td> | ||
541 | + <td style="border-bottom-color:#000000; border-bottom-style:solid; border-bottom-width:0.75pt; border-left-color:#000000; border-left-style:solid; border-left-width:0.75pt; border-right-color:#000000; border-right-style:solid; border-right-width:0.75pt; border-top-color:#000000; border-top-style:solid; border-top-width:0.75pt; padding-left:5.03pt; padding-right:5.03pt; vertical-align:middle; width:73.95pt"> | ||
542 | + <p style="font-size:10.5pt; line-height:115%; margin:0pt 0pt 10pt; orphans:0; text-align:center; widows:0"> | ||
543 | + <span style="font-family:Calibri; font-size:10.5pt; vertical-align:baseline"> </span> | ||
544 | + </p> | ||
545 | + </td> | ||
546 | + </tr> | ||
547 | + <tr style="height:0pt"> | ||
548 | + <td style="width:39.25pt; border:none"></td> | ||
549 | + <td style="width:37.5pt; border:none"></td> | ||
550 | + <td style="width:18pt; border:none"></td> | ||
551 | + <td style="width:6pt; border:none"></td> | ||
552 | + <td style="width:20.25pt; border:none"></td> | ||
553 | + <td style="width:16.7pt; border:none"></td> | ||
554 | + <td style="width:14.8pt; border:none"></td> | ||
555 | + <td style="width:53pt; border:none"></td> | ||
556 | + <td style="width:1.05pt; border:none"></td> | ||
557 | + <td style="width:18.7pt; border:none"></td> | ||
558 | + <td style="width:41.25pt; border:none"></td> | ||
559 | + <td style="width:17.25pt; border:none"></td> | ||
560 | + <td style="width:13.5pt; border:none"></td> | ||
561 | + <td style="width:58.5pt; border:none"></td> | ||
562 | + <td style="width:84.75pt; border:none"></td> | ||
563 | + </tr> | ||
564 | + </tbody> | ||
565 | + </table> | ||
566 | + </div> | ||
567 | +</div> | ||
568 | +<!-- 外部js --> | ||
569 | +<script type="text/javascript" src="<%=basePath%>resource/My97DatePicker/WdatePicker.js?version=${version}"></script> | ||
570 | +<script src="<%=basePath%>resource/easyui/jquery.easyui.min.js?version=${version}"></script> | ||
571 | +<script src="<%=basePath%>/resource/js/tools.js?version=${version}"></script> | ||
572 | +<!--弹出层引入的JS--> | ||
573 | +<script type="text/javascript"> | ||
574 | + | ||
575 | + var layerIndex; | ||
576 | + var layer; | ||
577 | + layui.use('layer', function(){ | ||
578 | + layer = layui.layer; | ||
579 | + }); | ||
580 | + | ||
581 | + | ||
582 | + var cargoName="${cargoName}"; | ||
583 | + var cargoNames =cargoName.split(","); | ||
584 | + switch (cargoNames.length){ | ||
585 | + case 1: | ||
586 | + for (var i=0; i<cargoNames.length; i++){ | ||
587 | + $("#name"+(i+1)).text(cargoNames[i]); | ||
588 | + } | ||
589 | + break; | ||
590 | + case 2: | ||
591 | + for (var i=0; i<cargoNames.length; i++){ | ||
592 | + $("#name"+(i+1)).text(cargoNames[i]); | ||
593 | + } | ||
594 | + break; | ||
595 | + case 3: | ||
596 | + for (var i=0; i<cargoNames.length; i++){ | ||
597 | + $("#name"+(i+1)).text(cargoNames[i]); | ||
598 | + } | ||
599 | + break; | ||
600 | + case 4: | ||
601 | + for (var i=0; i<cargoNames.length; i++){ | ||
602 | + $("#name"+(i+1)).text(cargoNames[i]); | ||
603 | + } | ||
604 | + break; | ||
605 | + case 5: | ||
606 | + for (var i=0; i<cargoNames.length; i++){ | ||
607 | + $("#name"+(i+1)).text(cargoNames[i]); | ||
608 | + } | ||
609 | + break; | ||
610 | + case 6: | ||
611 | + for (var i=0; i<cargoNames.length; i++){ | ||
612 | + $("#name"+(i+1)).text(cargoNames[i]); | ||
613 | + } | ||
614 | + break; | ||
615 | + case 7: | ||
616 | + for (var i=0; i<cargoNames.length; i++){ | ||
617 | + $("#name"+(i+1)).text(cargoNames[i]); | ||
618 | + } | ||
619 | + break; | ||
620 | + case 8: | ||
621 | + for (var i=0; i<cargoNames.length; i++){ | ||
622 | + $("#name"+(i+1)).text(cargoNames[i]); | ||
623 | + } | ||
624 | + break; | ||
625 | + } | ||
626 | + | ||
627 | + var prove = "${prove}"; | ||
628 | + var proves = prove.split(","); | ||
629 | + switch (proves.length){ | ||
630 | + case 1: | ||
631 | + for (var i=0; i<proves.length; i++){ | ||
632 | + $("#prove"+(i+1)).text(proves[i]); | ||
633 | + } | ||
634 | + break; | ||
635 | + case 2: | ||
636 | + for (var i=0; i<proves.length; i++){ | ||
637 | + $("#prove"+(i+1)).text(proves[i]); | ||
638 | + } | ||
639 | + break; | ||
640 | + case 3: | ||
641 | + for (var i=0; i<proves.length; i++){ | ||
642 | + $("#prove"+(i+1)).text(proves[i]); | ||
643 | + } | ||
644 | + break; | ||
645 | + case 4: | ||
646 | + for (var i=0; i<proves.length; i++){ | ||
647 | + $("#prove"+(i+1)).text(proves[i]); | ||
648 | + } | ||
649 | + break; | ||
650 | + case 5: | ||
651 | + for (var i=0; i<proves.length; i++){ | ||
652 | + $("#prove"+(i+1)).text(proves[i]); | ||
653 | + } | ||
654 | + break; | ||
655 | + case 6: | ||
656 | + for (var i=0; i<proves.length; i++){ | ||
657 | + $("#prove"+(i+1)).text(proves[i]); | ||
658 | + } | ||
659 | + break; | ||
660 | + case 7: | ||
661 | + for (var i=0; i<proves.length; i++){ | ||
662 | + $("#prove"+(i+1)).text(proves[i]); | ||
663 | + } | ||
664 | + break; | ||
665 | + case 8: | ||
666 | + for (var i=0; i<proves.length; i++){ | ||
667 | + $("#prove"+(i+1)).text(proves[i]); | ||
668 | + } | ||
669 | + break; | ||
670 | + } | ||
671 | + | ||
672 | + | ||
673 | + | ||
674 | + function print_page(){ | ||
675 | + $("#sa").attr("style", "display:none;"); | ||
676 | + | ||
677 | + var f = document.getElementById("printdiv"); | ||
678 | + f.style.display = ""; | ||
679 | + window.print(); | ||
680 | + f.style.display = "none"; | ||
681 | + } | ||
682 | + | ||
683 | +</script> | ||
684 | +</body> | ||
685 | +</html> |
1 | +<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> | ||
2 | +<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> | ||
3 | +<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | ||
4 | +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | ||
5 | +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | ||
6 | +<% | ||
7 | + String path = request.getContextPath(); | ||
8 | + String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() | ||
9 | + + path + "/"; | ||
10 | +%> | ||
11 | + | ||
12 | +<!DOCTYPE html> | ||
13 | +<html lang="en"> | ||
14 | +<head> | ||
15 | +<meta charset="utf-8"> | ||
16 | +<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
17 | +<link href="<%=basePath%>resource/css/base.css?version=${version}" rel="stylesheet"> | ||
18 | +<link href="<%=basePath%>resource/css/basic_info.css" rel="stylesheet"> | ||
19 | +<link rel="stylesheet" type="text/css" href="<%=basePath%>resource/easyui/uimaker/icon.css?version=${version}"> | ||
20 | +<link rel="stylesheet" href="<%=basePath%>resource/easyui/uimaker/easyui.css?version=${version}"> | ||
21 | +<link rel="stylesheet" href="<%=basePath%>resource/css/form.css?version=${version}"> | ||
22 | +<script type="text/javascript" src="<%=basePath%>resource/easyui/jquery.min.js?version=${version}"></script> | ||
23 | +<script type="text/javascript" src="<%=basePath%>resource/validate/jquery.validate.js?version=${version}"></script> | ||
24 | +<script type="text/javascript" src="<%=basePath%>resource/validate/validate-extends.js?version=${version}"></script> | ||
25 | + | ||
26 | +<link rel="stylesheet" href="<%=basePath%>resource/layui/css/layui.css?version=${version}" media="all"> | ||
27 | +<script type="text/javascript" src="<%=basePath%>resource/layer-v3.0.3/layer/layer.js?version=${version}"></script> | ||
28 | +<script type="text/javascript" src="<%=basePath%>resource/layui/layui.js?version=${version}"></script> | ||
29 | + | ||
30 | +<style type="text/css"> | ||
31 | +.required_span { | ||
32 | + color: red; | ||
33 | + margin-left: 10px; | ||
34 | + font-size: 20px; | ||
35 | +} | ||
36 | +</style> | ||
37 | + | ||
38 | +<!-- validate 验证中英文 --> | ||
39 | +<script type="text/javascript" | ||
40 | + src="<%=basePath %>resource/validate/jquery.validate-${pageContext.response.locale}.js"></script> | ||
41 | + | ||
42 | +</head> | ||
43 | +<body> | ||
44 | + <div class="container"> | ||
45 | + <div class="content"> | ||
46 | + <form class="from-control" id="form"> | ||
47 | + <table class="kv-table"> | ||
48 | + <tbody> | ||
49 | + </br> | ||
50 | + </br> | ||
51 | + </br> | ||
52 | + <tr> | ||
53 | + <td class="kv-label">主单号 | ||
54 | + <span class="required_span">*</span> | ||
55 | + </td> | ||
56 | + <td class="kv-content"> | ||
57 | + <input required id="waybill" minlength="12" name="waybill" value="${waybill}" disabled> | ||
58 | + </td> | ||
59 | + | ||
60 | + <td class="kv-label">航空货物性质 | ||
61 | + <span class="required_span">*</span> | ||
62 | + </td> | ||
63 | + | ||
64 | + <td class="kv-content"> | ||
65 | + <label> | ||
66 | + <input id="one" name="one" type="checkbox" value="1" checked>普通货物 | ||
67 | + </label> | ||
68 | + <label> | ||
69 | + <input id="two" name="two" type="checkbox" value="2">特种货物 | ||
70 | + </label> | ||
71 | + <label> | ||
72 | + <input id="three" name="three" type="checkbox" value="3">危险品 | ||
73 | + </label> | ||
74 | + <label> | ||
75 | + <input id="four" name="four" type="checkbox" value="4">航空快件 | ||
76 | + </label> | ||
77 | + </td> | ||
78 | + </tr> | ||
79 | + | ||
80 | + <tr> | ||
81 | + <td class="kv-label">航空货物托运人名称 | ||
82 | + <span class="required_span">*</span> | ||
83 | + </td> | ||
84 | + <td class="kv-content"> | ||
85 | + <input required id="sd_cargo_shipper_name" name="sd_cargo_shipper_name" type="text"> | ||
86 | + </td> | ||
87 | + | ||
88 | + <td class="kv-label">航空货运销售代理人名称 | ||
89 | + <span class="required_span">*</span> | ||
90 | + </td> | ||
91 | + <td class="kv-content"> | ||
92 | + <input required id="sd_cargo_agent_name" name="sd_cargo_agent_name" type="text"> | ||
93 | + </td> | ||
94 | + </tr> | ||
95 | + | ||
96 | + <tr> | ||
97 | + <td class="kv-label">航协编号 | ||
98 | + <span class="required_span">*</span> | ||
99 | + </td> | ||
100 | + <td class="kv-content"> | ||
101 | + <input required id="sd_iata_number" name="sd_iata_number" type="text"> | ||
102 | + </td> | ||
103 | + | ||
104 | + <td class="kv-label">货物品名 | ||
105 | + <span class="required_span">*</span> | ||
106 | + </td> | ||
107 | + <td class="kv-content"> | ||
108 | + <input required id="sd_cargo_name" name="sd_cargo_name" type="text" placeholder="品名分别用逗号隔开"> | ||
109 | + </td> | ||
110 | + </tr> | ||
111 | + | ||
112 | + <tr> | ||
113 | + <td class="kv-label">运输条件鉴定书 | ||
114 | + <span class="required_span">*</span> | ||
115 | + </td> | ||
116 | + <td class="kv-content"> | ||
117 | + <input required id="sd_transport_certificate" name="sd_transport_certificate" type="text"> | ||
118 | + </td> | ||
119 | + | ||
120 | + <td class="kv-label">航空公司同意运输证明 | ||
121 | + <span class="required_span">*</span> | ||
122 | + </td> | ||
123 | + <td class="kv-content"> | ||
124 | + <input required id="sd_transportation_prove" name="sd_transportation_prove" type="text" placeholder="运输证明分别用逗号隔开"> | ||
125 | + </td> | ||
126 | + </tr> | ||
127 | + | ||
128 | + <tr> | ||
129 | + <%--<td colspan="2">--%> | ||
130 | + <%--<div class="opt-buttons" style="padding-top: 20px;" id="divsubmit">--%> | ||
131 | + <%--<button type="submit" class="easyui-linkbutton l-btn l-btn-small l-btn-selected "--%> | ||
132 | + <%--data-options="selected:true">--%> | ||
133 | + <%--<span class="l-btn-left"><span class="l-btn-text"><spring:message--%> | ||
134 | + <%--code="opt.temsave" /></span></span>--%> | ||
135 | + <%--</button>--%> | ||
136 | + <%--</div>--%> | ||
137 | + <%--</td>--%> | ||
138 | + <td colspan="2" align="right"> | ||
139 | + <div class="opt-buttons" style="padding-top: 20px;text-align: right;" id="divsubmit"> | ||
140 | + <a onclick="savesend()" class="easyui-linkbutton l-btn l-btn-small l-btn-selected " | ||
141 | + data-options="selected:true"> | ||
142 | + <span class="l-btn-left"><span class="l-btn-text"><spring:message | ||
143 | + code="opt.saveandsend" /></span></span> | ||
144 | + </a> | ||
145 | + <%-- <a onclick="sendDelivery()" class="easyui-linkbutton l-btn l-btn-small l-btn-selected " data-options="selected:true"> | ||
146 | + <span class="l-btn-left"><span class="l-btn-text"><spring:message code="manifest.delivery"/></span></span> | ||
147 | + </a> --%> | ||
148 | + </div> | ||
149 | + </td> | ||
150 | + </tr> | ||
151 | + </tbody> | ||
152 | + </table> | ||
153 | + </form> | ||
154 | + </div> | ||
155 | + </div> | ||
156 | + | ||
157 | + <div id="DialogShunt" class="easyui-dialog" title="报文" style="width: 800px; height: 800px;" | ||
158 | + data-options="iconCls:'pag-list',modal:true,collapsible:false,minimizable:false,maximizable:false,resizable:false,closed:true"> | ||
159 | + <div style="margin-left: 5px; margin-right: 5px; margin-top: 5px;"> | ||
160 | + <div class="data-tips-info"> | ||
161 | + <div class="data-tips-tip icon-tip"></div> | ||
162 | + </div> | ||
163 | + <div class="modal-body" style="padding-top: 3px; padding-left: 20px; padding-right: 3px;"> | ||
164 | + <textarea id="xmlContent" style="width: 100%; height: 400px;"></textarea> | ||
165 | + </div> | ||
166 | + <div style="text-align: center; padding-top: 30px;"></div> | ||
167 | + </div> | ||
168 | + </div> | ||
169 | + | ||
170 | + <!-- 外部js --> | ||
171 | + <script type="text/javascript" src="<%=basePath%>resource/My97DatePicker/WdatePicker.js?version=${version}"></script> | ||
172 | + <script src="<%=basePath%>resource/easyui/jquery.easyui.min.js?version=${version}"></script> | ||
173 | + <script src="<%=basePath%>/resource/js/tools.js?version=${version}"></script> | ||
174 | + <!--弹出层引入的JS--> | ||
175 | + <script type="text/javascript"> | ||
176 | + | ||
177 | + var layerIndex; | ||
178 | + var layer; | ||
179 | + layui.use('layer', function(){ | ||
180 | + layer = layui.layer; | ||
181 | + }); | ||
182 | + | ||
183 | + var selectFals = false; | ||
184 | + function submit(){ | ||
185 | + layerIndex = parent.layer.load(1, { | ||
186 | + shade: [0.6,'#000000'] //0.1透明度 | ||
187 | + }); | ||
188 | + var chboxValue=[]; | ||
189 | + var checkBox = $("input[name=one],input[name=two],input[name=three],input[name=four]"); | ||
190 | + for (var i=0; i<checkBox.length; i++){ | ||
191 | + if (checkBox[i].checked){ | ||
192 | + selectFals = true; | ||
193 | + } | ||
194 | + } | ||
195 | + | ||
196 | + | ||
197 | + if (selectFals == true){ | ||
198 | + var data = $("#form").serialize(); | ||
199 | + $.post("<%=basePath%>declaration/save",data,function (data) { | ||
200 | + parent.layer.close(layerIndex); | ||
201 | + if (data.status == 200) { | ||
202 | + var index = parent.layer.getFrameIndex(window.name); // 获取窗口索引 | ||
203 | + parent.layer.close(index); | ||
204 | + window.location.href = "<%=basePath%>declaration/list"; | ||
205 | + } else { | ||
206 | + layer.open({content:""+data.msg}); | ||
207 | + } | ||
208 | + }); | ||
209 | + }else { | ||
210 | + alert("货主类型至少选择一项"); | ||
211 | + return false; | ||
212 | + } | ||
213 | + | ||
214 | + } | ||
215 | + | ||
216 | + | ||
217 | + function viewXml(){ | ||
218 | + if($("#ids").val()==''){ | ||
219 | + layer.open({content:"<spring:message code='manifest.send.message.failed'/>"}); | ||
220 | + }else{ | ||
221 | + $("#mask").show(); | ||
222 | + showMask(); | ||
223 | + $("#mask").append("<spring:message code='manifest.send'/>"); | ||
224 | + $.post("<%=basePath%>manifest/xml",{id:$("#ids").val()},function(data){ | ||
225 | + // layer.open({content:data.data}); | ||
226 | + layer.open({content:"<spring:message code='manifest.send.message.successfully'/>"}); | ||
227 | + hideMask(); | ||
228 | + }) | ||
229 | + } | ||
230 | + } | ||
231 | + | ||
232 | + //发送报文并且保存 | ||
233 | + function savesend(){ | ||
234 | + var isValid = $("#form").valid(); | ||
235 | + if(isValid){ | ||
236 | + layerIndex = parent.layer.load(1, { | ||
237 | + shade: [0.6,'#000000'] //0.1透明度 | ||
238 | + }); | ||
239 | + var chboxValue=[]; | ||
240 | + var checkBox = $("input[name=one],input[name=two],input[name=three],input[name=four]"); | ||
241 | + for (var i=0; i<checkBox.length; i++){ | ||
242 | + if (checkBox[i].checked){ | ||
243 | + selectFals = true; | ||
244 | + } | ||
245 | + } | ||
246 | + var waybill = $("#waybill").val(); | ||
247 | + // alert(waybill); | ||
248 | + if (selectFals == true){ | ||
249 | + | ||
250 | + var data = $("#form").serialize(); | ||
251 | + $.post("<%=basePath%>declaration/save?waybill="+waybill,data,function (data) { | ||
252 | + parent.layer.close(layerIndex); | ||
253 | + if (data.status == 200) { | ||
254 | + alert("保存成功"); | ||
255 | + var index = parent.layer.getFrameIndex(window.name); // 获取窗口索引 | ||
256 | + parent.layer.close(index); | ||
257 | + window.location.href = "<%=basePath%>declaration/list"; | ||
258 | + } else if (data.status == 203){ | ||
259 | + alert("安检申报不可以重复添加"); | ||
260 | + }else { | ||
261 | + layer.open({content:data.msg}); | ||
262 | + } | ||
263 | + }) | ||
264 | + }else { | ||
265 | + alert("货物性质至少选择一项"); | ||
266 | + return false; | ||
267 | + } | ||
268 | + } | ||
269 | + } | ||
270 | + //发送交运报文 | ||
271 | + function sendDelivery(){ | ||
272 | + var id3 = $("#waybillnomaster").val($("#waybill").val()); | ||
273 | + var data = $("#form").serialize(); | ||
274 | + $.post("<%=basePath%>manifest/sendDelivery",data,function (data) { | ||
275 | + if (data.status == 200) { | ||
276 | +// layer.confirm("<spring:message code="opt.savesuccess"/>", {btn: ['<spring:message code="opt.confirm"/>', '<spring:message code="opt.cancel"/>']}, function () { | ||
277 | +<%-- window.location.href = "<%=basePath %>manifest/list" ; --%> | ||
278 | + $("#xmlContent").val(data.data); | ||
279 | + $("#DialogShunt").window('open'); | ||
280 | + window.location.href = "<%=basePath%>manifest/list"; | ||
281 | +// }) | ||
282 | + } else { | ||
283 | + layer.open({content: data.msg}); | ||
284 | + } | ||
285 | + }) | ||
286 | + } | ||
287 | + | ||
288 | + | ||
289 | + | ||
290 | + </script> | ||
291 | +</body> | ||
292 | +</html> |
@@ -133,10 +133,17 @@ String basePath = request.getScheme()+"://"+request.getServerName()+":"+request. | @@ -133,10 +133,17 @@ String basePath = request.getScheme()+"://"+request.getServerName()+":"+request. | ||
133 | </li> | 133 | </li> |
134 | 134 | ||
135 | <li class="active"> | 135 | <li class="active"> |
136 | - <a href="javascript:void(0)" onclick="addTab('<spring:message code="menu.premanifest" />||manifest/list',this)"> | ||
137 | - <span class="iconfont sider-nav-icon"></span> | 136 | + <a href="javascript:void(0);"> |
137 | + <span class="iconfont sider-nav-icon"></span> | ||
138 | <span class="sider-nav-title"><spring:message code="menu.premanifest" /></span> | 138 | <span class="sider-nav-title"><spring:message code="menu.premanifest" /></span> |
139 | + <i class="iconfont"></i> | ||
139 | </a> | 140 | </a> |
141 | + <ul class="sider-nav-s"> | ||
142 | + <li><a href="javascript:void(0);" onclick="addTab('<spring:message code="menu.premanifest" />||manifest/list',this)"><spring:message code="menu.premanifest" /></a></li> | ||
143 | + <li><a href="javascript:void(0);" onclick="addTab('安检申报||declaration/list?type=national',this)">安检申报</a></li> | ||
144 | + <%--<li><a href="javascript:void(0);" onclick="addTab('<spring:message code="bill.check" />||bill/CheckThrough?type=national',this)"><spring:message code="bill.check" /></a></li>--%> | ||
145 | + </ul> | ||
146 | + | ||
140 | </li> | 147 | </li> |
141 | <li> | 148 | <li> |
142 | <a href="javascript:void(0)" onclick="addTab('<spring:message code="menu.consignee_info_set" />||consignee/list',this)"> | 149 | <a href="javascript:void(0)" onclick="addTab('<spring:message code="menu.consignee_info_set" />||consignee/list',this)"> |
@@ -48,8 +48,8 @@ | @@ -48,8 +48,8 @@ | ||
48 | <th field="destinationstation"><spring:message code="manifest.destination"/></th> | 48 | <th field="destinationstation"><spring:message code="manifest.destination"/></th> |
49 | <th field="preparetotalpiece"><spring:message code="manifest.number.of.fittings"/></th> | 49 | <th field="preparetotalpiece"><spring:message code="manifest.number.of.fittings"/></th> |
50 | <th field="preparetotalweight"><spring:message code="manifest.pre.weight"/></th> | 50 | <th field="preparetotalweight"><spring:message code="manifest.pre.weight"/></th> |
51 | - <th field="response_text" formatter="checkResponseText" width="200"><spring:message code="manifest.response_text" /></th> | ||
52 | - <th field=".." formatter="operatorFormat"><spring:message code="opt.operator" /></th> | 51 | + <th field="response_text" formatter="checkResponseText" width="80"><spring:message code="manifest.response_text" /></th> |
52 | + <th field=".." formatter="operatorFormat" width="60"><spring:message code="opt.operator" /></th> | ||
53 | </tr> | 53 | </tr> |
54 | </thead> | 54 | </thead> |
55 | </table> | 55 | </table> |
@@ -61,7 +61,7 @@ | @@ -61,7 +61,7 @@ | ||
61 | <a href="javascript:doSearch()" class="easyui-linkbutton" iconCls="icon-search" data-options="selected:true"><spring:message code="opt.search" /></a> | 61 | <a href="javascript:doSearch()" class="easyui-linkbutton" iconCls="icon-search" data-options="selected:true"><spring:message code="opt.search" /></a> |
62 | <a href="javascript:editRow()" class="easyui-linkbutton" style="background:#18A197;color:#FFF;border: 1px solid #18A197;" iconCls="icon-add"><spring:message code="opt.add" /></a> | 62 | <a href="javascript:editRow()" class="easyui-linkbutton" style="background:#18A197;color:#FFF;border: 1px solid #18A197;" iconCls="icon-add"><spring:message code="opt.add" /></a> |
63 | <%--<a href="javascript:doDelete()" class="easyui-linkbutton" style="background:red;color:#FFF;border: 1px solid red" iconCls="icon-no"><spring:message code="opt.delete" /></a> --%> | 63 | <%--<a href="javascript:doDelete()" class="easyui-linkbutton" style="background:red;color:#FFF;border: 1px solid red" iconCls="icon-no"><spring:message code="opt.delete" /></a> --%> |
64 | - <a href="javascript:excelUpload()" class="easyui-linkbutton" style="background:#0EA14E;color:#FFF;border: 1px solid #18A197;"><spring:message code="manifest.excel"/></a> | 64 | + <%--<a href="javascript:excelUpload()" class="easyui-linkbutton" style="background:#0EA14E;color:#FFF;border: 1px solid #18A197;"><spring:message code="manifest.excel"/></a>--%> |
65 | </table> | 65 | </table> |
66 | </form> | 66 | </form> |
67 | </div> | 67 | </div> |
@@ -236,6 +236,7 @@ | @@ -236,6 +236,7 @@ | ||
236 | function operatorFormat(val, row, index){ | 236 | function operatorFormat(val, row, index){ |
237 | var html = "<a href='javascript:void(0)' onclick='backout("+row.id+")' style='text-decoration:none;color:blue;'><spring:message code='opt.backout'/></a>"; | 237 | var html = "<a href='javascript:void(0)' onclick='backout("+row.id+")' style='text-decoration:none;color:blue;'><spring:message code='opt.backout'/></a>"; |
238 | html+="<a href='javascript:void(0)' onclick='openReceipt(\""+row.waybillnomaster+"\")' style='text-decoration:none;color:blue;margin-left:20px;'><spring:message code='opt.open.receipt'/></a>"; | 238 | html+="<a href='javascript:void(0)' onclick='openReceipt(\""+row.waybillnomaster+"\")' style='text-decoration:none;color:blue;margin-left:20px;'><spring:message code='opt.open.receipt'/></a>"; |
239 | + html+="<a href='javascript:void(0)' onclick='security(\""+row.waybillnomaster+"\")' style='text-decoration:none;color:blue;margin-left:20px;'>添加安检申报</a>" | ||
239 | return html; | 240 | return html; |
240 | } | 241 | } |
241 | function backout(id){ | 242 | function backout(id){ |
@@ -413,9 +414,22 @@ | @@ -413,9 +414,22 @@ | ||
413 | maxmin : true, | 414 | maxmin : true, |
414 | shadeClose : false, // 点击遮罩关闭层 | 415 | shadeClose : false, // 点击遮罩关闭层 |
415 | area : [ '450px', '300px' ], | 416 | area : [ '450px', '300px' ], |
416 | - content : '/manifest/excelView/' | 417 | + content : '<%=basePath %>manifest/excelView' |
417 | }); | 418 | }); |
418 | } | 419 | } |
420 | + //添加安检申报 | ||
421 | + function security(waybill){ | ||
422 | + layer.open({ | ||
423 | + type : 2, | ||
424 | + title : '添加安检申报', | ||
425 | + maxmin : true, | ||
426 | + shadeClose : false, // 点击遮罩关闭层 | ||
427 | + area : [ '80%', '65%' ], | ||
428 | + content : '<%=basePath %>declaration/securityView?waybill='+waybill | ||
429 | + }); | ||
430 | + } | ||
431 | + | ||
432 | + | ||
419 | </script> | 433 | </script> |
420 | </body> | 434 | </body> |
421 | </html> | 435 | </html> |

348 字节
-
请 注册 或 登录 后发表评论