|
@@ -32,7 +32,7 @@
|
|
<editable-cell
|
|
<editable-cell
|
|
size="small"
|
|
size="small"
|
|
:text="record.backStockQty"
|
|
:text="record.backStockQty"
|
|
- :max="999999"
|
|
|
|
|
|
+ :max="record.qty"
|
|
:min="0"
|
|
:min="0"
|
|
:precision="0"
|
|
:precision="0"
|
|
@change="onCellChange(record.id, 'backStockQty', $event)" />
|
|
@change="onCellChange(record.id, 'backStockQty', $event)" />
|
|
@@ -107,6 +107,12 @@ export default {
|
|
align: 'center',
|
|
align: 'center',
|
|
width: 200
|
|
width: 200
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ title: '退货数量',
|
|
|
|
+ dataIndex: 'qty',
|
|
|
|
+ align: 'center',
|
|
|
|
+ width: 150
|
|
|
|
+ },
|
|
{
|
|
{
|
|
title: '坏件数量',
|
|
title: '坏件数量',
|
|
dataIndex: 'badQty',
|
|
dataIndex: 'badQty',
|
|
@@ -180,7 +186,7 @@ export default {
|
|
_this.selectedRows.map(item => {
|
|
_this.selectedRows.map(item => {
|
|
obj.push({
|
|
obj.push({
|
|
productSn: item.productSn,
|
|
productSn: item.productSn,
|
|
- backStockQty: item.backStockQty
|
|
|
|
|
|
+ backStockQty: item.qty
|
|
})
|
|
})
|
|
})
|
|
})
|
|
_this.submitCheck(obj)
|
|
_this.submitCheck(obj)
|