12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- Ext.define('erp.view.scm.reserve.InventoryForm',{
- extend: 'Ext.form.Panel',
- alias: 'widget.Inventory',
- id: 'form',
- title: '盘点作业',
- frame : true,
- autoScroll : true,
- buttonAlign : 'center',
- FormUtil: Ext.create('erp.util.FormUtil'),
- confirmUrl:'',
- layout: {
- type: 'vbox',
- pack: 'center'
- },
- fieldDefaults : {
- fieldStyle : "background:#FFFAFA;color:#515151;",
- labelAlign : "right",
- msgTarget: 'side',
- blankText : $I18N.common.form.blankText
- },
- initComponent : function(){
- this.callParent(arguments);
- /*this.title = this.FormUtil.getActiveTab().title;*/
- },
- items: [{
- xtype: 'combo',
- fieldLabel: '盘点方式',
- allowBlank: false,
- id: 'method',
- name: 'method',
- queryMode: 'local',
- displayField: 'display',
- valueField: 'value',
- value:'全部物料盘点',
- store: new Ext.data.Store({
- fields: ['display', 'value'],
- data: [
- {"display": '全部物料盘点', "value": '全部物料盘点'},
- {"display": '循环盘点', "value": '循环盘点'},
- {"display": 'ABC分类盘点', "value": 'ABC分类盘点'}
- ]
- })
- },{
- xtype: 'dbfindtrigger',
- fieldLabel: '仓库',
- height: 23,
- id: 'pr_whcode',
- name:'pr_whcode'
- }],
- buttons: [{
- xtype: 'erpConfirmButton'
- },{
- xtype:'erpCloseButton'
- }]
- });
|