浏览代码

开单人

shish 2 年之前
父节点
当前提交
ab4ef5ae4e
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      app-ghs/controllers/PurchaseOrderController.php

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

@@ -240,6 +240,8 @@ class PurchaseOrderController extends BaseController
         $staff = $this->shopAdmin;
         $staff = $this->shopAdmin;
         $post['staffId'] = $staff->id ?? 0;
         $post['staffId'] = $staff->id ?? 0;
         $post['staffName'] = $staff->name ?? '';
         $post['staffName'] = $staff->name ?? '';
+        $post['shopAdminId'] = $staff->id ?? 0;
+        $post['shopAdminName'] = $staff->name ?? '';
 
 
         $shopAdmin = $this->shopAdmin;
         $shopAdmin = $this->shopAdmin;
         if (isset($shopAdmin->super) == false || $shopAdmin->super != 1) {
         if (isset($shopAdmin->super) == false || $shopAdmin->super != 1) {