Ext.define('make.view.make.makePick.BenchQueryPanel', { extend: 'saas.view.core.bench.Query', xtype: 'make-makepick-benchpanel', viewModel: { extend: 'saas.view.core.bench.QueryModel', stores: { menus: { model: 'saas.model.core.benchMenu', data: [ {desc: '待领料',isCount: 1}, {desc: '已领料',isCount: 0} ] } } }, caller:'MakePick', hiddenMe:true, items: [ { itemId: 'All', xtype: 'make-makepick-querypanel', addTitle: '生产领料', addXtype: 'make-makepick-formpanel', defaultCondition: ' pi_class = \'MAKEPICK\' ', baseVastUrl: '/api/make/prodinout/' }, { //待领料 itemId: 'make-makepick-benchpanel-1', xtype: 'make-makepick-querypanel-1', addTitle: '生产领料', addXtype: 'make-makepick-formpanel', defaultCondition: ' pi_class = \'MAKEPICK\' AND pi_statuscode <> \'AUDITED\' ', baseVastUrl: '/api/make/prodinout/', countGroupFields:'pi_inoutno', _needCount: true }, { //已领料 itemId: 'make-makepick-benchpanel-2', xtype: 'make-makepick-querypanel-2', addTitle: '生产领料', addXtype: 'make-makepick-formpanel', defaultCondition: ' pi_class = \'MAKEPICK\' AND pi_statuscode=\'AUDITED\' ', baseVastUrl: '/api/make/prodinout/', //countGroupFields:'pi_inoutno', _needCount: true } ], countUrl:'make/prodinout/makePickCount', addBtnText:'新增领料单' });