|
@@ -82,7 +82,7 @@
|
|
:columns="columns"
|
|
:columns="columns"
|
|
:showPagination="false"
|
|
:showPagination="false"
|
|
:data="loadData"
|
|
:data="loadData"
|
|
- :scroll="{ x: 1400, y: 300 }"
|
|
|
|
|
|
+ :scroll="{ x: 2060, y: 300 }"
|
|
bordered>
|
|
bordered>
|
|
<!-- 取消数量 -->
|
|
<!-- 取消数量 -->
|
|
<template slot="nums" slot-scope="text, record">
|
|
<template slot="nums" slot-scope="text, record">
|
|
@@ -155,17 +155,17 @@ export default {
|
|
selectedRows: [],
|
|
selectedRows: [],
|
|
columns: [
|
|
columns: [
|
|
{ title: '序号', dataIndex: 'no', width: 80, align: 'center' },
|
|
{ title: '序号', dataIndex: 'no', width: 80, align: 'center' },
|
|
- { title: '产品编码', dataIndex: 'productEntity.code', scopedSlots: { customRender: 'productCode' }, width: 200, align: 'center' },
|
|
|
|
- { title: '产品名称', dataIndex: 'productEntity.name', width: 200, align: 'center' },
|
|
|
|
- { title: '原厂编码', dataIndex: 'productEntity.origCode', width: 140, align: 'center', customRender: function (text) { return text == '' ? text : '--' } },
|
|
|
|
- { title: '成本价', dataIndex: 'showCost', width: 100, align: 'center', customRender: function (text) { return '¥' + (text || 0) } },
|
|
|
|
- { title: '销售价', dataIndex: 'price', width: 150, align: 'center', customRender: function (text) { return '¥' + (text || 0) } },
|
|
|
|
|
|
+ { title: '产品编码', dataIndex: 'productEntity.code', scopedSlots: { customRender: 'productCode' }, width: 220, align: 'center' },
|
|
|
|
+ { title: '产品名称', dataIndex: 'productEntity.name', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
|
+ { title: '原厂编码', dataIndex: 'productEntity.origCode', width: 220, align: 'center', customRender: function (text) { return text == '' ? text : '--' } },
|
|
|
|
+ { title: '成本价', dataIndex: 'showCost', width: 120, align: 'center', customRender: function (text) { return '¥' + (text || 0) } },
|
|
|
|
+ { title: '销售价', dataIndex: 'price', width: 120, align: 'center', customRender: function (text) { return '¥' + (text || 0) } },
|
|
{ title: '单位', dataIndex: 'productEntity.unit', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '单位', dataIndex: 'productEntity.unit', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
|
|
- { title: '可用库存', dataIndex: 'stockQty', width: 150, align: 'center', customRender: function (text) { return text || 0 } },
|
|
|
|
- { title: '销售数量', dataIndex: 'qty', width: 150, align: 'center', customRender: function (text) { return text || 0 } },
|
|
|
|
- { title: '已取消', dataIndex: 'cancelQty', width: 150, align: 'center', customRender: function (text) { return text || 0 } },
|
|
|
|
- { title: '已下推', dataIndex: 'pushedQty', width: 150, align: 'center', customRender: function (text) { return text || 0 } },
|
|
|
|
- { title: '剩余待下推', dataIndex: 'surplusQty', width: 150, align: 'center', customRender: function (text) { return text || 0 } },
|
|
|
|
|
|
+ { title: '可用库存', dataIndex: 'stockQty', width: 120, align: 'center', customRender: function (text) { return text || 0 } },
|
|
|
|
+ { title: '销售数量', dataIndex: 'qty', width: 120, align: 'center', customRender: function (text) { return text || 0 } },
|
|
|
|
+ { title: '已取消', dataIndex: 'cancelQty', width: 120, align: 'center', customRender: function (text) { return text || 0 } },
|
|
|
|
+ { title: '已下推', dataIndex: 'pushedQty', width: 120, align: 'center', customRender: function (text) { return text || 0 } },
|
|
|
|
+ { title: '剩余待下推', dataIndex: 'surplusQty', width: 120, align: 'center', customRender: function (text) { return text || 0 } },
|
|
{ title: '取消数量', dataIndex: 'cancelNums', scopedSlots: { customRender: 'nums' }, width: 150, align: 'center' },
|
|
{ title: '取消数量', dataIndex: 'cancelNums', scopedSlots: { customRender: 'nums' }, width: 150, align: 'center' },
|
|
{ title: '操作', dataIndex: 'action', scopedSlots: { customRender: 'action' }, width: 150, align: 'center', fixed: 'right' }
|
|
{ title: '操作', dataIndex: 'action', scopedSlots: { customRender: 'action' }, width: 150, align: 'center', fixed: 'right' }
|
|
],
|
|
],
|