cqp 11 ساعت پیش
والد
کامیت
e04779befc
1فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 4 4
      app/Service/TestService.php

+ 4 - 4
app/Service/TestService.php

@@ -735,8 +735,8 @@ class TestService extends Service
         } elseif ($common_array['site'] == "HCLT") {
             // 恒昌结构 (cfree + cdefine22/23 + cdefine28-31)
             $extData = [
-                'cFree1'    => $data['customer_brand'] ?? null,
-                'cFree2'    => $data['color'] ?? null,
+                'cFree1'    => $data['customer_brand'] ?? '无',
+                'cFree2'    => $data['color'] ?? '无',
                 'cFree3'    => $data['bar_code'] ?? '无',
                 'cDefine22' => $data['plan_no'] ?? null,
                 'cDefine23' => $data['contract_no'] ?? null,
@@ -825,8 +825,8 @@ class TestService extends Service
         } elseif ($common_array['site'] == "HCLT") {
             // 恒昌结构 (cfree + cdefine22/23 + cdefine28-31)
             $extData = [
-                'cFree1'    => $data['customer_brand'] ?? null,
-                'cFree2'    => $data['color'] ?? null,
+                'cFree1'    => $data['customer_brand'] ?? '无',
+                'cFree2'    => $data['color'] ?? '无',
                 'cFree3'    => $data['bar_code'] ?? '无',
                 'cDefine22' => $data['plan_no'] ?? null,
                 'cDefine23' => $data['contract_no'] ?? null,