zoukankan      html  css  js  c++  java
  • 菜品类型

    platformDishAddStyle: function() {
            var store = Ext.data.StoreManager.lookup("DISH_STATUS");
            console.log(store);
            Ext.create('Ext.window.Window', {
                '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: {
                                '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,
                        '84.5%',
                        colspan: 4
                    }]
                }],
                buttons: [{
                    text: forp.cancel,
                    //取消
                    handler: 'platDishTypeCancel',
                    itemId: 'resetButtonItemId'
                },
                {
                    text: forp.save,
                    handler: 'platDishTypeSave',
                    itemId: 'saveButtonItemId'
                }]
            }).show();
        },

  • 相关阅读:
    3.31考试T2
    P3225 [HNOI2012]矿场搭建
    P2714 四元组统计
    3.29考试T2 变戏法
    开发中可能会用到的几个小tip----QT, pycharm, android, 等
    pycharm下: conda installation is not found ----一个公开的bug的解决方案
    ubuntu16.04 opencv3.4.1 opencv-contribute3.4.1 compile
    vs 2015 update 3各版本下载地址
    在金融业工作了六年,给想入这行的说几个经验
    在centos上安装smplayer播放器
  • 原文地址:https://www.cnblogs.com/tian114527375/p/6264251.html
Copyright © 2011-2022 走看看