From 02cdd5f7521065c444e43e71c395c8c74054b183 Mon Sep 17 00:00:00 2001
From: zm <zm@iemsoft.cn>
Date: Wed, 26 Aug 2020 21:52:01 +0800
Subject: [PATCH] 附件管理功能开发,采购入库单导出pdf增加备注字段,采购入库和销售出库的提交按钮名称修改为审核按钮

---
 src/web/Application/Home/Controller/PurchaseController.class.php |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/web/Application/Home/Controller/PurchaseController.class.php b/src/web/Application/Home/Controller/PurchaseController.class.php
index 8cced27..058472b 100644
--- a/src/web/Application/Home/Controller/PurchaseController.class.php
+++ b/src/web/Application/Home/Controller/PurchaseController.class.php
@@ -71,6 +71,12 @@
         $us->hasPermission(FIdConst::PURCHASE_WAREHOUSE_PRINT) ? "1" : "0"
       );
 
+      // 按钮权限:附件
+      $this->assign(
+        "pAttachment",
+        $us->hasPermission(FIdConst::PURCHASE_WAREHOUSE_ATTACHMENT) ? "1" : "0"
+      );
+
       $this->display();
     } else {
       $this->gotoLoginPage("/Home/Purchase/pwbillIndex");

--
Gitblit v1.8.0