|
@@ -391,7 +391,25 @@ export default {
|
|
// 采购订单 表头
|
|
// 采购订单 表头
|
|
purchaseOrderColumns: [
|
|
purchaseOrderColumns: [
|
|
{ title: '货物名称', width: 180, dataIndex: 'cinvName', className: 'replacecolor', align:'left'},
|
|
{ title: '货物名称', width: 180, dataIndex: 'cinvName', className: 'replacecolor', align:'left'},
|
|
- { title: '批号', width: 80, dataIndex: 'cbatch', className: 'replacecolor' },
|
|
|
|
|
|
+ { title: '批号', width: 80, dataIndex: 'cbatch', className: 'replacecolor',
|
|
|
|
+ customRender:function(text,record,index){
|
|
|
|
+ if (text == null || text == undefined){
|
|
|
|
+ return "";
|
|
|
|
+ }
|
|
|
|
+ if (text.indexOf(",")>-1){
|
|
|
|
+ const arr = text.split(',');
|
|
|
|
+ return (<div>
|
|
|
|
+ {
|
|
|
|
+ arr.map(t=>{
|
|
|
|
+ return (<li>{t}</li>)
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ </div>)
|
|
|
|
+ }else{
|
|
|
|
+ return text;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
{ title: '计划数量', dataIndex: 'iquantity', width: 80, className: 'replacecolor' },
|
|
{ title: '计划数量', dataIndex: 'iquantity', width: 80, className: 'replacecolor' },
|
|
{
|
|
{
|
|
title: '采购数量',
|
|
title: '采购数量',
|