瀏覽代碼

客户名称

shish 3 年之前
父節點
當前提交
25955d9073
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      app-hd/controllers/OrderController.php

+ 3 - 0
app-hd/controllers/OrderController.php

@@ -436,6 +436,9 @@ class OrderController extends BaseController
             util::fail('没有找到客户哦');
         }
         $post['customId'] = $customId;
+        $customName = $custom['name'] ?? '';
+        $post['customName'] = $customName;
+        $post['customNamePy'] = stringUtil::py($customName);
 
         if (isset($post['receiveMobile']) && !empty($post['receiveMobile'])) {
             if (stringUtil::isMobile($post['receiveMobile']) == false) {