|
@@ -262,8 +262,11 @@ export default {
|
|
|
arr.push({ title: '第三方库存', field: 'thirdStockQty', width: 80, key: 'mm', align: 'center', operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return numsFormat(row[column.field]) } })
|
|
|
}
|
|
|
}
|
|
|
- this.colspanNums = this.colspanNums + 4
|
|
|
- arr.push({ title: '发货经销商库存', field: 'transferDealerStockQty', width: 100, key: 'tt', align: 'center', operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return transferDealerInfo(row, row[column.field], h) } })
|
|
|
+ if (this.detailData.salesBillSource == 'PURCHASE' && this.detailData.orderType == 'TIRE') {
|
|
|
+ arr.push({ title: '发货经销商库存', field: 'transferDealerStockQty', width: 100, key: 'tt', align: 'center', operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return transferDealerInfo(row, row[column.field], h) } })
|
|
|
+ this.colspanNums = this.colspanNums + 1
|
|
|
+ }
|
|
|
+ this.colspanNums = this.colspanNums + 3
|
|
|
arr = arr.concat([
|
|
|
{ title: '待下推数', field: 'unpushedQty', width: 80, key: 'o', align: 'center', operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return numsFormat(row[column.field]) } },
|
|
|
{ title: '已下推数', field: 'pushedQty', width: 80, key: 'p', align: 'center', operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return numsFormat(row[column.field]) } }
|