|
|
@@ -28,7 +28,21 @@ Ext.define('saas.view.stock.otherIn.QueryPanel', {
|
|
|
fieldLabel: '单据日期',
|
|
|
allowBlank: true,
|
|
|
columnWidth: 0.5
|
|
|
+ },{
|
|
|
+ xtype: 'textfield',
|
|
|
+ name: 'pi_vendcode',
|
|
|
+ fieldLabel: '供应商编号',
|
|
|
+ allowBlank: true,
|
|
|
+ hidden:true,
|
|
|
+ columnWidth: 0.25
|
|
|
}, {
|
|
|
+ xtype: 'dbfindtrigger',
|
|
|
+ name: 'pi_vendname',
|
|
|
+ fieldLabel: '供应商名称',
|
|
|
+ emptyText:'输入供应商编号或名称',
|
|
|
+ allowBlank: true,
|
|
|
+ columnWidth: 0.25
|
|
|
+ },{
|
|
|
xtype: 'textfield',
|
|
|
name: 'pi_custcode',
|
|
|
fieldLabel: '客户编号',
|
|
|
@@ -41,6 +55,7 @@ Ext.define('saas.view.stock.otherIn.QueryPanel', {
|
|
|
fieldLabel: '客户名称',
|
|
|
emptyText:'输入客户编号或名称',
|
|
|
allowBlank: true,
|
|
|
+ hidden:true,
|
|
|
columnWidth: 0.25
|
|
|
}, {
|
|
|
xtype: 'textfield',
|
|
|
@@ -113,8 +128,8 @@ Ext.define('saas.view.stock.otherIn.QueryPanel', {
|
|
|
dataIndex: 'pi_status',
|
|
|
width: 120
|
|
|
},{
|
|
|
- text: '客户名称',
|
|
|
- dataIndex: 'pi_custname',
|
|
|
+ text: '供应商名称',
|
|
|
+ dataIndex: 'pi_vendname',
|
|
|
width: 120
|
|
|
},{
|
|
|
text: '制单人',
|
|
|
@@ -142,6 +157,11 @@ Ext.define('saas.view.stock.otherIn.QueryPanel', {
|
|
|
text: '单据类型',
|
|
|
dataIndex: 'pd_piclass',
|
|
|
width: 200
|
|
|
+ },{
|
|
|
+ text: '单据日期',
|
|
|
+ dataIndex: 'pi_date',
|
|
|
+ xtype:'datecolumn',
|
|
|
+ width: 200
|
|
|
},{
|
|
|
text: '审核状态',
|
|
|
dataIndex: 'pi_status',
|
|
|
@@ -149,10 +169,11 @@ Ext.define('saas.view.stock.otherIn.QueryPanel', {
|
|
|
},{
|
|
|
text: '客户编号',
|
|
|
dataIndex: 'pi_custcode',
|
|
|
+ hidden:true,
|
|
|
width: 120
|
|
|
},{
|
|
|
- text: '客户名称',
|
|
|
- dataIndex: 'pi_custname',
|
|
|
+ text: '供应商名称',
|
|
|
+ dataIndex: 'pi_vendname',
|
|
|
width: 120
|
|
|
},{
|
|
|
text: '物料编号',
|
|
|
@@ -183,6 +204,12 @@ Ext.define('saas.view.stock.otherIn.QueryPanel', {
|
|
|
text: '单位成本',
|
|
|
dataIndex: 'pd_orderprice',
|
|
|
xtype:'numbercolumn',
|
|
|
+ renderer : function(v) {
|
|
|
+ var arr = (v + '.').split('.');
|
|
|
+ var xr = (new Array(arr[1].length)).fill('0');
|
|
|
+ var format = '0,000.' + xr.join();
|
|
|
+ return Ext.util.Format.number(v, format);
|
|
|
+ },
|
|
|
width: 120
|
|
|
},{
|
|
|
text: '税率',
|
|
|
@@ -193,6 +220,12 @@ Ext.define('saas.view.stock.otherIn.QueryPanel', {
|
|
|
text: '金额',
|
|
|
dataIndex: 'pd_total',
|
|
|
xtype:'numbercolumn',
|
|
|
+ renderer : function(v) {
|
|
|
+ var arr = (v + '.').split('.');
|
|
|
+ var xr = (new Array(arr[1].length)).fill('0');
|
|
|
+ var format = '0,000.' + xr.join();
|
|
|
+ return Ext.util.Format.number(v, format);
|
|
|
+ },
|
|
|
width: 120
|
|
|
},{
|
|
|
text: '相关单号',
|