shish 3 anni fa
parent
commit
384f35fd77
1 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 4 4
      app-ghs/controllers/ProductController.php

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

@@ -112,12 +112,12 @@ class ProductController extends BaseController
         $unit = $info->ratio . $info->smallUnit . '/' . $info->bigUnit;
 
         $p->times = $num;
-        $content = '<TEXT x="30" y="45" font="12" w="2" h="2" r="90">' . $name . '</TEXT>';
-        $content .= '<BC128 x="30" y="115" h="70" s="1" r="90" n="4" w="11">' . $ptItemId . '</BC128>';
+        $content = '<TEXT x="30" y="45" font="12" w="2" h="2" r="0">' . $name . '</TEXT>';
+        $content .= '<BC128 x="30" y="115" h="75" s="1" r="0" n="3" w="10">' . $ptItemId . '</BC128>';
         if (in_array($mainId, [52, 1459])) {
-            $content .= '<TEXT x="30" y="250" font="12" w="2" h="2" r="90">惠雅鲜花</TEXT>';
+            $content .= '<TEXT x="30" y="250" font="11" w="2" h="2" r="0">惠雅鲜花</TEXT>';
         } else {
-            $content .= '<TEXT x="30" y="250" font="12" w="2" h="2" r="90">' . $unit . '</TEXT>';
+            $content .= '<TEXT x="30" y="250" font="11" w="2" h="2" r="0">' . $unit . '</TEXT>';
         }
 
         //$content .= '<QR x="30"  y="390"  e="L"  w="5">' . Yii::$app->params['mallHost'] . "/item/show-info?id=" . $id . '</QR>';