1简介

1.1功能简介

这是一个给所有电脑配件定义[唯一码],然后溯源采购和销售情况的迷你管理系统。

例如我开一个电脑店,定期会从不同渠道,采购不同批次的CPU、硬盘、内存等,然后组装卖给客户。当有一定销量和售后时,我需要解决以下问题:

https://doc.mbldt.com/server/index.php?s=/api/attachment/visitFile&sign=d3f1dde26d3d686c1051b25bc0ef320d

1.2技术体系

系统使用Access做数据库,适合在局域网运行。源码需要狐表2022.8.18或以上的加密狗
完全基于Foxtable开发,没有超过狐表官方帮助文档的内容,新手可以放心学习。


 

2安装和运行

2.1配置数据库文件的路径

首次运行会提示需要设置数据库路径
https://doc.mbldt.com/server/index.php?s=/api/attachment/visitFile&sign=a84c880fa89e7d0d4ab9d17efdcdbeb2

根据您刚才安装的路径,找到DB.mdb数据库文件,例如我这里是C:\MblSoft\FoxExample1\DB.mdb(注意,必须填绝对路径,不能写相对路径)
https://doc.mbldt.com/server/index.php?s=/api/attachment/visitFile&sign=b4b25b1cee02c2a5168525bda69b515e

https://doc.mbldt.com/server/index.php?s=/api/attachment/visitFile&sign=81d16225a9a6ece2f22cafb333627e76

最后再次运行,就正常了
https://doc.mbldt.com/server/index.php?s=/api/attachment/visitFile&sign=50116d6c15cb4746d484d6b45a3f3b26

https://doc.mbldt.com/server/index.php?s=/api/attachment/visitFile&sign=13d66653cde8fd08278ffb574c2da1b6

默认提供了几个账号:

  1. 管理员,永远具有最高权限,账号admin,密码admin123
  2. 开发者,也是一个普通用户,只是方便开发测试而已,账号kaifazhe,密码888
  3. 演示用户1 张三:zhangsan,密码aaa123
  4. 演示用户2 李四:lisi,密码aaa123
  5. 演示用户3 王五:wangwu,密码aaa123

2.3局域网内多人运行

系统支持局域网内多人同时使用,底层包含并发编辑和无重复ID的处理逻辑。部署方法也很简单:

  1. 直接把数据库文件db.mdb拷贝到您的局域网共享盘里
  2. 填写好正确的数据库连接字符串路径,注意是一个局域网的路径,例如//192.168.1.100/xx/xx/DB.mdb
  3. 最后大家启动程序,用各自的账号登录

 

3用户与权限管理

3.1用户管理

https://doc.mbldt.com/server/index.php?s=/api/attachment/visitFile&sign=e12c7b985530c12f1e091fe0aec19e5e

https://doc.mbldt.com/server/index.php?s=/api/attachment/visitFile&sign=cb31a7582d7275f82dc2f090b0aeb897

可以自行新建用户。管理员账号不能删除,其他都可以自行维护


 

3.2功能权限设置

在编辑用户时,可以进行功能权限维护
https://doc.mbldt.com/server/index.php?s=/api/attachment/visitFile&sign=8e96cfdcf444b3afee4e24d2f1dfb1d3


 

3.3权限批量复制

这套系统是设计给小微企业用,一句话:谁能做什么,不想学那些大系统,搞出人员+部门+角色+功能权限+数据权限的5层复杂体系。
那当有新用户加入,我们可以从与他类似权限的人,直接复制过来,一键授权
https://doc.mbldt.com/server/index.php?s=/api/attachment/visitFile&sign=9da6b50bf7012971cf32a91b78b070a3


 

4功能模块说明

4.1物资采购

https://doc.mbldt.com/server/index.php?s=/api/attachment/visitFile&sign=dbcb02c3fccb64d4493c7e05a14c7709

https://doc.mbldt.com/server/index.php?s=/api/attachment/visitFile&sign=8f7ab3be11648d3d2992e84477004867

https://doc.mbldt.com/server/index.php?s=/api/attachment/visitFile&sign=e6e1d52c31c836900d74b66e2f68138f

https://doc.mbldt.com/server/index.php?s=/api/attachment/visitFile&sign=31482d5a47262a72a49294bca408ceb2


 

4.2销售订单

https://doc.mbldt.com/server/index.php?s=/api/attachment/visitFile&sign=243bc7d843b0d24cd0685768dddd8aa9

https://doc.mbldt.com/server/index.php?s=/api/attachment/visitFile&sign=c97df39452c80e99d5d4bd5c7bf63758

https://doc.mbldt.com/server/index.php?s=/api/attachment/visitFile&sign=9dc888622d6913f7b43eccc46217e6fb

https://doc.mbldt.com/server/index.php?s=/api/attachment/visitFile&sign=11445f56b43245e29e6a7623df7f5e6c


 

4.3库存查询

https://doc.mbldt.com/server/index.php?s=/api/attachment/visitFile&sign=eabf9b95cbfb56923c6365a9b85f4f45

https://doc.mbldt.com/server/index.php?s=/api/attachment/visitFile&sign=42d2738a34b15fdbffede1d88cb792fd


 

4.4溯源查询

溯源最大的意义,就是出现质量问题时,可以快速找到相同批次的其他产品,还卖给了哪些人,及时沟通甚至召回,保住自己的品牌口碑。

https://doc.mbldt.com/server/index.php?s=/api/attachment/visitFile&sign=27a7a4a306ae5fa70704fbad268731b7

4.5更多扩展

案例提供了根据产品唯一码,进行采购和销售溯源的思路。扩展一下,还可以增加采购价格、销售价格,把钱也一起管进来,改造一下,就能在工厂和实际门店里,做一个好的溯源管理工具

5数据备份

把数据库DB.mdb拷贝即可。