| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- Ext.define('make.view.osmake.reconciliation.BenchQueryPanel', {
- extend: 'saas.view.core.bench.Query',
- xtype: 'osmake-reconciliation-benchpanel',
- viewModel: 'osmake-reconciliation-benchquery',
- caller:'APCHECKOS',
- selfFields:'APCHECK.creatorId',
- items: [
- {
- itemId: 'All',
- xtype: 'osmake-reconciliation-querypanel',
- defaultCondition:"ac_class='OS'"
- },
- {
- itemId: 'Me',
- xtype: 'osmake-reconciliation-querypanel',
- defaultCondition:"ac_class='OS'"
- },
- {
- //对账
- itemId: 'osmake-reconciliation-benchpanel-1',
- xtype: 'osmake-reconciliation-querypanel-3',
- defaultCondition:"((pi_class in ('OSMAKEIN','OSMAKEINBACK') and pi_statuscode='AUDITED')"
- +"or (pi_class='ESTIMATE' and prodiodetail.pd_type in ('外协验收','外协验退')))",
- _needCount: true
- },
- {
- //待审核
- itemId: 'osmake-reconciliation-benchpanel-2',
- xtype: 'osmake-reconciliation-querypanel-1',
- defaultCondition:"ac_class='OS' and ac_statuscode!='AUDITED'",
- _needCount: true
- },
- {
- //已审核
- itemId: 'osmake-reconciliation-benchpanel-3',
- xtype: 'osmake-reconciliation-querypanel-2',
- defaultCondition:"ac_class='OS' and ac_statuscode='AUDITED'",
- _needCount: false
- },
- {
- //待开票
- itemId: 'osmake-reconciliation-benchpanel-4',
- xtype: 'osmake-reconciliation-querypanel-4',
- countGroupFields:'ac_vendcode,ac_currency',
- defaultCondition:"ac_class='OS' and ac_statuscode='AUDITED' and abs(ifnull(apcheckdetail.ad_billqty,0))<abs(ifnull(ad_b2bqty,0))",
- _needCount: true
- }
- ],
- countUrl:'money/apcheck/countOS',
- addBtnText:''
- });
|