|
|
@@ -188,9 +188,9 @@ class ProductController extends BaseController
|
|
|
util::fail('请设置标签打印机');
|
|
|
}
|
|
|
$p = new printUtil($printLabelSn);
|
|
|
- $unit = $info->ratio . $info->smallUnit . '/' . $info->bigUnit;
|
|
|
+ $unit = $info->ratio . $info->smallUnit . '装';
|
|
|
if (isset($info->ratioType) && $info->ratioType == 1) {
|
|
|
- $unit = '若干' . $info->smallUnit . '/' . $info->bigUnit;
|
|
|
+ $unit = '若干' . $info->smallUnit . '装';
|
|
|
}
|
|
|
$p->times = $num;
|
|
|
if (stringUtil::getWordNum($name) > 14) {
|
|
|
@@ -212,7 +212,7 @@ class ProductController extends BaseController
|
|
|
if ($priceOption == 0) {
|
|
|
$content .= '<TEXT x="30" y="250" font="12" w="2" h="2" r="0">' . $unit . '</TEXT>';
|
|
|
} else {
|
|
|
- $content .= '<TEXT x="30" y="250" font="12" w="2" h="2" r="0">' . $unit . ' ' . $price . '元</TEXT>';
|
|
|
+ $content .= '<TEXT x="30" y="250" font="12" w="2" h="2" r="0">' . $unit . ' ' . $price . '元</TEXT>';
|
|
|
}
|
|
|
}
|
|
|
} else {
|