|
@@ -96,14 +96,16 @@ const initText = () => {
|
|
|
const onAdd = () => {
|
|
|
state.detail.transfer = {
|
|
|
mode: 'add',
|
|
|
- indexId: props.transfer.id
|
|
|
+ indexId: props.transfer.id,
|
|
|
+ maxCol: props.transfer.maxCol,
|
|
|
}
|
|
|
state.detail.show = true
|
|
|
}
|
|
|
const onEdit = (row) => {
|
|
|
state.detail.transfer = {
|
|
|
mode: 'edit',
|
|
|
- row: row
|
|
|
+ row: row,
|
|
|
+ maxCol: props.transfer.maxCol,
|
|
|
}
|
|
|
state.detail.show = true
|
|
|
}
|