菜品类型

Posted kebizhanmushi

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了菜品类型相关的知识,希望对你有一定的参考价值。

platformDishAddStyle: function() {
        var store = Ext.data.StoreManager.lookup("DISH_STATUS");
        console.log(store);
        Ext.create(‘Ext.window.Window‘, {
            width: ‘50%‘,
            height: ‘70%‘,
            modal: true,
            border: false,
            itemId: ‘addPlatDishTypeItemId‘,
            padding: ‘0 0 0 5‘,

            items: [{
                xtype: ‘fieldset‘,
                title: forp.model.bussiness.dishType.group1title,
                // in this section we use the form layout that will aggregate all of the fields
                // into a single table, rather than one table per field.
                defaults: {
                    anchor: ‘100%‘
                },

                collapsible: true,
                //                        flex: 1,
                layout: {
                    type: ‘table‘,

                    columns: 4,
                    tableAttrs: {
                        style: {
                            width: ‘100%‘
                        }
                    }
                },

                items: [{
                    xtype: ‘textfield‘,
                    name: ‘dishTypeName‘,
                    itemId: ‘dishTypeNameItemId‘,
                    colspan: 2,
                    //                            width : "50%",
                    fieldLabel: forp.model.bussiness.dishType.name
                },
                {
                    xtype: ‘combobox‘,
                    fieldLabel: forp.model.bussiness.dishType.status,
                    //‘会员类型‘,
                    valueField: ‘code‘,
                    displayField: ‘name‘,
                    itemId: ‘dishTypeStatusItemId‘,
                    colspan: 2,
                    //                            width : "50%",
                    store: store

                },
                {
                    xtype: ‘textareafield‘,
                    grow: true,
                    name: ‘dishTypeIntroduces‘,
                    itemId: ‘dishTypeIntroducesItemId‘,
                    fieldLabel: forp.model.bussiness.dishType.introduces,
                    width: ‘84.5%‘,
                    colspan: 4
                }]
            }],
            buttons: [{
                text: forp.cancel,
                //取消
                handler: ‘platDishTypeCancel‘,
                itemId: ‘resetButtonItemId‘
            },
            {
                text: forp.save,
                handler: ‘platDishTypeSave‘,
                itemId: ‘saveButtonItemId‘
            }]
        }).show();
    },

以上是关于菜品类型的主要内容,如果未能解决你的问题,请参考以下文章

Java外卖点餐系统「附全部代码」

Django ORM:未继承子级的字段和值。对象重复。 (使用Django管理界面)

龙门煮麻辣烫 带来更加完美的商机

React入门实战美食清单

React入门实战美食清单

行为型设计模式之访问者模式