|
|
@@ -54,8 +54,8 @@ class PurchaseOrderController extends BaseController
|
|
|
}
|
|
|
$content .= '<TEXT x="60" y="30" font="12" w="2" h="2" r="90">' . $unit . '</TEXT>';
|
|
|
|
|
|
- $content .= '<QR x="150" y="390" e="L" w="5">' . Yii::$app->params['mallHost'] . "/item/show-info?id=" . $productId . '</QR>';
|
|
|
- $content .= '<TEXT x="100" y="400" font="12" w="1" h="1" r="90">扫码看价格</TEXT>';
|
|
|
+ $content .= '<QR x="30" y="390" e="L" w="5">' . Yii::$app->params['mallHost'] . "/item/show-info?id=" . $productId . '</QR>';
|
|
|
+ $content .= '<TEXT x="220" y="400" font="12" w="1" h="1" r="90">扫码看价格</TEXT>';
|
|
|
|
|
|
$p->printLabelMsg($content);
|
|
|
}
|
|
|
@@ -95,8 +95,8 @@ class PurchaseOrderController extends BaseController
|
|
|
$content .= '<BC128 x="260" y="30" h="80" s="1" r="90" n="5" w="12">' . $ptItemId . '</BC128>';
|
|
|
$content .= '<TEXT x="60" y="30" font="12" w="2" h="2" r="90">' . $unit . '</TEXT>';
|
|
|
|
|
|
- $content .= '<QR x="150" y="390" e="L" w="5">' . Yii::$app->params['mallHost'] . "/item/show-info?id=" . $productId . '</QR>';
|
|
|
- $content .= '<TEXT x="100" y="400" font="12" w="1" h="1" r="90">扫码看价格</TEXT>';
|
|
|
+ $content .= '<QR x="30" y="390" e="L" w="5">' . Yii::$app->params['mallHost'] . "/item/show-info?id=" . $productId . '</QR>';
|
|
|
+ $content .= '<TEXT x="220" y="400" font="12" w="1" h="1" r="90">扫码看价格</TEXT>';
|
|
|
|
|
|
$p->printLabelMsg($content);
|
|
|
util::complete();
|