This commit is contained in:
sw 2024-11-20 13:50:55 +08:00
parent ee17c6bb14
commit 872f915e11
2 changed files with 9 additions and 8 deletions

View File

@ -26,7 +26,7 @@ export default {
},
props: {
deptId: Number,
status: Boolean
stauts: Boolean
},
created() {
this.getDeptName();
@ -40,8 +40,8 @@ export default {
})
},
getList() {
console.log(this.status)
if(this.status){
console.log("11111111111111"+this.stauts)
if(this.stauts){
getYearListApi().then(res => {
this.tableData = res.data.records
})

View File

@ -305,7 +305,7 @@
<afterff :deptId="queryParams.deptId"></afterff>
</template>
<template v-if="ruleForm.turnoverType === '5'">
<yearff :deptId="queryParams.deptId" :status="queryParams.status"></yearff>
<yearff :deptId="queryParams.deptId" :stauts="stauts"></yearff>
</template>
<template v-if="ruleForm.turnoverType === '6'">
<el-col :span="10">
@ -840,6 +840,7 @@ export default {
isAgencyEdit: false,
isAgencyDelete: false,
activeName: 'list',
stauts:false,
ruleForm: {
parentId:'',
deptType:'3',
@ -856,7 +857,7 @@ export default {
rates:0,
storeNum:0,
prepaidAmount:0,
stauts:false,
},
filterText:'',
xtitle:'',
@ -1407,10 +1408,10 @@ export default {
},
async activecilck(data){
this.stauts=false
//
this.isClick = true
console.log("222222222222222"+ this.status)
console.log('点树',data)
console.log("ruleForm",this.ruleForm)
@ -1585,7 +1586,7 @@ export default {
//
//
append(data) {
this.ruleForm.status=true,
this.stauts=true
console.log('新增树',data)
//
this.cleanRuleForm()