shish 4 lat temu
rodzic
commit
663b014ffa

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

@@ -25,7 +25,7 @@ class ProductController extends BaseController
 
     public $guestAccess = ['index'];
 
-    //打印花材的条码 ssh 20220602
+    //打印花材的标签 ssh 20220602
     public function actionPrint()
     {
         $get = Yii::$app->request->get();
@@ -41,7 +41,7 @@ class ProductController extends BaseController
         $ext = $this->shopExt;
         $printLabelSn = $ext->printLabelSn ?? '';
         if (empty($printLabelSn)) {
-            util::fail('请设置条码打印机');
+            util::fail('请设置标签打印机');
         }
         $p = new printUtil($printLabelSn);
 

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

@@ -27,7 +27,7 @@ class PurchaseOrderController extends BaseController
         $ext = $this->shopExt;
         $printLabelSn = $ext->printLabelSn ?? '';
         if (empty($printLabelSn)) {
-            util::fail('请设置条码打印机');
+            util::fail('请设置标签打印机');
         }
         $p = new printUtil($printLabelSn);
 
@@ -68,7 +68,7 @@ class PurchaseOrderController extends BaseController
         $ext = $this->shopExt;
         $printLabelSn = $ext->printLabelSn ?? '';
         if (empty($printLabelSn)) {
-            util::fail('请设置条码打印机');
+            util::fail('请设置标签打印机');
         }
         $p = new printUtil($printLabelSn);
 

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

@@ -36,7 +36,7 @@ class GoodsController extends BaseController
         $ext = ShopExtClass::getByCondition(['shopId' => $shopId], true);
         $printLabelSn = $ext->printLabelSn ?? '';
         if (empty($printLabelSn)) {
-            util::fail('请设置条码打印机');
+            util::fail('请设置标签打印机');
         }
         $p = new printUtil($printLabelSn);
 

+ 2 - 2
app-hd/controllers/PlantCgController.php

@@ -26,7 +26,7 @@ class PlantCgController extends BaseController
         $ext = ShopExtClass::getByCondition(['shopId' => $shopId], true);
         $printLabelSn = $ext->printLabelSn ?? '';
         if (empty($printLabelSn)) {
-            util::fail('请设置条码打印机');
+            util::fail('请设置标签打印机');
         }
         $p = new printUtil($printLabelSn);
 
@@ -70,7 +70,7 @@ class PlantCgController extends BaseController
         $ext = ShopExtClass::getByCondition(['shopId' => $shopId], true);
         $printLabelSn = $ext->printLabelSn ?? '';
         if (empty($printLabelSn)) {
-            util::fail('请设置条码打印机');
+            util::fail('请设置标签打印机');
         }
         $p = new printUtil($printLabelSn);
 

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

@@ -20,7 +20,7 @@ class ProductController extends BaseController
 
     public $guestAccess = ['ghs-item'];
 
-    //打印花材的条码 ssh 20220602
+    //打印花材的标签 ssh 20220602
     public function actionPrint()
     {
         $get = Yii::$app->request->get();
@@ -37,7 +37,7 @@ class ProductController extends BaseController
         $ext = ShopExtClass::getByCondition(['shopId' => $shopId], true);
         $printLabelSn = $ext->printLabelSn ?? '';
         if (empty($printLabelSn)) {
-            util::fail('请设置条码打印机');
+            util::fail('请设置标签打印机');
         }
         $p = new printUtil($printLabelSn);
 

+ 1 - 1
biz-hd/work/classes/WorkClass.php

@@ -40,7 +40,7 @@ class WorkClass extends BaseClass
             $ext = ShopExtClass::getByCondition(['shopId' => $shopId], true);
             $printLabelSn = $ext->printLabelSn ?? '';
             if (empty($printLabelSn)) {
-                util::fail('请设置条码打印机');
+                util::fail('请设置标签打印机');
             }
             $p = new printUtil($printLabelSn);
             $workSn = $work->workSn ?? '';