shish %!s(int64=3) %!d(string=hai) anos
pai
achega
e84d82756d
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      app-ghs/controllers/PurchaseOrderController.php

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

@@ -110,18 +110,18 @@ class PurchaseOrderController extends BaseController
         $ptItemId = $item->itemId ?? '';
 
         $p->times = $num;
-        $content = '<TEXT x="30" y="45" font="12" w="2" h="2" r="0">' . $name . '</TEXT>';
+        $content = '<TEXT x="30" y="40" font="12" w="2" h="2" r="0">' . $name . '</TEXT>';
 
         if ($type == 0) {
-            $content .= '<BC128 x="30" y="115" h="70" s="1" r="0" n="4" w="11">' . $ptItemId . '</BC128>';
+            $content .= '<BC128 x="30" y="110" h="70" s="1" r="0" n="4" w="11">' . $ptItemId . '</BC128>';
             if (in_array($mainId, [52, 1459])) {
                 $content .= '<TEXT x="30" y="250" font="12" w="2" h="2" r="0">惠雅鲜花</TEXT>';
             } else {
                 $content .= '<TEXT x="30" y="250" font="12" w="2" h="2" r="0">' . $unit . '</TEXT>';
             }
         } else {
-            $content .= '<QR x="35"  y="115"  e="L"  w="5">' . Yii::$app->params['mallHost'] . "/item/show-info?id=" . $productId . '</QR>';
-            $content .= '<TEXT x="40" y="250" font="12" w="1" h="1" r="0">扫码看价格</TEXT>';
+            $content .= '<QR x="35"  y="110"  e="L"  w="5">' . Yii::$app->params['mallHost'] . "/item/show-info?id=" . $productId . '</QR>';
+            $content .= '<TEXT x="40" y="260" font="12" w="1" h="1" r="0">扫码看价格</TEXT>';
         }
 
         $p->printLabelMsg($content);