| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- Ext.define('saas.view.stock.report.ProdinoutCount', {
- extend: 'saas.view.core.report.ReportPanel',
- xtype: 'stock-report-prodinoutCount',
- controller: 'stock-report-prodinoutCount',
- viewModel: 'stock-report-prodinoutCount',
- viewName: 'stock-report-prodinoutCount',
- //按物料分组
- groupField: null,
- listUrl: '/api/storage/report/prodinoutCount',
- defaultCondition: null,
- reportTitle: '物料收发汇总表',
- QueryWidth:0.4,
- //筛选:仓库、物料、物料类型、时间
- searchItems: [{
- xtype: 'warehouseDbfindTrigger',
- name: 'wh_description',
- fieldLabel: '仓库',
- columnWidth: 0.2
- }, {
- xtype: 'productDbfindTrigger',
- name: 'pd_prodcode',
- fieldLabel: '物料编号',
- columnWidth: 0.2
- }, {
- xtype: 'monthdatefield',
- name: 'pwm_yearmonth',
- fieldLabel: '单据日期',
- columnWidth: 0.2
- }],
- reportColumns: [{
- text: '物料类型',
- dataIndex: 'pr_kind'
- }, {
- text: '物料编号',
- dataIndex: 'pr_code',
- width: 150
- }, {
- text: '物料名称',
- dataIndex: 'pr_detail',
- width: 200
- }, {
- text: '物料规格',
- dataIndex: 'pr_spec',
- width: 150
- }, {
- text: '单位',
- dataIndex: 'pr_unit',
- width: 80
- }, {
- text: '仓库',
- dataIndex:'wh_description',
- width: 150
- }, {
- text: '期初',
- columns: [{
- text: '数量',
- dataIndex:'pwm_beginqty',
- xtype: 'numbercolumn',
- width:110
- },{
- text: '成本',
- dataIndex:'pwm_beginamount',
- xtype: 'numbercolumn',
- width:110
- }]
- }, {
- text: '入库合计',
- columns: [{
- text: '数量',
- dataIndex:'pwm_nowinqty',
- xtype: 'numbercolumn',
- width:110
- },{
- text: '成本',
- dataIndex:'pwm_nowinamount',
- xtype: 'numbercolumn',
- width:110
- }]
- }, {
- text: '出库合计',
- columns: [{
- text: '数量',
- dataIndex:'pwm_nowoutqty',
- xtype: 'numbercolumn',
- width: 110
- },{
- text: '成本',
- dataIndex:'pwm_nowoutamount',
- xtype: 'numbercolumn',
- width: 110
- }]
- }, {
- text: '结存',
- columns: [{
- text: '数量',
- dataIndex:'pwm_endqty',
- xtype: 'numbercolumn',
- width: 110
- },{
- text: '成本',
- dataIndex:'pwm_endamount',
- xtype: 'numbercolumn',
- width: 110
- }]
- }]
- });
|