|
@@ -70,7 +70,7 @@
|
|
v-model="record.qty"
|
|
v-model="record.qty"
|
|
:precision="0"
|
|
:precision="0"
|
|
:min="1"
|
|
:min="1"
|
|
- :max="999999"
|
|
|
|
|
|
+ :max="record.surplusQty"
|
|
placeholder="请输入"
|
|
placeholder="请输入"
|
|
@blur="e => onCellBlur(e.target.value, record)"
|
|
@blur="e => onCellBlur(e.target.value, record)"
|
|
style="width: 100%;" />
|
|
style="width: 100%;" />
|
|
@@ -132,7 +132,7 @@ export default {
|
|
{ title: '序号', dataIndex: 'no', width: '4%', align: 'center' },
|
|
{ title: '序号', dataIndex: 'no', width: '4%', align: 'center' },
|
|
{ title: '产品编码', dataIndex: 'productEntity.code', scopedSlots: { customRender: 'productCode' }, width: '26%', align: 'center' },
|
|
{ title: '产品编码', dataIndex: 'productEntity.code', scopedSlots: { customRender: 'productCode' }, width: '26%', align: 'center' },
|
|
{ title: '产品名称', dataIndex: 'productEntity.name', width: '29%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '产品名称', dataIndex: 'productEntity.name', width: '29%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
- { title: '剩余待下推', dataIndex: 'surplusQty', width: '10%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
|
|
|
|
+ { title: '待下推数量', dataIndex: 'surplusQty', width: '10%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
|
|
{ title: '本次下推数', scopedSlots: { customRender: 'salesNums' }, width: '11%', align: 'center' },
|
|
{ title: '本次下推数', scopedSlots: { customRender: 'salesNums' }, width: '11%', align: 'center' },
|
|
{ title: '单位', dataIndex: 'productEntity.unit', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '单位', dataIndex: 'productEntity.unit', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '操作', scopedSlots: { customRender: 'action' }, width: '10%', align: 'center' }
|
|
{ title: '操作', scopedSlots: { customRender: 'action' }, width: '10%', align: 'center' }
|