6 Star 45 Fork 24

刘红华 / 合同帐务系统

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Apache-2.0

DEMO地址: http://39.103.195.45:8080
用户名:admin 密码:123456

#docker一键安装

docker run -itd --name dbserver --restart=always -p 3306:3306 registry.cn-shanghai.aliyuncs.com/liu008/dbserver:1.2

docker run --link=dbserver:db --env DBIP=db --env DBPORT=3306 -p 8080:8080 -p 8022:22 -itd --name app --restart=always registry.cn-shanghai.aliyuncs.com/liu008/hetong:2.2

记得对外开放8080端口

一、软件系统构成:

1.1 功能介绍

本系统是一个针对于中小企业的合同管理员工出差费用报销管理。其中以项目为主线,针对项目进行出货合同(收款),和进货合同(付款)的记录管理。合同其中还包含资金和发票的计划管理,让管理人员一目标了然。另外,报销管理模块也可以与项目进行挂钩,方便管理人员核算出整体项目的成本与利润。总之这是一个不求功能复杂,界面简洁的公司合同帐务管理软件。

1.2 架构

系统采用BS架构,前后端分离构建,前端WEB服务器(VUECLI架构),后端采用DJANGO;数据库采用MYSQL

1.3 WEB服务器环境:

nodeJS --version v14.13.1

npm -version 6.14.8

1.4 API服务器环境:

PYTHON:3.7

# pip list
Package             Version
------------------- -------
asgiref             3.2.10
Cython              0.29.21
Django              3.1.2
django-filter       2.4.0
djangorestframework 3.12.1
pip                 20.2.3
PyMySQL             0.10.1
pytz                2020.1
setuptools          50.3.0
sqlparse            0.4.1
wheel               0.35.1

1.5 数据库环境:

数据库安装MYSQL 版本 > 5.7

默认以下配置为和API服务器安装在同一台机器,可以自行改动,只需求在API服务中更改配置文件

数据库名:zw

用户名:zw

用户密码:zw123

ApiServer/settings.py 文件中
DATABASES = {
    'default': {
        # 'ENGINE': 'django.db.backends.sqlite3',
        # 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'zw',
        'USER': 'zw',
        'PASSWORD': 'zw123',
        'HOST': '127.0.0.1',
        'PORT':'3306',
    }
}

1.6 访问过程

用户浏览器--------->WEB服务器------>API服务器---------->MYSQL数据库

二、系统注册:

1.安装部署成功后,用户通过浏览器(不支持IE)输入http://web服务器IP:8080 自动跳转到注册页面。将hostid复制下来,用来获取license注册

2.注册成功后,自动跳转至登录页面。

三、用户登录

  1. 初始管理员 登录用户名:admin 密码:123456

2.登录成功后进入主页面

四、信息管理

4.1 用户信息

​ 用户信息即本系统使用人员(公司员工)的帐号管理,用户默认包含首次登录的admin帐户,默认密码:123456 登录后建议立即更改密码。

帐号:

​ 建议使用手机号作为帐号。

部门:

​ 公司内部的部门信息,方便对不同用户进行分类。需要预先在部门信息里进行新建部门。

角色:

​ 角色即权限,分为管理员和普通用户

​ 普通用户:不能增加、修改、删除用户,在只在页面右上角个人中心修改自己的密码。

​ 管理员:可以做一切操作。同时管理员也是可以更改自己或其它用户为普通用户,所以必须保证系统内至少有一个管理员帐号

状态:

​ 当状态为非激活状态时该用户将不能再进行登录。

删除:

​ 只有管理员才可以操作,但是如果该用户存在其它关联数据:比如报销内容,在这种情况下是不允许删除的(会有报错提示,阻止该行为)。因为一旦删除会造成帐务混乱对不上人员。人员离职正确的做法应该是在点击状态条目使之处理非激活状态即可。

4.2 部门信息

4.3 单位信息

​ 单位实体用于记录合同系统中所涉及的单位或公司信息,只有单位名称是必写项(因此如果合同涉及是个人的话可以写对对方姓名)。

4.4 项目信息

项目信息就是针对某个工程项目先新立项目名称,后期可以与合同、报销相关联。

**客户对象:**指些项目的客户是哪个单位实体

**主体公司:**是指该项目是哪个公司的盈利项项目(这里主要考虑使用本系统的公司,名下可能会注册有多家公司的情况)。一般就是指使用本全合同系统的公司。

五、合同管理

5.1 项目合同

5.1.1 添加合同

点击此页面中点击添加合同即可新增。

  • 合同类型

    类型分为:收款、付款 收款合同是指卖东西出去,付款合同是指针对项目买入的成本。

  • 项目名称

    点击下拉可选择此合同对应的项目。

  • 合同名称

    可以自行定义合同的名称

  • 合同金额

    合同上涉及的总金额

  • 合同本方

    指是谁在收款/付款

  • 合同对方

    指是在向谁收款/付款

  • 签订日期

  • 到期日期

    合同的整体截至日期,一般指合同的最后履约时间。

  • 税金成本

    此项不是必选项,如有必要可以记录此合同执行后,我方要缴纳多少税款。

  • 备注

    此项不是必选项

