|
|
@ -5,7 +5,7 @@ |
|
|
|
v-model="dialogVisible" |
|
|
|
:close-on-click-modal="false" |
|
|
|
> |
|
|
|
<TableFormAdjustment ref="tableFormAdjustment" :rowData="rowData" :isDetail="false" @updateList="updateList"/> |
|
|
|
<TableFormAdjustment ref="tableFormAdjustment" :rowData="rowData" :adjustmentData="adjustmentData" :isDetail="false" @updateList="updateList"/> |
|
|
|
<template #footer> |
|
|
|
<slot name="foorter"></slot> |
|
|
|
<ButtonBase :Butttondata="[ |
|
|
@ -21,18 +21,23 @@ |
|
|
|
import * as defaultButtons from '@/utils/disposition/defaultButtons' |
|
|
|
import TableFormAdjustment from './TableFormAdjustment.vue' |
|
|
|
|
|
|
|
const tableFormAdjustment = ref() |
|
|
|
|
|
|
|
|
|
|
|
const dialogVisible = ref(false) |
|
|
|
const rowData = ref({}) |
|
|
|
const open = (row)=>{ |
|
|
|
const adjustmentData = ref({}) |
|
|
|
|
|
|
|
const open = (row,adjustmentData)=>{ |
|
|
|
|
|
|
|
dialogVisible.value = true |
|
|
|
nextTick(()=>{ |
|
|
|
rowData.value = row |
|
|
|
tableFormAdjustment.value.setDetailData(adjustmentData) |
|
|
|
|
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
const tableFormAdjustment = ref() |
|
|
|
/** 按钮事件 */ |
|
|
|
const buttonBaseClick = (val) => { |
|
|
|
if (val == 'save') { |
|
|
|