| 123456789101112131415161718192021222324 |
- Ext.QuickTips.init();
- Ext.define('erp.controller.common.ProductRelative', {
- extend: 'Ext.app.Controller',
- views:[
- 'common.productRelative.ProductRelative','common.productRelative.Form',
- 'core.trigger.DbfindTrigger','core.form.FtField','core.form.FtFindField','core.form.ConDateField'
- ],
- init:function(){
- var me = this;
- var caller='Product';
- this.control({
- 'field[name=pr_code]': {
- change: function(f){
- if(f.value != null && f.value != ''){
- var caller='Product';
- // window.location.href = window.location.href.toString().split('?')[0] +'?condition=pr_code='+f.value;
- var html='<iframe src="' + basePath + 'jsps/common/relativeSearch.jsp?whoami=' + caller + '" height="100%" width="100%" frameborder="0" scrolling="auto"></iframe>'
- Ext.getCmp('ProductWh').update(html);
- }
- }
- }
- })
- }
- });
|