优化单据列表的展示样式
This commit is contained in:
@@ -207,13 +207,7 @@
|
|||||||
scopedSlots: { customRender: 'action' },
|
scopedSlots: { customRender: 'action' },
|
||||||
},
|
},
|
||||||
{ title: '单据编号', dataIndex: 'number',width:160},
|
{ title: '单据编号', dataIndex: 'number',width:160},
|
||||||
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true},
|
||||||
customRender:function (text,record,index) {
|
|
||||||
if(text) {
|
|
||||||
return text.replaceAll(",",",");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{ title: '单据日期', dataIndex: 'operTimeStr',width:145},
|
{ title: '单据日期', dataIndex: 'operTimeStr',width:145},
|
||||||
{ title: '操作员', dataIndex: 'userName',width:80, ellipsis:true},
|
{ title: '操作员', dataIndex: 'userName',width:80, ellipsis:true},
|
||||||
{ title: '数量', dataIndex: 'materialCount',width:60},
|
{ title: '数量', dataIndex: 'materialCount',width:60},
|
||||||
|
|||||||
@@ -207,13 +207,7 @@
|
|||||||
scopedSlots: { customRender: 'action' },
|
scopedSlots: { customRender: 'action' },
|
||||||
},
|
},
|
||||||
{ title: '单据编号', dataIndex: 'number',width:160},
|
{ title: '单据编号', dataIndex: 'number',width:160},
|
||||||
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true},
|
||||||
customRender:function (text,record,index) {
|
|
||||||
if(text) {
|
|
||||||
return text.replaceAll(",",",");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{ title: '单据日期', dataIndex: 'operTimeStr',width:145},
|
{ title: '单据日期', dataIndex: 'operTimeStr',width:145},
|
||||||
{ title: '操作员', dataIndex: 'userName',width:80, ellipsis:true},
|
{ title: '操作员', dataIndex: 'userName',width:80, ellipsis:true},
|
||||||
{ title: '数量', dataIndex: 'materialCount',width:60},
|
{ title: '数量', dataIndex: 'materialCount',width:60},
|
||||||
|
|||||||
@@ -207,13 +207,7 @@
|
|||||||
scopedSlots: { customRender: 'action' },
|
scopedSlots: { customRender: 'action' },
|
||||||
},
|
},
|
||||||
{ title: '单据编号', dataIndex: 'number',width:160},
|
{ title: '单据编号', dataIndex: 'number',width:160},
|
||||||
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true},
|
||||||
customRender:function (text,record,index) {
|
|
||||||
if(text) {
|
|
||||||
return text.replaceAll(",",",");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{ title: '单据日期', dataIndex: 'operTimeStr',width:145},
|
{ title: '单据日期', dataIndex: 'operTimeStr',width:145},
|
||||||
{ title: '操作员', dataIndex: 'userName',width:80, ellipsis:true},
|
{ title: '操作员', dataIndex: 'userName',width:80, ellipsis:true},
|
||||||
{ title: '数量', dataIndex: 'materialCount',width:60},
|
{ title: '数量', dataIndex: 'materialCount',width:60},
|
||||||
|
|||||||
@@ -225,13 +225,7 @@
|
|||||||
{ title: '供应商', dataIndex: 'organName',width:120, ellipsis:true},
|
{ title: '供应商', dataIndex: 'organName',width:120, ellipsis:true},
|
||||||
{ title: '单据编号', dataIndex: 'number',width:160},
|
{ title: '单据编号', dataIndex: 'number',width:160},
|
||||||
{ title: '关联单据', dataIndex: 'linkNumber',width:140},
|
{ title: '关联单据', dataIndex: 'linkNumber',width:140},
|
||||||
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true},
|
||||||
customRender:function (text,record,index) {
|
|
||||||
if(text) {
|
|
||||||
return text.replaceAll(",",",");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{ title: '单据日期', dataIndex: 'operTimeStr',width:145},
|
{ title: '单据日期', dataIndex: 'operTimeStr',width:145},
|
||||||
{ title: '操作员', dataIndex: 'userName',width:80, ellipsis:true},
|
{ title: '操作员', dataIndex: 'userName',width:80, ellipsis:true},
|
||||||
{ title: '数量', dataIndex: 'materialCount',width:60},
|
{ title: '数量', dataIndex: 'materialCount',width:60},
|
||||||
|
|||||||
@@ -225,13 +225,7 @@
|
|||||||
{ title: '客户', dataIndex: 'organName',width:120, ellipsis:true},
|
{ title: '客户', dataIndex: 'organName',width:120, ellipsis:true},
|
||||||
{ title: '单据编号', dataIndex: 'number',width:160},
|
{ title: '单据编号', dataIndex: 'number',width:160},
|
||||||
{ title: '关联单据', dataIndex: 'linkNumber',width:140},
|
{ title: '关联单据', dataIndex: 'linkNumber',width:140},
|
||||||
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true},
|
||||||
customRender:function (text,record,index) {
|
|
||||||
if(text) {
|
|
||||||
return text.replaceAll(",",",");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{ title: '单据日期', dataIndex: 'operTimeStr',width:145},
|
{ title: '单据日期', dataIndex: 'operTimeStr',width:145},
|
||||||
{ title: '操作员', dataIndex: 'userName',width:80, ellipsis:true},
|
{ title: '操作员', dataIndex: 'userName',width:80, ellipsis:true},
|
||||||
{ title: '数量', dataIndex: 'materialCount',width:60},
|
{ title: '数量', dataIndex: 'materialCount',width:60},
|
||||||
|
|||||||
@@ -241,13 +241,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ title: '关联单据', dataIndex: 'linkNumber',width:140},
|
{ title: '关联单据', dataIndex: 'linkNumber',width:140},
|
||||||
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true},
|
||||||
customRender:function (text,record,index) {
|
|
||||||
if(text) {
|
|
||||||
return text.replaceAll(",",",");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{ title: '单据日期', dataIndex: 'operTimeStr',width:145},
|
{ title: '单据日期', dataIndex: 'operTimeStr',width:145},
|
||||||
{ title: '操作员', dataIndex: 'userName',width:80, ellipsis:true},
|
{ title: '操作员', dataIndex: 'userName',width:80, ellipsis:true},
|
||||||
{ title: '数量', dataIndex: 'materialCount',width:60},
|
{ title: '数量', dataIndex: 'materialCount',width:60},
|
||||||
|
|||||||
@@ -266,13 +266,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ title: '关联订单', dataIndex: 'linkNumber',width:140},
|
{ title: '关联订单', dataIndex: 'linkNumber',width:140},
|
||||||
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true},
|
||||||
customRender:function (text,record,index) {
|
|
||||||
if(text) {
|
|
||||||
return text.replaceAll(",",",");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{ title: '单据日期', dataIndex: 'operTimeStr',width:145},
|
{ title: '单据日期', dataIndex: 'operTimeStr',width:145},
|
||||||
{ title: '操作员', dataIndex: 'userName',width:80, ellipsis:true},
|
{ title: '操作员', dataIndex: 'userName',width:80, ellipsis:true},
|
||||||
{ title: '数量', dataIndex: 'materialCount',width:60},
|
{ title: '数量', dataIndex: 'materialCount',width:60},
|
||||||
|
|||||||
@@ -221,13 +221,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ title: '关联订单', dataIndex: 'linkNumber',width:140},
|
{ title: '关联订单', dataIndex: 'linkNumber',width:140},
|
||||||
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true},
|
||||||
customRender:function (text,record,index) {
|
|
||||||
if(text) {
|
|
||||||
return text.replaceAll(",",",");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{ title: '单据日期', dataIndex: 'operTimeStr',width:145},
|
{ title: '单据日期', dataIndex: 'operTimeStr',width:145},
|
||||||
{ title: '操作员', dataIndex: 'userName',width:80, ellipsis:true},
|
{ title: '操作员', dataIndex: 'userName',width:80, ellipsis:true},
|
||||||
{ title: '数量', dataIndex: 'materialCount',width:60},
|
{ title: '数量', dataIndex: 'materialCount',width:60},
|
||||||
|
|||||||
@@ -241,13 +241,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ title: '关联单据', dataIndex: 'linkNumber',width:140},
|
{ title: '关联单据', dataIndex: 'linkNumber',width:140},
|
||||||
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true},
|
||||||
customRender:function (text,record,index) {
|
|
||||||
if(text) {
|
|
||||||
return text.replaceAll(",",",");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{ title: '单据日期', dataIndex: 'operTimeStr',width:145},
|
{ title: '单据日期', dataIndex: 'operTimeStr',width:145},
|
||||||
{ title: '操作员', dataIndex: 'userName',width:80, ellipsis:true},
|
{ title: '操作员', dataIndex: 'userName',width:80, ellipsis:true},
|
||||||
{ title: '数量', dataIndex: 'materialCount',width:60},
|
{ title: '数量', dataIndex: 'materialCount',width:60},
|
||||||
|
|||||||
@@ -234,13 +234,7 @@
|
|||||||
return text
|
return text
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true},
|
||||||
customRender:function (text,record,index) {
|
|
||||||
if(text) {
|
|
||||||
return text.replaceAll(",",",");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{ title: '单据日期', dataIndex: 'operTimeStr',width:145},
|
{ title: '单据日期', dataIndex: 'operTimeStr',width:145},
|
||||||
{ title: '收款类型', dataIndex: 'payType',width:80},
|
{ title: '收款类型', dataIndex: 'payType',width:80},
|
||||||
{ title: '操作员', dataIndex: 'userName',width:80, ellipsis:true},
|
{ title: '操作员', dataIndex: 'userName',width:80, ellipsis:true},
|
||||||
|
|||||||
@@ -241,13 +241,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ title: '关联单据', dataIndex: 'linkNumber',width:140},
|
{ title: '关联单据', dataIndex: 'linkNumber',width:140},
|
||||||
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true},
|
||||||
customRender:function (text,record,index) {
|
|
||||||
if(text) {
|
|
||||||
return text.replaceAll(",",",");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{ title: '单据日期', dataIndex: 'operTimeStr',width:145},
|
{ title: '单据日期', dataIndex: 'operTimeStr',width:145},
|
||||||
{ title: '操作员', dataIndex: 'userName',width:80, ellipsis:true},
|
{ title: '操作员', dataIndex: 'userName',width:80, ellipsis:true},
|
||||||
{ title: '数量', dataIndex: 'materialCount',width:60},
|
{ title: '数量', dataIndex: 'materialCount',width:60},
|
||||||
|
|||||||
@@ -221,13 +221,7 @@
|
|||||||
},
|
},
|
||||||
{ title: '客户', dataIndex: 'organName',width:120, ellipsis:true},
|
{ title: '客户', dataIndex: 'organName',width:120, ellipsis:true},
|
||||||
{ title: '单据编号', dataIndex: 'number',width:140},
|
{ title: '单据编号', dataIndex: 'number',width:140},
|
||||||
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true},
|
||||||
customRender:function (text,record,index) {
|
|
||||||
if(text) {
|
|
||||||
return text.replaceAll(",",",");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{ title: '单据日期', dataIndex: 'operTimeStr',width:145},
|
{ title: '单据日期', dataIndex: 'operTimeStr',width:145},
|
||||||
{ title: '销售人员', dataIndex: 'salesManStr',width:120},
|
{ title: '销售人员', dataIndex: 'salesManStr',width:120},
|
||||||
{ title: '操作员', dataIndex: 'userName',width:80, ellipsis:true},
|
{ title: '操作员', dataIndex: 'userName',width:80, ellipsis:true},
|
||||||
|
|||||||
@@ -266,13 +266,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ title: '关联订单', dataIndex: 'linkNumber',width:140},
|
{ title: '关联订单', dataIndex: 'linkNumber',width:140},
|
||||||
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true},
|
||||||
customRender:function (text,record,index) {
|
|
||||||
if(text) {
|
|
||||||
return text.replaceAll(",",",");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{ title: '单据日期', dataIndex: 'operTimeStr',width:145},
|
{ title: '单据日期', dataIndex: 'operTimeStr',width:145},
|
||||||
{ title: '操作员', dataIndex: 'userName',width:80, ellipsis:true},
|
{ title: '操作员', dataIndex: 'userName',width:80, ellipsis:true},
|
||||||
{ title: '数量', dataIndex: 'materialCount',width:60},
|
{ title: '数量', dataIndex: 'materialCount',width:60},
|
||||||
|
|||||||
Reference in New Issue
Block a user