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