Ext.define('make.view.stock.osMakeCheckIn.BenchQueryPanel', { extend: 'saas.view.core.bench.Query', xtype: 'stock-osmakecheckin-benchpanel', viewModel: { extend: 'saas.view.core.bench.QueryModel', stores: { menus: { model: 'saas.model.core.benchMenu', data: [ {desc: '待完工',isCount: 1}, {desc: '已完工',isCount: 0} ] } } }, caller:'StockOSMakeCheckIn', items: [ { itemId: 'All', xtype: 'stock-osmakecheckin-querypanel', addTitle: '外协验收', addXtype: 'osmake-osmakecheckin-formpanel', defaultCondition: ' pi_class = \'OSMAKEIN\' ', baseVastUrl: '/api/make/prodinout/' }, { //待退料 itemId: 'stock-osmakecheckin-benchpanel-1', xtype: 'stock-osmakecheckin-querypanel-1', addTitle: '外协验收', addXtype: 'osmake-osmakecheckin-formpanel', defaultCondition: ' pi_class = \'OSMAKEIN\' and pi_statuscode <> \'AUDITED\' ', baseVastUrl: '/api/make/prodinout/', countGroupFields:'pi_inoutno', _needCount: true }, { //已退料 itemId: 'stock-osmakecheckin-benchpanel-2', xtype: 'stock-osmakecheckin-querypanel-2', addTitle: '外协验收', addXtype: 'osmake-osmakecheckin-formpanel', defaultCondition: ' pi_class = \'OSMAKEIN\' AND PI_STATUS = \'已审核\' ', baseVastUrl: '/api/make/prodinout/', _needCount: true } ], hiddenMe:true, countUrl:'make/prodinout/osMakeInCount' });