From aea74b6ae3ab29451ba98f16753d09aa084c93c4 Mon Sep 17 00:00:00 2001 From: CRM8000 Date: Sat, 12 Oct 2024 08:52:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/99 SQL/02InsertInitData.sql | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/doc/99 SQL/02InsertInitData.sql b/doc/99 SQL/02InsertInitData.sql index 877ca551..556b209b 100644 --- a/doc/99 SQL/02InsertInitData.sql +++ b/doc/99 SQL/02InsertInitData.sql @@ -181,12 +181,12 @@ INSERT INTO `t_fid` (`fid`, `name`, `py`, `memo`, `sln_code`) VALUES ('2101', '会计科目', 'KJKM', '', 'SLN0002'), ('2102', '银行账户', 'YHZH', '', 'SLN0002'), ('2103', '会计期间', 'KJQJ', '', 'SLN0002'), -('2104', '凭证', 'PZ', '', 'SLN0002'), -('2104-01', '凭证-新建凭证', '', '', 'SLN0002'), -('2104-02', '凭证-编辑凭证', '', '', 'SLN0002'), -('2104-03', '凭证-删除凭证', '', '', 'SLN0002'), -('2104-04', '凭证-复核凭证', '', '', 'SLN0002'), -('2104-05', '凭证-打印凭证', '', '', 'SLN0002'); +('2104', '记账凭证', 'PZ', '', 'SLN0002'), +('2104-01', '记账凭证-新建凭证', '', '', 'SLN0002'), +('2104-02', '记账凭证-编辑凭证', '', '', 'SLN0002'), +('2104-03', '记账凭证-删除凭证', '', '', 'SLN0002'), +('2104-04', '记账凭证-复核凭证', '', '', 'SLN0002'), +('2104-05', '记账凭证-打印凭证', '', '', 'SLN0002'); TRUNCATE TABLE `t_menu_item`; INSERT INTO `t_menu_item` (`id`, `caption`, `fid`, `parent_id`, `show_order`, `py`, `memo`) VALUES @@ -480,7 +480,13 @@ INSERT INTO `t_permission` (`id`, `fid`, `name`, `note`, `category`, `py`, `show ('2038', '2038', '销售出库明细表 - 模块权限', '通过菜单进入销售出库明细表模块的权限', '销售报表', 'ZSCKMXB', 100), ('2101', '2101', '会计科目 - 模块权限', '通过菜单进入会计科目模块的权限', '会计科目', 'KJKM', 100), ('2102', '2102', '银行账户 - 模块权限', '通过菜单进入银行账户模块的权限', '银行账户', 'YHZH', 100), -('2103', '2103', '会计期间 - 模块权限', '通过菜单进入会计期间模块的权限', '会计期间', 'KJQJ', 100); +('2103', '2103', '会计期间 - 模块权限', '通过菜单进入会计期间模块的权限', '会计期间', 'KJQJ', 100), +('2104', '2104', '记账凭证 - 模块权限', '通过菜单进入记账凭证模块的权限', '记账凭证', 'JZPZ', 100), +('2104-01', '2104-01', '记账凭证 - 按钮权限 - 新建凭证', '记账凭证模块中按钮[新建凭证]的启用权限', '记账凭证', 'JZPZXJPZ', 201), +('2104-02', '2104-02', '记账凭证 - 按钮权限 - 编辑凭证', '记账凭证模块中按钮[编辑凭证]的启用权限', '记账凭证', 'JZPZBJPZ', 202), +('2104-03', '2104-03', '记账凭证 - 按钮权限 - 删除凭证', '记账凭证模块中按钮[删除凭证]的启用权限', '记账凭证', 'JZPZSCPZ', 203), +('2104-04', '2104-04', '记账凭证 - 按钮权限 - 复核凭证', '记账凭证模块中按钮[复核凭证]的启用权限', '记账凭证', 'JZPZFHPZ', 204), +('2104-05', '2104-05', '记账凭证 - 按钮权限 - 打印凭证', '记账凭证模块中按钮[打印凭证]的启用权限', '记账凭证', 'JZPZDYPZ', 205); # 默认角色 - 系统管理 TRUNCATE TABLE `t_role`;