xy 2 years ago
parent fb722a8f83
commit 07772d540d

@ -174,6 +174,21 @@
</div>
</template>
<template v-slot:extraFormBottom>
<el-select
placeholder="科室选择"
clearable
size="small"
v-model="plansSelect.plan_department_id"
style="width: 160px"
>
<el-option
v-for="item in departments"
:label="item.name"
:value="item.id"
:key="item.id"
>
</el-option>
</el-select>
<Input search enter-button=" " placeholder="搜索预算计划.." v-model="plansSelect.name" @on-search="getBudgets" />
<div class="contract-add-plan" style="min-width: 300px;">
<template v-if="paymentRegistrationForm.plan.length > 0">
@ -227,6 +242,7 @@ import {
export default {
data() {
return {
departments: [],
fileList: [],
planTotal: 0,
pageIndex: 1,
@ -312,11 +328,12 @@ import {
plansSelect: {
page: 1,
page_size: 10,
name: ''
name: '',
plan_department_id: ""
},
planTable: [{
sortable: false,
width: 36,
width: 40,
type: 'selection'
},
{
@ -621,6 +638,12 @@ import {
this.$refs.planTable.clearSelection()
}
},
//
getDepartment() {
listdeptNoAuth().then((res) => {
this.departments = res;
});
},
},
computed: {
moneyFormat() {
@ -639,6 +662,9 @@ import {
}
}
},
created() {
this.getDepartment()
},
async mounted() {
//await this.getBudgets()
await this.getPlanTypes()

Loading…
Cancel
Save