shish před 3 roky
rodič
revize
434d0fc4df

+ 2 - 2
app-ghs/controllers/PurchaseOrderController.php

@@ -51,7 +51,7 @@ class PurchaseOrderController extends BaseController
             $unit = $ratio . $smallUnit . '/' . $bigUnit;
 
             $content = '<TEXT x="360" y="30" font="12" w="2" h="2" r="90">' . $name . '</TEXT>';
-            $content .= '<BC128 x="260" y="30" h="80" s="1" r="90" n="5" w="12">' . $ptItemId . '</BC128>';
+            $content .= '<BC128 x="260" y="30" h="70" s="1" r="90" n="4" w="11">' . $ptItemId . '</BC128>';
             if ($key % 2 == 1) {
                 $content .= '<TEXT x="415" y="20" font="12" w="2" h="2" r="90">.</TEXT>';
             }
@@ -102,7 +102,7 @@ class PurchaseOrderController extends BaseController
         $productId = $item->productId ?? 0;
         $p->times = $num;
         $content = '<TEXT x="360" y="30" font="12" w="2" h="2" r="90">' . $name . '</TEXT>';
-        $content .= '<BC128 x="260" y="30" h="80" s="1" r="90" n="5" w="12">' . $ptItemId . '</BC128>';
+        $content .= '<BC128 x="260" y="30" h="70" s="1" r="90" n="4" w="11">' . $ptItemId . '</BC128>';
         if (in_array($mainId, [52, 1459])) {
             $content .= '<TEXT x="80" y="30" font="12" w="2" h="2" r="90">惠雅鲜花</TEXT>';
         } else {

+ 1 - 1
app-hd/controllers/ProductController.php

@@ -45,7 +45,7 @@ class ProductController extends BaseController
 
         $p->times = $num;
         $content = '<TEXT x="360" y="30" font="12" w="2" h="2" r="90">' . $name . '</TEXT>';
-        $content .= '<BC128 x="260" y="30" h="80" s="1" r="90" n="5" w="12">' . $ptItemId . '</BC128>';
+        $content .= '<BC128 x="260" y="30" h="70" s="1" r="90" n="4" w="11">' . $ptItemId . '</BC128>';
         $content .= '<TEXT x="60" y="30" font="12" w="2" h="2" r="90">' . $unit . '</TEXT>';
         $p->printLabelMsg($content);
         util::complete();