|
@@ -1310,11 +1310,11 @@ public class MainActivity extends BaseActivity {
|
|
|
currentHeight = currentHeight-mFontHeight;
|
|
|
}
|
|
|
|
|
|
- // module.box_order_product.color_two = "第二花色"; // 测试用
|
|
|
- // module.box_order_product.process_title_two = "第二工艺"; // 测试用
|
|
|
- // module.box_order_product.customer_name = "随便说点什么随便说点什么随便"; // 测试用
|
|
|
- // module.box_order_product.color = "西雅项目-2";
|
|
|
- // module.box_order_product.process_title = "西雅工艺-2";
|
|
|
+// module.decor_two_code_show = "第二花色"; // 测试用
|
|
|
+// module.craft_type_two_code_show = "第二工艺"; // 测试用
|
|
|
+// module.exe_sale_order_b.customer_name = "随便说点什么随便说点什么随便说点什么随便说点什么"; // 测试用
|
|
|
+// module.decor_code_show = "西雅项目-2";
|
|
|
+// module.craft_type_code_show = "西雅工艺-2";
|
|
|
// if(TextUtils.isEmpty(module.decor_two_code_show) && TextUtils.isEmpty(module.craft_type_two_code_show)) {
|
|
|
// // 如果是单花色、单工艺, 则合并在一行显示
|
|
|
// currentHeight = currentHeight-mSpace*mPot;
|
|
@@ -1404,8 +1404,7 @@ public class MainActivity extends BaseActivity {
|
|
|
// 底部显示
|
|
|
printer.text(currentHeight - mFontHeightDistanceHalf, mOffsetY*mPot, FNT_SIMPLIFIED_CHINESE, ROTATION_90, fontSizeMultiple,fontSizeMultiple, "包装数量:") // 包装数量 -> module.box_num
|
|
|
.text(currentHeight, mOffsetY*mPot+(5*mFontWidth), FNT_SIMPLIFIED_CHINESE, ROTATION_90, fontSizeMultiple1,fontSizeMultiple1, module.box_num)
|
|
|
- .text(currentHeight + mFontHeight/2, (mPaperHeight-5)*mPot-getStrLength(module.box_no)-getStrLength("包装单号: "), FNT_SIMPLIFIED_CHINESE, ROTATION_90, fontSizeMultiple,fontSizeMultiple, "包装单号: ") // 包装单号 -> module.box_no
|
|
|
- .text(currentHeight+ mFontHeight/2, (mPaperHeight-5)*mPot-getStrLength(module.box_no), FNT_SIMPLIFIED_CHINESE, ROTATION_90, fontSizeMultiple,fontSizeMultiple, module.box_no)
|
|
|
+ .text(currentHeight + mFontHeight/2, (mPaperHeight-5)*mPot-getStrLength(module.box_no)-getStrLength("包装单号: "), FNT_SIMPLIFIED_CHINESE, ROTATION_90, fontSizeMultiple,fontSizeMultiple, "包装单号:" + module.box_no) // 包装单号 -> module.box_no
|
|
|
.text(currentHeight - mFontHeight/2, (mPaperHeight-5)*mPot-getStrLength(module.box_no)-getStrLength("包装单号: "), FNT_SIMPLIFIED_CHINESE, ROTATION_90, fontSizeMultiple,fontSizeMultiple, module.now_date);
|
|
|
// }
|
|
|
// 二维码 qrX:32 qrY:30 cellWidth:10
|
|
@@ -1492,7 +1491,7 @@ public class MainActivity extends BaseActivity {
|
|
|
|
|
|
// module.box_order_product.color_two = "第二花色"; // 测试用
|
|
|
// module.box_order_product.process_title_two = "第二工艺"; // 测试用
|
|
|
-// module.box_order_product.customer_name = "随便说点什么随便说点什么随"; // 测试用
|
|
|
+// module.box_order_product.customer_name = "随便说点什么随便说点什么随随便说"; // 测试用
|
|
|
// module.box_order_product.color = "西雅项目-2"; // 测试用
|
|
|
// module.box_order_product.process_title = "西雅工艺-2"; // 测试用
|
|
|
// if(TextUtils.isEmpty(module.box_order_product.color_two) && TextUtils.isEmpty(module.box_order_product.process_title_two)) {
|