优化单据列表中商品列的样式
This commit is contained in:
@@ -183,7 +183,7 @@
|
|||||||
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
||||||
customRender:function (text,record,index) {
|
customRender:function (text,record,index) {
|
||||||
if(text) {
|
if(text) {
|
||||||
return text.replace(",",",");
|
return text.replaceAll(",",",");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -183,7 +183,7 @@
|
|||||||
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
||||||
customRender:function (text,record,index) {
|
customRender:function (text,record,index) {
|
||||||
if(text) {
|
if(text) {
|
||||||
return text.replace(",",",");
|
return text.replaceAll(",",",");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -183,7 +183,7 @@
|
|||||||
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
||||||
customRender:function (text,record,index) {
|
customRender:function (text,record,index) {
|
||||||
if(text) {
|
if(text) {
|
||||||
return text.replace(",",",");
|
return text.replaceAll(",",",");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -200,7 +200,7 @@
|
|||||||
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
||||||
customRender:function (text,record,index) {
|
customRender:function (text,record,index) {
|
||||||
if(text) {
|
if(text) {
|
||||||
return text.replace(",",",");
|
return text.replaceAll(",",",");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -200,7 +200,7 @@
|
|||||||
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
||||||
customRender:function (text,record,index) {
|
customRender:function (text,record,index) {
|
||||||
if(text) {
|
if(text) {
|
||||||
return text.replace(",",",");
|
return text.replaceAll(",",",");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -215,7 +215,7 @@
|
|||||||
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
||||||
customRender:function (text,record,index) {
|
customRender:function (text,record,index) {
|
||||||
if(text) {
|
if(text) {
|
||||||
return text.replace(",",",");
|
return text.replaceAll(",",",");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -236,7 +236,7 @@
|
|||||||
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
||||||
customRender:function (text,record,index) {
|
customRender:function (text,record,index) {
|
||||||
if(text) {
|
if(text) {
|
||||||
return text.replace(",",",");
|
return text.replaceAll(",",",");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -195,7 +195,7 @@
|
|||||||
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
||||||
customRender:function (text,record,index) {
|
customRender:function (text,record,index) {
|
||||||
if(text) {
|
if(text) {
|
||||||
return text.replace(",",",");
|
return text.replaceAll(",",",");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -215,7 +215,7 @@
|
|||||||
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
||||||
customRender:function (text,record,index) {
|
customRender:function (text,record,index) {
|
||||||
if(text) {
|
if(text) {
|
||||||
return text.replace(",",",");
|
return text.replaceAll(",",",");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -209,7 +209,7 @@
|
|||||||
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
||||||
customRender:function (text,record,index) {
|
customRender:function (text,record,index) {
|
||||||
if(text) {
|
if(text) {
|
||||||
return text.replace(",",",");
|
return text.replaceAll(",",",");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -215,7 +215,7 @@
|
|||||||
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
||||||
customRender:function (text,record,index) {
|
customRender:function (text,record,index) {
|
||||||
if(text) {
|
if(text) {
|
||||||
return text.replace(",",",");
|
return text.replaceAll(",",",");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -196,7 +196,7 @@
|
|||||||
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
||||||
customRender:function (text,record,index) {
|
customRender:function (text,record,index) {
|
||||||
if(text) {
|
if(text) {
|
||||||
return text.replace(",",",");
|
return text.replaceAll(",",",");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -236,7 +236,7 @@
|
|||||||
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
{ title: '商品信息', dataIndex: 'materialsList',width:220, ellipsis:true,
|
||||||
customRender:function (text,record,index) {
|
customRender:function (text,record,index) {
|
||||||
if(text) {
|
if(text) {
|
||||||
return text.replace(",",",");
|
return text.replaceAll(",",",");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user