11.19
This commit is contained in:
parent
ee17c6bb14
commit
872f915e11
@ -26,7 +26,7 @@ export default {
|
|||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
deptId: Number,
|
deptId: Number,
|
||||||
status: Boolean
|
stauts: Boolean
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getDeptName();
|
this.getDeptName();
|
||||||
@ -40,8 +40,8 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
getList() {
|
getList() {
|
||||||
console.log(this.status)
|
console.log("11111111111111"+this.stauts)
|
||||||
if(this.status){
|
if(this.stauts){
|
||||||
getYearListApi().then(res => {
|
getYearListApi().then(res => {
|
||||||
this.tableData = res.data.records
|
this.tableData = res.data.records
|
||||||
})
|
})
|
||||||
|
@ -305,7 +305,7 @@
|
|||||||
<afterff :deptId="queryParams.deptId"></afterff>
|
<afterff :deptId="queryParams.deptId"></afterff>
|
||||||
</template>
|
</template>
|
||||||
<template v-if="ruleForm.turnoverType === '5'">
|
<template v-if="ruleForm.turnoverType === '5'">
|
||||||
<yearff :deptId="queryParams.deptId" :status="queryParams.status"></yearff>
|
<yearff :deptId="queryParams.deptId" :stauts="stauts"></yearff>
|
||||||
</template>
|
</template>
|
||||||
<template v-if="ruleForm.turnoverType === '6'">
|
<template v-if="ruleForm.turnoverType === '6'">
|
||||||
<el-col :span="10">
|
<el-col :span="10">
|
||||||
@ -840,6 +840,7 @@ export default {
|
|||||||
isAgencyEdit: false,
|
isAgencyEdit: false,
|
||||||
isAgencyDelete: false,
|
isAgencyDelete: false,
|
||||||
activeName: 'list',
|
activeName: 'list',
|
||||||
|
stauts:false,
|
||||||
ruleForm: {
|
ruleForm: {
|
||||||
parentId:'',
|
parentId:'',
|
||||||
deptType:'3',
|
deptType:'3',
|
||||||
@ -856,7 +857,7 @@ export default {
|
|||||||
rates:0,
|
rates:0,
|
||||||
storeNum:0,
|
storeNum:0,
|
||||||
prepaidAmount:0,
|
prepaidAmount:0,
|
||||||
stauts:false,
|
|
||||||
},
|
},
|
||||||
filterText:'',
|
filterText:'',
|
||||||
xtitle:'',
|
xtitle:'',
|
||||||
@ -1407,10 +1408,10 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
async activecilck(data){
|
async activecilck(data){
|
||||||
|
this.stauts=false
|
||||||
// 判断是点击还是修改该
|
// 判断是点击还是修改该
|
||||||
this.isClick = true
|
this.isClick = true
|
||||||
|
console.log("222222222222222"+ this.status)
|
||||||
console.log('点树',data)
|
console.log('点树',data)
|
||||||
|
|
||||||
console.log("ruleForm",this.ruleForm)
|
console.log("ruleForm",this.ruleForm)
|
||||||
@ -1585,7 +1586,7 @@ export default {
|
|||||||
//树形页操作
|
//树形页操作
|
||||||
//新增树
|
//新增树
|
||||||
append(data) {
|
append(data) {
|
||||||
this.ruleForm.status=true,
|
this.stauts=true
|
||||||
console.log('新增树',data)
|
console.log('新增树',data)
|
||||||
// 清除表单
|
// 清除表单
|
||||||
this.cleanRuleForm()
|
this.cleanRuleForm()
|
||||||
|
Loading…
Reference in New Issue
Block a user