5.2 修改合同

在合同列表中点击即可展开合同的详细信息,在详细信息中可以修改、删除合同。同进在修改合同的弹出页中可以进行:发票计划、资金计划、合同附件的操作。

5.2.1 发票计划

**介绍:**发票计划是指合同涉及的发票何时开具并收到。合同金额所涉及的发票是一次性全部开具出去或收票,还是分阶段。做了计划之后,点击完成状态开关按键即可设置此计划是否已完成。所有已经完成的计划,都会被显示到计划进度条中。

  • 新增发票计划:

    点击发票计划按键即可新增发票计划。可以直接写入总金额的百分比和日期,先点击生成计划。生成计划之后才能点击提交。也可以在生成时不按照总金额的百分比,而是具体金额生成,只需要点击切换即可。

  • 完成情况

    提交计划后,默认是处于未完成状态。未完成的计划是不会显示到进度条中去的。点击旁边的切换开关即可使之变成完成情况。还可以从完成切换回未完成。

  • 删除

  • 发票进度

    所有已经完成的计划会合并显示到发票进度。

5.2.2 资金计划

​ 操作和显示与发票计划一样。但是其代表的是真实的资金收付款情况。已经到账的应被视为已经完成,如果是项目尾款还未收到或付出,则应该被设置为未完成。

5.2.3 合同附件

​ 用户可以上传该合同相关的文件到服务器,后期方便下载查阅。

5.3 合同查询

​ 可以针对合同名称、项目名称、备注 进行关键字查询合同条目。也可以点击展开隐藏查询框进行,基于行合同签订时处于的年份、下拉选择具体项目(一个项目一般有进货出货多个关联合同)、合同类型(收、付款)进行查询。

六、报销管理

​ 报销管理里能操作和显示的都是基于当前操作者(本人)的报销。报销管理包含“新增报销”和“报销查询”两个部分,其中 新增报销中显示的是该用户最近新建的但是尚未经过管理人员(经理、或财务)审批的报销条目。而报销查询可以基于各种条件进行综合查询,但是只局限于查询自己本人的报销记录。

另外,报销被分为两大类型:项目报销、其他报销。

6.1 新增报销

​ 点击“新增展开”后,可以填写用户需求报销的内容。其中分为**“出差报销”“其它报销”**,两个类型。

  • 出差报销

    是指人员去到外地出差的报销,会涉及交通费和住宿、出差补贴之类的,一般都是和项目挂钩,方便后期计入项目成本。如果没有明确项目或是项目还未成形,可以先在信息管理里自定义一个项目名称,再与之挂钩。标星号的都是必选项。:补贴金额默认为50元一天。与你公司实际情况不符合,可以要求做代码更改。

  • 其他报销

    其他报销是指不记录出差行程的报销,比如:请吃饭,或是采购了办公用品之类。可以作为出差报销的补充,也可以是单独的报销。它不需要强制与项目进行挂钩。

  • 查看和修改、删除报销

    在新增报销页下显示了本人当前已经填写但还未审计通过的报销条目,如果需要修改或删除可以直接点击后面的编辑项目。

6.2 报销查询

​ 此页面可以根据不同条件查询用户本人所有的报销记录。

七、财务管理

​ 该模块是给管理和查询所有的人报销情况,分为**“报销审批”“综合查询”**两个内容。其中报销审批用于管理人员对各个员工报销进行审批;综合查询是统一查询所有人的报销内容。

7.1 报销审批

​ 此页包含两个列表,其中上面的列表显示最近提交过来的所有报销,可以根据条件进行过滤显示。钩选相应的报销条目后再点击“报销”按钮可以批量审批报销。报销后条目状态将变为已报销状态。只限于管理员才可以进行此操作。

​ 另外,下面的列表显示的所有已经报销的内容。如果发现操作有误,管理员可以对相应条目钩选后点击撤销。撤销之后,状态将变回未报销。

7.2 综合查询

​ 综合查询只作查询之用,不能修改或审批。可以按条件过滤查询所有人用的报销。或种条件可以叠加组合进行查询。如果取消条件可以在在各个条件中删除或重置。其中重置按键和已报销、未报销为一组,是指删除已报销、未报销的条件约束。如果查看全部最快速的办法是重新点击左则“综合查询”进行页面刷新。

特别提示!

有问题可以私下微信联系,软件开源但是收费。

Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

简介

本系统是一个针对于中小企业的合同管理与员工出差费用报销管理。其中以项目为主线,针对项目进行出货合同(收款),和进货合同(付款)的记录管理。合同其中还包含资金和发票的计划管理,让管理人员一目标了然。另外,报销管理模块也可以与项目进行挂钩,方便管理人员核算出整体项目的成本与利润。总之这是一个不求功能复杂,界面简洁的公司合同帐务管理软件。 展开 收起
Python 等 3 种语言
Apache-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Python
1
https://gitee.com/liu_008/contract-accounting-system.git
git@gitee.com:liu_008/contract-accounting-system.git
liu_008
contract-accounting-system
合同帐务系统
master

搜索帮助