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