|
|
@@ -11,24 +11,20 @@ Ext.define('saas.view.sale.report.SaleProfit', {
|
|
|
listUrl: '/api/sale/report/saleProfit',
|
|
|
defaultCondition: null,
|
|
|
reportTitle: '销售毛利润表',
|
|
|
-//筛选:客户、物料、时间
|
|
|
QueryWidth:0.2,
|
|
|
searchItems: [{
|
|
|
- xtype: 'textfield',
|
|
|
- name: 'sa_custname',
|
|
|
- emptyText:'请输入客户编号或名称',
|
|
|
- columnWidth: 0.2,
|
|
|
- getCondition: function(value) {
|
|
|
- return ' (sa_custname like\'%' + value + '%\' or sa_custcode like \'%'+value+'%\' ) ';
|
|
|
- }
|
|
|
- }, {
|
|
|
xtype: 'textfield',
|
|
|
name: 'pr_detail',
|
|
|
- emptyText:'请输入物料编号或品牌',
|
|
|
+ emptyText:'请输入物料编号、品牌、型号或规格',
|
|
|
columnWidth: 0.2,
|
|
|
getCondition: function(value) {
|
|
|
- return ' (pr_code like\'%' + value + '%\' or pr_brand like \'%'+value+'%\' ) ';
|
|
|
+ return ' (pr_code like\'%' + value + '%\' or pr_brand like \'%'+value+'%\' or pr_spec like \'%'+value+'%\' or pr_orispeccode like \'%'+value+'%\' ) ';
|
|
|
}
|
|
|
+ }, {
|
|
|
+ xtype: 'customerDbfindTrigger',
|
|
|
+ name: 'sa_custname',
|
|
|
+ emptyText:'请输入客户编号或名称',
|
|
|
+ columnWidth: 0.2
|
|
|
}, {
|
|
|
xtype: 'condatefield',
|
|
|
name: 'pi_date',
|