shish 6 месяцев назад
Родитель
Сommit
9fbf5c6c2b

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

@@ -209,7 +209,7 @@ class ProductController extends BaseController
             $u = 0;
             for ($i = 0; $i < $len; $i += 7) {
                 $currentName = mb_substr($name, $i, 7, 'UTF-8');
-                $number = $baseNum + 110*$u;
+                $number = $baseNum + 90*$u;
                 $u++;
                 $content .= '<TEXT x="30" y="' . $number . '" font="12" w="2" h="2" r="0">' . $currentName . '</TEXT>';
             }

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

@@ -242,7 +242,7 @@ class PurchaseOrderController extends BaseController
                 $u = 0;
                 for ($i = 0; $i < $len; $i += 7) {
                     $currentName = mb_substr($name, $i, 7, 'UTF-8');
-                    $number = $baseNum + 110 * $u;
+                    $number = $baseNum + 90 * $u;
                     $u++;
                     $content .= '<TEXT x="30" y="' . $number . '" font="12" w="2" h="2" r="0">' . $currentName . '</TEXT>';
                 }

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

@@ -215,7 +215,7 @@ class ProductController extends BaseController
             $u = 0;
             for ($i = 0; $i < $len; $i += 7) {
                 $currentName = mb_substr($name, $i, 7, 'UTF-8');
-                $number = $baseNum + 110 * $u;
+                $number = $baseNum + 90 * $u;
                 $u++;
                 $content .= '<TEXT x="30" y="' . $number . '" font="12" w="2" h="2" r="0">' . $currentName . '</TEXT>';
             }