|
@@ -223,12 +223,12 @@
|
|
|
//客户姓名
|
|
|
command.setSelectJustification(0); //居左
|
|
|
command.setLeftMargin(30)
|
|
|
- command.setText("客户姓名:" + that.gridList.customerName);
|
|
|
+ command.setText("客户姓名:" + that.gridList.customerName);
|
|
|
command.setPrint();
|
|
|
//客户身份证
|
|
|
command.setSelectJustification(0); //居左
|
|
|
command.setLeftMargin(30)
|
|
|
- command.setText("客户身份证:" + that.gridList.customerNumberCard);
|
|
|
+ command.setText("客户身份证:" + that.gridList.customerNumberCard);
|
|
|
command.setPrint();
|
|
|
//客户电话
|
|
|
command.setSelectJustification(0); //居左
|
|
@@ -238,129 +238,129 @@
|
|
|
//车牌号
|
|
|
command.setSelectJustification(0); //居左
|
|
|
command.setLeftMargin(30)
|
|
|
- command.setText("车牌号:" + that.gridList.carNumber);
|
|
|
+ command.setText("车牌号:" + that.gridList.carNumber);
|
|
|
command.setPrint();
|
|
|
if (that.gridList.boxNo) {
|
|
|
//箱号
|
|
|
command.setSelectJustification(0); //居左
|
|
|
command.setLeftMargin(30)
|
|
|
- command.setText("箱号-1:" + that.gridList.boxNo);
|
|
|
+ command.setText("箱号-1:" + that.gridList.boxNo);
|
|
|
command.setPrint();
|
|
|
}
|
|
|
if (that.gridList.boxNoOther) {
|
|
|
//箱号
|
|
|
command.setSelectJustification(0); //居左
|
|
|
command.setLeftMargin(30)
|
|
|
- command.setText("箱号-2:" + that.gridList.boxNoOther);
|
|
|
+ command.setText("箱号-2:" + that.gridList.boxNoOther);
|
|
|
command.setPrint();
|
|
|
}
|
|
|
if (that.gridList.titleNo) {
|
|
|
//封号
|
|
|
command.setSelectJustification(0); //居左
|
|
|
command.setLeftMargin(30)
|
|
|
- command.setText("封号-1:" + that.gridList.titleNo);
|
|
|
+ command.setText("封号-1:" + that.gridList.titleNo);
|
|
|
command.setPrint();
|
|
|
}
|
|
|
if (that.gridList.titleNoOther) {
|
|
|
//封号
|
|
|
command.setSelectJustification(0); //居左
|
|
|
command.setLeftMargin(30)
|
|
|
- command.setText("封号-2:" + that.gridList.titleNoOther);
|
|
|
+ command.setText("封号-2:" + that.gridList.titleNoOther);
|
|
|
command.setPrint();
|
|
|
}
|
|
|
//仓位号
|
|
|
command.setSelectJustification(0); //居左
|
|
|
command.setLeftMargin(30)
|
|
|
- command.setText("仓位号:" + that.gridList.binNumber);
|
|
|
+ command.setText("仓位号:" + that.gridList.binNumber);
|
|
|
command.setPrint();
|
|
|
//收货单位
|
|
|
command.setSelectJustification(0); //居左
|
|
|
command.setLeftMargin(30)
|
|
|
- command.setText("收货单位:" + that.gridList.compName);
|
|
|
+ command.setText("收货单位:" + that.gridList.compName);
|
|
|
command.setPrint();
|
|
|
//联系人
|
|
|
command.setSelectJustification(0); //居左
|
|
|
command.setLeftMargin(30)
|
|
|
- command.setText("联系人:" + that.gridList.person);
|
|
|
+ command.setText("联系人:" + that.gridList.person);
|
|
|
command.setPrint();
|
|
|
//联系电话
|
|
|
command.setSelectJustification(0); //居左
|
|
|
command.setLeftMargin(30)
|
|
|
- command.setText("联系电话:" + that.gridList.personPhone);
|
|
|
+ command.setText("联系电话:" + that.gridList.personPhone);
|
|
|
command.setPrint();
|
|
|
//货名
|
|
|
command.setSelectJustification(0); //居左
|
|
|
command.setLeftMargin(30)
|
|
|
- command.setText("货名:" + that.gridList.goodsName);
|
|
|
+ command.setText("货名:" + that.gridList.goodsName);
|
|
|
command.setPrint();
|
|
|
//类型
|
|
|
command.setSelectJustification(0); //居左
|
|
|
command.setLeftMargin(30)
|
|
|
- command.setText("类型:" + that.gridList.type);
|
|
|
+ command.setText("类型:" + that.gridList.type);
|
|
|
command.setPrint();
|
|
|
//容量
|
|
|
command.setSelectJustification(0); //居左
|
|
|
command.setLeftMargin(30)
|
|
|
- command.setText("容量(克/升):" + that.gridList.bulkDensity);
|
|
|
+ command.setText("容量(克/升):" + that.gridList.bulkDensity);
|
|
|
command.setPrint();
|
|
|
//不完善粒
|
|
|
command.setSelectJustification(0); //居左
|
|
|
command.setLeftMargin(30)
|
|
|
- command.setText("不完善粒(%):" + that.gridList.imperfectGrain);
|
|
|
+ command.setText("不完善粒(%):" + that.gridList.imperfectGrain);
|
|
|
command.setPrint();
|
|
|
//等级
|
|
|
command.setSelectJustification(0); //居左
|
|
|
command.setLeftMargin(30)
|
|
|
- command.setText("等级:" + that.gridList.grade);
|
|
|
+ command.setText("等级:" + that.gridList.grade);
|
|
|
command.setPrint();
|
|
|
//水分
|
|
|
command.setSelectJustification(0); //居左
|
|
|
command.setLeftMargin(30)
|
|
|
- command.setText("水分(%):" + that.gridList.waterContent);
|
|
|
+ command.setText("水分(%):" + that.gridList.waterContent);
|
|
|
command.setPrint();
|
|
|
//热损伤
|
|
|
command.setSelectJustification(0); //居左
|
|
|
command.setLeftMargin(30)
|
|
|
- command.setText("热损伤(%):" + that.gridList.jiaorenli);
|
|
|
+ command.setText("热损伤(%):" + that.gridList.jiaorenli);
|
|
|
command.setPrint();
|
|
|
//单价
|
|
|
command.setSelectJustification(0); //居左
|
|
|
command.setLeftMargin(30)
|
|
|
if (that.gridList.type == '潮粮') {
|
|
|
- command.setText("单价(元/公斤):" + that.gridList.tidalGrainPrice);
|
|
|
+ command.setText("单价(元/公斤):" + that.gridList.tidalGrainPrice);
|
|
|
} else {
|
|
|
- command.setText("单价(元/公斤):" + that.gridList.dryGrainPrice);
|
|
|
+ command.setText("单价(元/公斤):" + that.gridList.dryGrainPrice);
|
|
|
}
|
|
|
command.setPrint();
|
|
|
//杂质
|
|
|
command.setSelectJustification(0); //居左
|
|
|
command.setLeftMargin(30)
|
|
|
- command.setText("杂质(%):" + that.gridList.impurity);
|
|
|
+ command.setText("杂质(%):" + that.gridList.impurity);
|
|
|
command.setPrint();
|
|
|
//霉变粒
|
|
|
command.setSelectJustification(0); //居左
|
|
|
command.setLeftMargin(30)
|
|
|
- command.setText("霉变粒(%):" + that.gridList.mildewGrain);
|
|
|
+ command.setText("霉变粒(%):" + that.gridList.mildewGrain);
|
|
|
command.setPrint();
|
|
|
//购粮性质
|
|
|
command.setSelectJustification(0); //居左
|
|
|
command.setLeftMargin(30)
|
|
|
- command.setText("购粮性质:" + that.gridList.natureOfGrainPurchase);
|
|
|
+ command.setText("购粮性质:" + that.gridList.natureOfGrainPurchase);
|
|
|
command.setPrint();
|
|
|
//仓位号
|
|
|
command.setSelectJustification(0); //居左
|
|
|
command.setLeftMargin(30)
|
|
|
- command.setText("仓位号:" + that.gridList.binNumber);
|
|
|
+ command.setText("仓位号:" + that.gridList.binNumber);
|
|
|
command.setPrint();
|
|
|
//囤位号
|
|
|
command.setSelectJustification(0); //居左
|
|
|
command.setLeftMargin(30)
|
|
|
- command.setText("囤位号:" + that.gridList.storageTagNo);
|
|
|
+ command.setText("囤位号:" + that.gridList.storageTagNo);
|
|
|
command.setPrint();
|
|
|
//质检员
|
|
|
command.setSelectJustification(0); //居左
|
|
|
command.setLeftMargin(30)
|
|
|
- command.setText("质检员:" + that.gridList.qualityInspector);
|
|
|
+ command.setText("质检员:" + that.gridList.qualityInspector);
|
|
|
command.setPrint();
|
|
|
//客户签名
|
|
|
// command.rowSpace(100);
|
|
@@ -374,7 +374,7 @@
|
|
|
command.setLeftMargin(30)
|
|
|
command.setText("收货单位签名或盖章:");
|
|
|
command.setPrintAndFeed(150);
|
|
|
- command.setPrintAndFeedRow(8);
|
|
|
+ command.setPrintAndFeedRow(10);
|
|
|
that.isReceiptSend = true;
|
|
|
that.prepareSend(command.getData());
|
|
|
|