跳至內容
選單
此問題已被標幟
2042 瀏覽次數

    start: function () {

            var self = this;

            var model_product = new instance.web.Model('abd.abc')

            this.display_record.bind(this);

            var display = this.display_record.bind(this);

            model_product.query()

                .all().done(function (records) {

                    _(records).each(display);

                });


            $( "#project_form" ).submit(function( event ) {

                var product_id = $( "#project_select" ).val();

                event.preventDefault();

                self.query_product_spec_tree(product_id);

            });


        },

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
6月 18
6343
1
5月 21
3219
2
5月 20
9836
1
1月 20
5074
0
3月 19
3405