ssc-formula2

0.2.3 • Public • Published

ssc-formula2 Version Badge

Build Status dependency status dev dependency status License Downloads

npm badge

An formula editor for the Yonyou.

ssc-formula2 in action

Live Playground

For examples of the formula in action, go to https://yyssc.github.io/ssc-formula2.

OR

To run that demo on your own computer:

Getting Started

Install dependencies

Ensure packages are installed with correct version numbers by running:

(
  export PKG=ssc-formula2;
  npm info "$PKG" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g; s/ *//g' | xargs npm install --save "$PKG"
)

Which produces and runs a command like:

npm install --save ssc-formula2 moment@>=#.## react@>=#.## react-dom@>=#.## ssc-refer@>=#.## rc-tree@>=#.##

Include component

import { Formula } from 'ssc-formula2';

Include styles

import 'rc-tree/assets/index.css';

组件结构

  • Formula
    • TextBox
    • FormulaTabs
      • 单据字段Tab
        • SearchBox
        • FormulaTree
      • 固定值Tab
        • [Refers]
      • 档案转换Tab

Readme

Keywords

none

Package Sidebar

Install

npm i ssc-formula2

Weekly Downloads

0

Version

0.2.3

License

MIT

Unpacked Size

5.1 MB

Total Files

85

Last publish

Collaborators

  • xxd3vin