achao hace 2 años
padre
commit
cbf862dd2f
Se han modificado 1 ficheros con 28 adiciones y 5 borrados
  1. 28 5
      pages/erpbusiness/sendCommand.vue

+ 28 - 5
pages/erpbusiness/sendCommand.vue

@@ -246,7 +246,7 @@
 				//客户身份证
 
 				command.setText("客户身份证:" + that.gridList.customerNumberCard);
-				command.setFontSize(24); //字体大小
+				command.setFontSize(0); //字体大小
 				command.setSelectJustification(0); //居左
 				command.setLeftMargin(30)
 				command.setPrint();
@@ -254,7 +254,7 @@
 				//客户电话
 
 				command.setText("客户电话:" + that.gridList.customerPhone);
-				command.setFontSize(50); //字体大小
+				command.setFontSize(0); //字体大小
 				command.setSelectJustification(0); //居左
 				command.setLeftMargin(30)
 				command.setPrint();
@@ -262,7 +262,7 @@
 				//车牌号
 
 				command.setText("车牌号:" + that.gridList.carNumber);
-				command.setFontSize(100); //字体大小
+				command.setFontSize(0); //字体大小
 				command.setSelectJustification(0); //居左
 				command.setLeftMargin(30)
 				command.setPrint();
@@ -271,6 +271,7 @@
 					//箱号
 
 					command.setText("箱号-1:" + that.gridList.boxNo);
+					command.setFontSize(0); //字体大小
 					command.setSelectJustification(0); //居左
 					command.setLeftMargin(30)
 					command.setPrint();
@@ -279,6 +280,7 @@
 					//箱号
 
 					command.setText("箱号-2:" + that.gridList.boxNoOther);
+					command.setFontSize(0); //字体大小
 					command.setSelectJustification(0); //居左
 					command.setLeftMargin(30)
 					command.setPrint();
@@ -287,6 +289,7 @@
 					//封号
 
 					command.setText("封号-1:" + that.gridList.titleNo);
+					command.setFontSize(0); //字体大小
 					command.setSelectJustification(0); //居左
 					command.setLeftMargin(30)
 					command.setPrint();
@@ -295,6 +298,7 @@
 					//封号
 
 					command.setText("封号-2:" + that.gridList.titleNoOther);
+					command.setFontSize(0); //字体大小
 					command.setSelectJustification(0); //居左
 					command.setLeftMargin(30)
 					command.setPrint();
@@ -302,18 +306,21 @@
 				//仓位号
 
 				command.setText("仓位号:" + that.gridList.binNumber);
+				command.setFontSize(0); //字体大小
 				command.setSelectJustification(0); //居左
 				command.setLeftMargin(30)
 				command.setPrint();
 				//收货单位
 
 				command.setText("收货单位:" + that.gridList.compName);
+				command.setFontSize(0); //字体大小
 				command.setSelectJustification(0); //居左
 				command.setLeftMargin(30)
 				command.setPrint();
 				//联系人
 
 				command.setText("联系人:" + that.gridList.person);
+				command.setFontSize(0); //字体大小
 				command.setSelectJustification(0); //居左
 				command.setLeftMargin(30)
 				command.setPrint();
@@ -321,12 +328,14 @@
 				//联系电话
 
 				command.setText("联系电话:" + that.gridList.personPhone);
+				command.setFontSize(0); //字体大小
 				command.setSelectJustification(0); //居左
 				command.setLeftMargin(30)
 				command.setPrint();
 
 				//货名
 				command.setText("货名:" + that.gridList.goodsName);
+				command.setFontSize(0); //字体大小
 				command.setSelectJustification(0); //居左
 				command.setLeftMargin(30)
 				command.setPrint();
@@ -334,6 +343,7 @@
 				//类型
 
 				command.setText("类型:" + that.gridList.type);
+				command.setFontSize(0); //字体大小
 				command.setSelectJustification(0); //居左
 				command.setLeftMargin(30)
 				command.setPrint();
@@ -341,6 +351,7 @@
 				//容量
 
 				command.setText("容量(克/升):" + that.gridList.bulkDensity);
+				command.setFontSize(0); //字体大小
 				command.setSelectJustification(0); //居左
 				command.setLeftMargin(30)
 				command.setPrint();
@@ -348,6 +359,7 @@
 				//不完善粒
 
 				command.setText("不完善粒(%):" + that.gridList.imperfectGrain);
+				command.setFontSize(0); //字体大小
 				command.setSelectJustification(0); //居左
 				command.setLeftMargin(30)
 				command.setPrint();
@@ -355,32 +367,37 @@
 				//等级
 
 				command.setText("等级:" + that.gridList.grade);
+				command.setFontSize(0); //字体大小
 				command.setSelectJustification(0); //居左
 				command.setLeftMargin(30)
 				command.setPrint();
 
 				//水分
 				command.setText("水分(%):" + that.gridList.waterContent);
+				command.setFontSize(0); //字体大小
 				command.setSelectJustification(0); //居左
 				command.setLeftMargin(30)
 				command.setPrint();
 				//热损伤
 
 				command.setText("热损伤(%):" + that.gridList.jiaorenli);
+				command.setFontSize(0); //字体大小
 				command.setSelectJustification(0); //居左
 				command.setLeftMargin(30)
 				command.setPrint();
 				//单价
 				if (that.gridList.type == '潮粮') {
 					command.setText("单价(元/公斤):" + that.gridList.tidalGrainPrice);
+					command.setFontSize(0); //字体大小
+					command.setSelectJustification(0); //居左
+					command.setLeftMargin(30)
 					command.setPrint();
 				}
-				command.setSelectJustification(0); //居左
-				command.setLeftMargin(30)
 
 				//杂质
 
 				command.setText("杂质(%):" + that.gridList.impurity);
+				command.setFontSize(0); //字体大小
 				command.setSelectJustification(0); //居左
 				command.setLeftMargin(30)
 				command.setPrint();
@@ -388,12 +405,14 @@
 				//霉变粒
 
 				command.setText("霉变粒(%):" + that.gridList.mildewGrain);
+				command.setFontSize(0); //字体大小
 				command.setSelectJustification(0); //居左
 				command.setLeftMargin(30)
 				command.setPrint();
 
 				//购粮性质
 				command.setText("购粮性质:" + that.gridList.natureOfGrainPurchase);
+				command.setFontSize(0); //字体大小
 				command.setSelectJustification(0); //居左
 				command.setLeftMargin(30)
 				command.setPrint();
@@ -401,6 +420,7 @@
 				//仓位号
 
 				command.setText("仓位号:" + that.gridList.binNumber);
+				command.setFontSize(0); //字体大小
 				command.setSelectJustification(0); //居左
 				command.setLeftMargin(30)
 				command.setPrint();
@@ -408,6 +428,7 @@
 				//囤位号
 
 				command.setText("囤位号:" + that.gridList.storageTagNo);
+				command.setFontSize(0); //字体大小
 				command.setSelectJustification(0); //居左
 				command.setLeftMargin(30)
 				command.setPrint();
@@ -415,6 +436,7 @@
 				//质检员
 
 				command.setText("质检员:" + that.gridList.qualityInspector);
+				command.setFontSize(0); //字体大小
 				command.setSelectJustification(0); //居左
 				command.setLeftMargin(30)
 				command.setPrint();
@@ -428,6 +450,7 @@
 				//收货单位签名或盖章
 
 				command.setText("收货单位签名或盖章:");
+				command.setFontSize(0); //字体大小
 				command.setSelectJustification(0); //居左
 				command.setLeftMargin(30)
 				command.setPrintAndFeed(150);