优化单据列表的展示样式

This commit is contained in:
季圣华
2023-08-24 23:28:49 +08:00
parent 9ed0886b9a
commit e509bb1cc6
13 changed files with 13 additions and 91 deletions

View File

@@ -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},

View File

@@ -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},

View File

@@ -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},

View File

@@ -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},

View File

@@ -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},

View File

@@ -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},

View File

@@ -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},

View File

@@ -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},

View File

@@ -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},

View File

@@ -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},

View File

@@ -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},

View File

@@ -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},

View File

@@ -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},