2016-08-09 5 views
-3

私は以下のようにクエリービルダーに似ているangularjs解(プラグインかフィディード/コードブックなどの回避策)が必要ですAngularJS文章執筆者はhttp://mfauveau.github.io/angular-query-builder/に似ています

http://mfauveau.github.io/angular-query-builder/

または

http://niklr.github.io/angular-query-builder/

)githubの中に利用可能注:読書をcontinueing前に第一リンクからご覧ください alteast。

私は最終的に私は事のプロモーションや割引の種類を形成することができるはず

operators: if, then, else, and, or, on 
fields: xyzproduct, etc.. 
unit: quantity, value,.. 
conditions: =, <, <=, >, >=, <>, between 

で文を形成することができるはずです。

出力:

(1と100との間xyzproduct量であれば)(その後、10%の割引)

(xyzproduct値> 500であれば)(その後、20%割引)

+0

何を試しましたか? SOに関する質問をする方法に関する文書をお読みください。 http://stackoverflow.com/help/how-to-ask – alexi2

答えて

関連する問題