|
|
@@ -109,7 +109,7 @@ class ProductController extends BaseController
|
|
|
$p = new printUtil($printLabelSn);
|
|
|
$unit = $info->ratio . $info->smallUnit . '/' . $info->bigUnit;
|
|
|
$p->times = $num;
|
|
|
- if (stringUtil::getWordNum($name) > 8) {
|
|
|
+ if (stringUtil::getWordNum($name) > 7) {
|
|
|
$content = '<TEXT x="30" y="30" font="12" w="1" h="1" r="0">' . $name . '</TEXT>';
|
|
|
} else {
|
|
|
$content = '<TEXT x="30" y="30" font="12" w="2" h="2" r="0">' . $name . '</TEXT>';
|