|
@@ -176,7 +176,6 @@
|
|
let arr= [
|
|
let arr= [
|
|
{ title: "", field: "", key: "acheck", type: "checkbox", align: "center" },
|
|
{ title: "", field: "", key: "acheck", type: "checkbox", align: "center" },
|
|
{ title: '序号', field: 'no',key: "a", width: 50, align: 'center', operationColumn: false },
|
|
{ title: '序号', field: 'no',key: "a", width: 50, align: 'center', operationColumn: false },
|
|
- { title: '活动规则', field: 'prompName',key: "m", width: 100, align: 'center',operationColumn: false },
|
|
|
|
{ title: '产品编码', field: 'productCode',key: "b", width: 100, align: 'center',operationColumn: false,renderBodyCell: ({ row, column, rowIndex }, h) => { return codeFormat(row,row[column.field],h)} },
|
|
{ title: '产品编码', field: 'productCode',key: "b", width: 100, align: 'center',operationColumn: false,renderBodyCell: ({ row, column, rowIndex }, h) => { return codeFormat(row,row[column.field],h)} },
|
|
{ title: '产品名称', field: 'productName',key: "c", width: 200, align: 'center',operationColumn: false , ellipsis: { showTitle: true },renderBodyCell: ({ row, column, rowIndex }, h) => { return row[column.field] || '--'}},
|
|
{ title: '产品名称', field: 'productName',key: "c", width: 200, align: 'center',operationColumn: false , ellipsis: { showTitle: true },renderBodyCell: ({ row, column, rowIndex }, h) => { return row[column.field] || '--'}},
|
|
{ title: '出库仓库', field: 'warehouseName',key: "e", width: 100, align: 'center',operationColumn: false,renderBodyCell: ({ row, column, rowIndex }, h) => { return row[column.field] || '--'}},
|
|
{ title: '出库仓库', field: 'warehouseName',key: "e", width: 100, align: 'center',operationColumn: false,renderBodyCell: ({ row, column, rowIndex }, h) => { return row[column.field] || '--'}},
|
|
@@ -185,7 +184,11 @@
|
|
{ title: '单位', field: 'productOrigUnit',key: "i", width: 80, align: 'center',operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return row[column.field] || '--'}},
|
|
{ title: '单位', field: 'productOrigUnit',key: "i", width: 80, align: 'center',operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return row[column.field] || '--'}},
|
|
{ title: '操作', field: 'action', width: 80,key: "s", align: 'center',fixed: 'right',operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return actionFormat(row,row[column.field],h)} }
|
|
{ title: '操作', field: 'action', width: 80,key: "s", align: 'center',fixed: 'right',operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return actionFormat(row,row[column.field],h)} }
|
|
]
|
|
]
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+ if(this.detailData && this.detailData.promoFlag==1){
|
|
|
|
+ arr.splice(2,0,{ title: '活动规则', field: 'prompName',key: "m", width: 100, align: 'center',operationColumn: false },)
|
|
|
|
+ }
|
|
|
|
+
|
|
return arr
|
|
return arr
|
|
}
|
|
}
|
|
},
|
|
},
|