Commit 265d6704 authored by liboyang's avatar liboyang

新增页面

parent 05ea13ac
......@@ -98,7 +98,8 @@ public class PersonPostApi {
* @param printTime
* @return
*/
public boolean printPostList(@RequestParam("id") int id, @RequestParam("printTime") String printTime) {
@RequestMapping("updatePrintDate")
public boolean updatePrintDate(@RequestParam("id") int id, @RequestParam("printTime") String printTime) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
boolean flag=false;
try {
......
......@@ -58,5 +58,5 @@ public interface PersonPostMapper {
public PersonPostEntity findPostInfoById(int id);
@Update("update PERSON_POST SET PRINT_DATE=#{printDateTime} where id=#{id}")
void updateIsPrint(int id, Date printDateTime);
void updateIsPrint(@Param("id") int id, @Param("printDateTime") Date printDateTime);
}
......@@ -55,7 +55,7 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
console.log(id)
$http({
method: 'GET',
url: "../api/idCard/printPostList" + urlTimeStamp(),
url: "../personPostApi/updatePrintDate" + urlTimeStamp(),
params: {
id: id,
printTime: printTime
......
......@@ -83,7 +83,7 @@
<input ng-if="$index==0" type="radio" name="r1" class="minimal" value="{{item.id}}" ng-click="changeIndex($index)" checked="checked">
<input ng-if="$index!=0" type="radio" name="r1" class="minimal" value="{{item.id}}" ng-click="changeIndex($index)">
</td>
<td>{{$index+1}}</td>
<td>{{item.id}}</td>
<td>{{item.orderNumber}}</td>
<td>{{item.waybillNumber}}</td>
<td>{{item.backWaybillNumber}}</td>
......@@ -135,8 +135,8 @@
<table cellspacing="0" cellpadding="0" style="height:15mm;border-left:1px dashed #000;border-right:2px solid #000;">
<tr>
<td style="border-top:1px dashed #000;border-bottom:1px dashed #000;width:46mm;font-size: 3mm;">
<p style="position:absolute;top:19mm;left:1.5mm;">寄件:{{postMsgDetail[idx].sjrxm}}&nbsp;&nbsp;{{postMsgDetail[idx].sjrlxfs}}</p>
<span style="position:absolute;top:25mm;left:10mm;width:37mm;">{{postMsgDetail[idx].sjrdz}}</span>
<p style="position:absolute;top:19mm;left:1.5mm;">寄件:{{postMsgDetail[idx].recipientName}}&nbsp;&nbsp;{{postMsgDetail[idx].recipientPhone}}</p>
<span style="position:absolute;top:25mm;left:10mm;width:37mm;">{{postMsgDetail[idx].recipientAddress}}</span>
</td>
<td style="border:2px solid #000;border-right:0px;width:50mm;"></td>
</tr>
......@@ -148,8 +148,8 @@
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:17mm">
<tr>
<td style="border-right:1px dashed #000;border-left:1px dashed #000;border-bottom:1px dashed #000;width:96mm">
<p style="font-size: 3mm; position:absolute;top:33mm;left:1.5mm;">收件:<span style="font-size: 4mm;">{{postMsgDetail[idx].jjrxm}}&nbsp;&nbsp;{{postMsgDetail[idx].jjrlxfs}}</span></p>
<span style="position:absolute;top:40mm;left:10mm;width:85mm;font-size: 4mm;">{{postMsgDetail[idx].jjrdz}}</span></td>
<p style="font-size: 3mm; position:absolute;top:33mm;left:1.5mm;">收件:<span style="font-size: 4mm;">{{postMsgDetail[idx].senderName}}&nbsp;&nbsp;{{postMsgDetail[idx].senderPhone}}</span></p>
<span style="position:absolute;top:40mm;left:10mm;width:85mm;font-size: 4mm;">{{postMsgDetail[idx].senderAddress}}</span></td>
</td>
</tr>
</table>
......@@ -201,12 +201,12 @@
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:17mm;font-size: 3mm;">
<tr>
<td style="border-right:1px dashed #000;width:40mm">
<p style="position:absolute;top:105mm;left:1.5mm;">寄件:{{postMsgDetail[idx].sjrxm}}&nbsp;{{postMsgDetail[idx].sjrlxfs}}</p>
<span style="position:absolute;top:111mm;left:10mm;width:30mm;">{{postMsgDetail[idx].sjrdz}}</span>
<p style="position:absolute;top:105mm;left:1.5mm;">寄件:{{postMsgDetail[idx].recipientName}}&nbsp;{{postMsgDetail[idx].recipientPhone}}</p>
<span style="position:absolute;top:111mm;left:10mm;width:30mm;">{{postMsgDetail[idx].recipientAddress}}</span>
</td>
<td style="border:0px dashed #000;width:56mm">
<p style="position:absolute;top:105mm;left:42mm;">收件:{{postMsgDetail[idx].jjrxm}}&nbsp;&nbsp;{{postMsgDetail[idx].jjrlxfs}}</p>
<span style="position:absolute;top:112mm;left:50.5mm;width:40mm;">{{postMsgDetail[idx].jjrdz}}</span></td>
<p style="position:absolute;top:105mm;left:42mm;">收件:{{postMsgDetail[idx].senderName}}&nbsp;&nbsp;{{postMsgDetail[idx].senderPhone}}</p>
<span style="position:absolute;top:112mm;left:50.5mm;width:40mm;">{{postMsgDetail[idx].senderAddress}}</span></td>
</tr>
</table>
</td>
......@@ -264,13 +264,13 @@
<table cellspacing="0" cellpadding="0" style="height:15mm;border-left:1px dashed #000;border-right:2px solid #000;">
<tr>
<td style="border-top:1px dashed #000;border-bottom:1px dashed #000;width:46mm;font-size: 3mm;">
<p style="position:absolute;top:19mm;left:1.5mm;">寄件:{{postMsgDetail[idx].jjrxm}}</p>
<p style="position:absolute;top:22mm;left:10mm;">{{postMsgDetail[idx].jjrlxfs}}</p>
<span style="position:absolute;top:28mm;left:10mm;width:37mm;">{{postMsgDetail[idx].jjrdz}}</span>
<p style="position:absolute;top:19mm;left:1.5mm;">寄件:{{postMsgDetail[idx].senderName}}</p>
<p style="position:absolute;top:22mm;left:10mm;">{{postMsgDetail[idx].senderPhone}}</p>
<span style="position:absolute;top:28mm;left:10mm;width:37mm;">{{postMsgDetail[idx].senderAddress}}</span>
</td>
<td style="border:2px solid #000;border-right:0px;width:50mm;">
<span style="font-size: 6mm;width:50mm;position:absolute;top:22mm;left: 50mm">
{{postMsgDetail[idx].sqrxm}}
{{postMsgDetail[idx].applicantName}}
</span>
</td>
</tr>
......@@ -282,8 +282,8 @@
<table cellspacing="0" cellpadding="0" style="border:1px dashed #000;border-top:none;border-collapse:collapse;height:17mm">
<tr>
<td style="border-right:1px dashed #000;border-left:1px dashed #000;border-bottom:1px dashed #000;width:96mm">
<p style="font-size: 3mm; position:absolute;top:33mm;left:1.5mm;">收件:<span style="font-size: 4mm;">{{postMsgDetail[idx].sjrxm}}&nbsp;&nbsp;{{postMsgDetail[idx].sjrlxfs}}</span></p>
<span style="position:absolute;top:40mm;left:10mm;width:85mm;font-size: 4mm;">{{postMsgDetail[idx].sjrdz}}</span></td>
<p style="font-size: 3mm; position:absolute;top:33mm;left:1.5mm;">收件:<span style="font-size: 4mm;">{{postMsgDetail[idx].recipientName}}&nbsp;&nbsp;{{postMsgDetail[idx].recipientPhone}}</span></p>
<span style="position:absolute;top:40mm;left:10mm;width:85mm;font-size: 4mm;">{{postMsgDetail[idx].recipientAddress}}</span></td>
</td>
</tr>
</table>
......@@ -313,8 +313,7 @@
<tr>
<td style="border:1px dashed #000;border-top:0;width:96mm">
<span style="font-size:3mm; position:absolute;top:69mm;left:2mm;">订单号:</span>
<p style="font-size:3mm; position:absolute;top:72mm;left:2mm;">配货信息:<span style="font-size:7mm;margin-left: 30px">{{postMsgDetail[idx].gkxx}}</span></p>
<!--<p style="font-size:3mm; position:absolute;top:72mm;left:2mm;">配货信息:<span style="font-size: 7mm;">{{postMsgDetail[idx].sqrxm}}</span></p>-->
<p style="font-size:3mm; position:absolute;top:72mm;left:2mm;">配货信息:<span style="font-size:7mm;margin-left: 30px">{{postMsgDetail[idx].latticeMouthInformation}}</span></p>
</td>
</tr>
</table>
......@@ -338,13 +337,13 @@
border-top:none;border-collapse:collapse;height:17mm;font-size: 3mm;">
<tr>
<td style="border-right:1px dashed #000;width:40mm">
<p style="position:absolute;top:105mm;left:1.5mm;">寄件:{{postMsgDetail[idx].jjrxm}}</p>
<p style="position:absolute;top:108mm;left:10mm;">{{postMsgDetail[idx].jjrlxfs}}</p>
<span style="position:absolute;top:114mm;left:10mm;width:30mm;">{{postMsgDetail[idx].jjrdz}}</span>
<p style="position:absolute;top:105mm;left:1.5mm;">寄件:{{postMsgDetail[idx].senderName}}</p>
<p style="position:absolute;top:108mm;left:10mm;">{{postMsgDetail[idx].senderPhone}}</p>
<span style="position:absolute;top:114mm;left:10mm;width:30mm;">{{postMsgDetail[idx].senderAddress}}</span>
</td>
<td style="border:0px dashed #000;width:56mm">
<p style="position:absolute;top:105mm;left:43mm;">收件:{{postMsgDetail[idx].sjrxm}}&nbsp;{{postMsgDetail[idx].sjrlxfs}}</p>
<span style="position:absolute;top:111mm;left:52mm;width:40mm;">{{postMsgDetail[idx].sjrdz}}</span></td>
<p style="position:absolute;top:105mm;left:43mm;">收件:{{postMsgDetail[idx].recipientName}}&nbsp;{{postMsgDetail[idx].recipientPhone}}</p>
<span style="position:absolute;top:111mm;left:52mm;width:40mm;">{{postMsgDetail[idx].recipientAddress}}</span></td>
</tr>
</table>
</td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment