This commit is contained in:
parent
c565f3df97
commit
7a9a513612
|
|
@ -71,6 +71,10 @@ const props = defineProps({
|
|||
type: Array,
|
||||
default: () => [],
|
||||
},
|
||||
inspectionStationId: {
|
||||
type: [String, Number],
|
||||
default: '',
|
||||
},
|
||||
})
|
||||
|
||||
const emit = defineEmits(['confirm', 'close'])
|
||||
|
|
@ -83,6 +87,7 @@ const selectedPlans = ref([])
|
|||
|
||||
const queryParams = reactive({
|
||||
keyWord: '',
|
||||
inspectionStationId: props.inspectionStationId,
|
||||
})
|
||||
|
||||
// 监听弹框打开,重置数据
|
||||
|
|
|
|||
|
|
@ -319,6 +319,7 @@
|
|||
ref="planSelectDialogRef"
|
||||
:dialog-config="planSelectDialogConfig"
|
||||
:selected-plan-ids="selectedPlanIds"
|
||||
:inspection-station-id="inspectionStationId"
|
||||
@confirm="onPlanSelectConfirm"
|
||||
@close="onPlanSelectClose"
|
||||
/>
|
||||
|
|
@ -357,7 +358,7 @@ const { contract_satus } = proxy.useDict('contract_satus')
|
|||
|
||||
const mode = computed(() => route.query.mode || 'add')
|
||||
const isDetail = computed(() => mode.value === 'detail')
|
||||
|
||||
const inspectionStationId = computed(() => route.query.inspectionStationId || '')
|
||||
const pageTitle = computed(() => {
|
||||
if (mode.value === 'edit') return '编辑结算'
|
||||
if (mode.value === 'detail') return '结算详情'
|
||||
|
|
|
|||
|
|
@ -110,6 +110,7 @@ const actionColumns = [
|
|||
path: '/settlement/settlementEdit/index',
|
||||
query: {
|
||||
id: row.settlementId,
|
||||
inspectionStationId: row.inspectionStationId,
|
||||
mode: 'edit',
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue