|
@@ -14,7 +14,6 @@
|
|
|
<button type='primary' class="btn" @tap='goToList'>返回列表页</button>
|
|
|
<!-- <button type='primary' @tap='labelTest' :loading='isLabelSend' :disabled='isLabelSend'>标签测试</button> -->
|
|
|
</view>
|
|
|
-
|
|
|
<view style='margin-top:4%;display: flex;flex-direction: row;'>
|
|
|
<!-- hidden='true' -->
|
|
|
<canvas canvas-id='edit_area_canvas'
|
|
@@ -209,17 +208,19 @@
|
|
|
command.bold(3); //加粗
|
|
|
command.setFontSize(36); //字体大小
|
|
|
command.setSelectJustification(1) //居中
|
|
|
- command.rowSpace(200);
|
|
|
+ command.rowSpace(100);
|
|
|
command.setText(that.gridList.qualityNo.substring(that.gridList.qualityNo.length - 3));
|
|
|
} else {
|
|
|
uni.showToast('编号错误!')
|
|
|
+ command.bold(3); //加粗
|
|
|
+ command.setFontSize(36); //字体大小
|
|
|
+ command.setSelectJustification(1) //居中
|
|
|
+ command.rowSpace(100);
|
|
|
+ command.setText("编号错误"+that.gridList.qualityNo);
|
|
|
}
|
|
|
|
|
|
|
|
|
command.setPrint();
|
|
|
- command.rowSpace(60);
|
|
|
- command.bold(0); //取消加粗
|
|
|
- command.setFontSize(0); //正常字体
|
|
|
|
|
|
// 标题
|
|
|
command.bold(1); //加粗
|
|
@@ -246,12 +247,12 @@
|
|
|
//客户身份证
|
|
|
command.setSelectJustification(0); //居左
|
|
|
command.setLeftMargin(30)
|
|
|
- command.setText("客户身份证:" + that.gridList.customerNumberCard);
|
|
|
+ command.setText("客户身份证:" + that.gridList.weighingManagement.customerNumberCard);
|
|
|
command.setPrint();
|
|
|
//客户电话
|
|
|
command.setSelectJustification(0); //居左
|
|
|
command.setLeftMargin(30)
|
|
|
- command.setText("客户电话:" + that.gridList.customerPhone);
|
|
|
+ command.setText("客户电话:" + that.gridList.weighingManagement.customerPhone);
|
|
|
command.setPrint();
|
|
|
//车牌号
|
|
|
command.setSelectJustification(0); //居左
|
|
@@ -294,18 +295,18 @@
|
|
|
//收货单位
|
|
|
command.setSelectJustification(0); //居左
|
|
|
command.setLeftMargin(30)
|
|
|
- command.setText("收货单位:" + that.gridList.compName);
|
|
|
+ command.setText("收货仓库:" + that.gridList.weighingManagement.warehouseName);
|
|
|
command.setPrint();
|
|
|
//联系人
|
|
|
- command.setSelectJustification(0); //居左
|
|
|
- command.setLeftMargin(30)
|
|
|
- command.setText("联系人:" + that.gridList.person);
|
|
|
- command.setPrint();
|
|
|
+ // command.setSelectJustification(0); //居左
|
|
|
+ // command.setLeftMargin(30)
|
|
|
+ // command.setText("联系人:" + that.gridList.person);
|
|
|
+ // command.setPrint();
|
|
|
//联系电话
|
|
|
- command.setSelectJustification(0); //居左
|
|
|
- command.setLeftMargin(30)
|
|
|
- command.setText("联系电话:" + that.gridList.personPhone);
|
|
|
- command.setPrint();
|
|
|
+ // command.setSelectJustification(0); //居左
|
|
|
+ // command.setLeftMargin(30)
|
|
|
+ // command.setText("联系电话:" + that.gridList.personPhone);
|
|
|
+ // command.setPrint();
|
|
|
//货名
|
|
|
command.setSelectJustification(0); //居左
|
|
|
command.setLeftMargin(30)
|
|
@@ -361,10 +362,10 @@
|
|
|
command.setText("霉变粒(%):" + that.gridList.mildewGrain);
|
|
|
command.setPrint();
|
|
|
//购粮性质
|
|
|
- command.setSelectJustification(0); //居左
|
|
|
- command.setLeftMargin(30)
|
|
|
- command.setText("购粮性质:" + that.gridList.natureOfGrainPurchase);
|
|
|
- command.setPrint();
|
|
|
+ // command.setSelectJustification(0); //居左
|
|
|
+ // command.setLeftMargin(30)
|
|
|
+ // command.setText("购粮性质:" + that.gridList.natureOfGrainPurchase);
|
|
|
+ // command.setPrint();
|
|
|
//仓位号
|
|
|
command.setSelectJustification(0); //居左
|
|
|
command.setLeftMargin(30)
|