Ext.define('make.view.osmake.osmakePick.BenchQueryPanel', { extend: 'saas.view.core.bench.Query', xtype: 'osmake-osmakepick-benchpanel', viewModel: { extend: 'saas.view.core.bench.QueryModel', stores: { menus: { model: 'saas.model.core.benchMenu', data: [ {desc: '待领料',isCount: 1}, {desc: '已领料',isCount: 0} ] } } }, caller:'OsMakePick', hiddenMe:true, items: [ { itemId: 'All', xtype: 'osmake-osmakepick-querypanel', addTitle: '外协领料', addXtype: 'osmake-osmakepick-formpanel', defaultCondition: ' pi_class = \'OSMAKEPICK\' ', baseVastUrl: '/api/make/prodinout/' }, { //待领料 itemId: 'osmake-osmakepick-benchpanel-1', xtype: 'osmake-osmakepick-querypanel-1', addTitle: '外协领料', addXtype: 'osmake-osmakepick-formpanel', defaultCondition: ' pi_class = \'OSMAKEPICK\' AND PI_STATUSCODE <> \'AUDITED\' ', baseVastUrl: '/api/make/prodinout/', countGroupFields:'pi_inoutno', _needCount: true }, { //已领料 itemId: 'osmake-osmakepick-benchpanel-2', xtype: 'osmake-osmakepick-querypanel-2', addTitle: '外协领料', addXtype: 'osmake-osmakepick-formpanel', defaultCondition: ' pi_class = \'OSMAKEPICK\' AND PI_STATUS = \'已审核\' ', baseVastUrl: '/api/make/prodinout/', //countGroupFields:'pu_vendname,pu_currency', _needCount: true } ], countUrl:'make/prodinout/osMakePickCount', addBtnText:'新增领料单' });