|
|
@@ -19,46 +19,51 @@ Ext.define('saas.view.home.infoCardList.SaleOut', {
|
|
|
}, {
|
|
|
text: '单据编号',
|
|
|
dataIndex: 'sa_code',
|
|
|
- width: 200
|
|
|
+ width: 150
|
|
|
}, {
|
|
|
text: '单据状态',
|
|
|
align: 'center',
|
|
|
dataIndex: 'sa_status',
|
|
|
- width: 120
|
|
|
+ width: 90
|
|
|
+ }, {
|
|
|
+ text: '业务状态',
|
|
|
+ align: 'center',
|
|
|
+ dataIndex: 'sa_sendstatus',
|
|
|
+ width: 90
|
|
|
}, {
|
|
|
text: '单据日期',
|
|
|
dataIndex: 'sa_date',
|
|
|
xtype: 'datecolumn',
|
|
|
- width: 200
|
|
|
+ width: 110
|
|
|
}, {
|
|
|
text: '客户名称',
|
|
|
dataIndex: 'sa_custname',
|
|
|
- width: 120
|
|
|
+ width: 250
|
|
|
}, {
|
|
|
text: '明细序号',
|
|
|
dataIndex: 'sd_detno',
|
|
|
xtype: 'numbercolumn',
|
|
|
- width: 120,
|
|
|
+ width: 100,
|
|
|
renderer: function (v) {
|
|
|
return Ext.util.Format.number(v, '0');
|
|
|
}
|
|
|
}, {
|
|
|
text: '物料编号',
|
|
|
dataIndex: 'sd_prodcode',
|
|
|
- width: 120
|
|
|
+ width: 150
|
|
|
}, {
|
|
|
text: '物料名称',
|
|
|
dataIndex: 'pr_detail',
|
|
|
- width: 120
|
|
|
+ width: 200
|
|
|
}, {
|
|
|
text: '物料规格',
|
|
|
dataIndex: 'pr_spec',
|
|
|
- width: 120
|
|
|
+ width: 150
|
|
|
}, {
|
|
|
text: '数量',
|
|
|
dataIndex: 'sd_qty',
|
|
|
xtype: 'numbercolumn',
|
|
|
- width: 120,
|
|
|
+ width: 110,
|
|
|
renderer: function (v) {
|
|
|
var arr = (v + '.').split('.');
|
|
|
var xr = (new Array(arr[1].length > 3 ? 3 : arr[1].length)).fill('0');
|
|
|
@@ -69,7 +74,7 @@ Ext.define('saas.view.home.infoCardList.SaleOut', {
|
|
|
text: '单价',
|
|
|
dataIndex: 'sd_price',
|
|
|
xtype: 'numbercolumn',
|
|
|
- width: 120,
|
|
|
+ width: 110,
|
|
|
renderer: function (v) {
|
|
|
var arr = (v + '.').split('.');
|
|
|
var xr = (new Array(arr[1].length > 8 ? 8 : arr[1].length)).fill('0');
|
|
|
@@ -80,7 +85,7 @@ Ext.define('saas.view.home.infoCardList.SaleOut', {
|
|
|
text: '已转数',
|
|
|
dataIndex: 'sd_yqty',
|
|
|
xtype: 'numbercolumn',
|
|
|
- width: 120,
|
|
|
+ width: 110,
|
|
|
renderer: function (v) {
|
|
|
var arr = (v + '.').split('.');
|
|
|
var xr = (new Array(arr[1].length > 3 ? 3 : arr[1].length)).fill('0');
|
|
|
@@ -91,18 +96,7 @@ Ext.define('saas.view.home.infoCardList.SaleOut', {
|
|
|
text: '已出货数',
|
|
|
dataIndex: 'sd_sendqty',
|
|
|
xtype: 'numbercolumn',
|
|
|
- width: 120,
|
|
|
- renderer: function (v) {
|
|
|
- var arr = (v + '.').split('.');
|
|
|
- var xr = (new Array(arr[1].length > 3 ? 3 : arr[1].length)).fill('0');
|
|
|
- var format = '0.' + xr.join();
|
|
|
- return Ext.util.Format.number(v, format);
|
|
|
- },
|
|
|
- }, {
|
|
|
- text: '已审核采购单数',
|
|
|
- dataIndex: 'sd_pdqty',
|
|
|
- xtype: 'numbercolumn',
|
|
|
- width: 180,
|
|
|
+ width: 110,
|
|
|
renderer: function (v) {
|
|
|
var arr = (v + '.').split('.');
|
|
|
var xr = (new Array(arr[1].length > 3 ? 3 : arr[1].length)).fill('0');
|