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/SaleController.class.php |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/web/Application/Home/Controller/SaleController.class.php b/src/web/Application/Home/Controller/SaleController.class.php
index f4c6c3c..07baad0 100644
--- a/src/web/Application/Home/Controller/SaleController.class.php
+++ b/src/web/Application/Home/Controller/SaleController.class.php
@@ -48,6 +48,13 @@
         "pCloseBill",
         $us->hasPermission(FIdConst::SALE_ORDER_CLOSE_BILL) ? "1" : "0"
       );
+      
+      // 按钮权限:附件
+      $this->assign(
+        "pAttachment",
+        $us->hasPermission(FIdConst::WAREHOUSING_SALE_ATTACHMENT) ? "1" : "0"
+      );
+
       $this->assign("showAddGoodsButton", $us->hasPermission(FIdConst::GOODS_ADD) ? "1" : "0");
 
       $this->display();

--
Gitblit v1.8.0