Demo entry 6684326

json

   

Submitted by json on Dec 15, 2017 at 07:03
Language: Java. Code size: 1.1 kB.

Ext.define('salaryPay.view.pay.PayListModel', {
    extend: 'Ext.app.ViewModel',
    alias: 'viewmodel.pay-payList',
    data:{
    	PlanStatus:-1,
    	StartCreateDate:'',
    	EndCreateDate:'',
    	StartPayDate:'',
    	EndPayDate:''
    },
    stores: {
    	payPlanGridStore:{
    		type: 'base',
			pageSize:25,//每页显示条数
			readApi: 'salaryPay.salaryPlanController.queryPayList',
			autoLoad: false,
			fields: ['PlanID','PlanNum','PlanName','ApplyId','PayDate','PayNum','WageTotal','TaxTotal','SocialSecurityTotal','CostTotal',
			'SuccessCount','FailureCount','CreateDate','ModifyDate','Status','ResendFlag','OverdueFlag']
    	},
    	planStatusStore: {
			fields: ['text', 'value'],
			data: [
				{text: '所有状态',value: -1},
				{text: '草稿',value: 0},				
				{text: '待申请付款',value: 10},
				{text: '待付款',value: 20},
				{text: '已申请付款',value: 30},
				{text: '已逾期',value: 40},
				{text: '处理中',value: 50},
				{text: '已付款',value: 60},
				{text: '已失败',value: 70},
				{text: '已成功',value: 80},
				{text: '作废',value: 90}
			]
		}
    }
});

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).