steedos-labs / contract Goto Github PK
View Code? Open in Web Editor NEW开源合同管理系统,基于华炎魔方开发,多租户,云服务
Home Page: https://www.steedos.com/solutions/contract/
开源合同管理系统,基于华炎魔方开发,多租户,云服务
Home Page: https://www.steedos.com/solutions/contract/
I just setup contracts app - what's the default login (userid / password) ? Cheers, Dave
导入对象流程object_workflows:全部5条记录
确认:审批完成后进入同步队列
确认:合同系统服务启动后同步进合同台账
避免用对方单位的名称同步,因为对方单位可以重名、目前会导致找到别家单位的同名对方单位。拟在beta上
涉及流程
[root@localhost steedos-app-contract]# yarn start
yarn run v1.22.10
$ node server
TypeError: module.watch is not a function
at i18n.coffee (meteor://💻app/packages/steedos_objects-core/i18n.coffee:1:1)
at fileEvaluate (packages/modules-runtime.js:336:7)
at Module.require (packages/modules-runtime.js:238:14)
at require (packages/modules-runtime.js:258:21)
at /usr/local/share/steedos-app-contract/node_modules/@[email protected]@@steedos/meteor-bundle-runner/src/packages/steedos_objects-core.js:505:1
at /usr/local/share/steedos-app-contract/node_modules/@[email protected]@@steedos/meteor-bundle-runner/src/packages/steedos_objects-core.js:513:3
at /usr/local/share/steedos-app-contract/node_modules/@[email protected]@@steedos/meteor-bundle-runner/src/boot.js:414:36
at Array.forEach ()
at Object.loadServerBundles (/usr/local/share/steedos-app-contract/node_modules/@[email protected]@@steedos/meteor-bundle-runner/src/boot.js:221:19)
at /usr/local/share/steedos-app-contract/server.js:8:20
at Function.run (/usr/local/share/steedos-app-contract/node_modules/_@[email protected]@@steedos/meteor-bundle-runner/src/profile.js:510:12)
at /usr/local/share/steedos-app-contract/server.js:7:24
合同承办人员:是指请合同审批的人,也是 同步到台账后的 创建人(owner?)
合同管理员:合同审批最后都是合同管理员 点结束的;有4个角色、可得到的各单位的合同管理员(集团部室合同管理员、集团单位合同管理员、秦港股份公司_股份公司部室合同管理员、秦港股份公司_股份公司单位合同管理员)
从流程到台账的同步执行时的 处理
4个合同审批完成、同步到合同台账时,自动给事件里增加3条记录(给2个人):
【如果有预期交付期限?】预期交付(合同承办人员+合同管理员)、
【如果有预期验收期限?】预期验收(合同承办人员+合同管理员)、
【如果有预期付款期限?】预期收付款(合同承办人员+合同管理员)。
修改台账的字段值触发的相关处理1
合同台账记录的预期交付/验收/付款期限 的字段值修改后, 同步修改原事件记录
合同台账记录的预期交付/验收/付款期限 的字段值为空,则删除原事件记录
修改台账的字段值触发的相关处理2
输入合同台账记录的实际交付/验收/付款日期后(流程同步过来时为空), 如果预期交付/验收/付款期限大于当前日期则同步删除原事件记录
老合同系统
基本思路
(node:102300) DeprecationWarning: current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.
(node:102300) DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead.
WARNING: npm peer requirements (for steedos:cfs-data-man) not installed:
Read more about installing npm peer dependencies:
http://guide.meteor.com/using-packages.html#peer-npm-dependencies
(node:102300) DeprecationWarning: collection.insert is deprecated. Use insertOne, insertMany or bulkWrite instead.
WARNING: not found plugin.config.yml E:\github\steedos-contracts-app\node_modules@steedos\accounts\plugin.config.yml
You are using the default secret "secret" which is not secure.
Please change it with a strong random token.
MongoError: Index with name: c2_is_deleted already exists with a different name
at Connection. (E:\github\steedos-contracts-app\node_modules\mongodb\lib\core\connection\pool.js:466:61)
at Connection.emit (events.js:198:13)
at Connection.EventEmitter.emit (domain.js:448:20)
at processMessage (E:\github\steedos-contracts-app\node_modules\mongodb\lib\core\connection\connection.js:364:10)
at Socket. (E:\github\steedos-contracts-app\node_modules\mongodb\lib\core\connection\connection.js:533:15)
at Socket.emit (events.js:198:13)
at Socket.EventEmitter.emit (domain.js:448:20)
at addChunk (_stream_readable.js:287:12)
at readableAddChunk (_stream_readable.js:268:11)
at Socket.Readable.push (_stream_readable.js:223:10)
at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)
增加字段:
字段同步:
I want to try this in Spanish for a research academy
I want to collaborate
Is possible?
(1)列表页原列出的是“对方单位”,改为“对方单位名称”
(2)字段设置 默认的宽度: columns:['字段名', {field: '字段名', width: 100, wrap: '换行'}]
(3)列表页设置默认的 排序方式 :签发日期 (倒序)+ 承办单位
合同台账增加入口视图,包括:
• 待交付:预期交付期限有值&实际交付日期无值
• 待验收:预期验收期限有值&实际验收日期无值
• 待收付款:预期付款期限有值&实际付款日期无值
• 可能异常:(合同履行状态为异常)或((“预期交付期限”已过或距现在24小时)&实际交付日期无值)或((“预期验收期限”已过或距现在24小时)&实际验收日期无值)或((“预期收付期限”已过或距现在24小时)&实际付款日期无值)
yarn install v1.21.0
[1/4] Resolving packages...
[2/4] Fetching packages...
info [email protected]: The platform "win32" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "@steedos/accounts > @accounts/[email protected]" has incorrect peer dependency "@accounts/server@^0.7.0".
warning "@steedos/accounts > @accounts/[email protected]" has incorrect peer dependency "@accounts/server@^0.7.0".
[4/4] Building fresh packages...
$ yarn build
internal/modules/cjs/loader.js:584
throw err;
^
Error: Cannot find module 'C:\Users\寮€鍙?\AppData\Roaming\npm\node_modules\yarn\bin\yarn.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)
at Function.Module._load (internal/modules/cjs/loader.js:508:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:754:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
新增、修改合同台账记录时,从合同分类中取得对应的印花税率并赋值,计算印花税=合同税前金额*印花税率并赋值
按老系统模式,增加显示
以便显示、及导出excel
老合同系统
2019年
2018年
2017年
2016年
2015年
2014年
2013年
2012年
2011年
2010年
无签订日期
老系统漏的
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.