zhaoxiaoqiang
2023-04-14 a5604d778ca31451a95d8dabdf94f7ebc78e5c55
src/views/template/detail.vue
@@ -409,14 +409,12 @@
                //按下标打钩,并且存储选中项,取消打钩的去掉存储项
                if(this.areaArr[index].selected == 0){
                    this.areaArr[index].selected = 1
                    console.log(this.info,this.areaArr[index])
                    this.info.tempRules.push(this.areaArr[index])
                }else{
                    this.areaArr[index].selected = 0
                    let num = this.info.tempRules.findIndex(item=>{
                        return item.code == this.areaArr[index].code
                    })
                    console.log('num:',num)
                    this.info.tempRules.splice(num,1)
                }
                // 有一个未打钩,取消全选,全部勾选则选中全选
@@ -428,7 +426,6 @@
                }else{
                    this.allpr = true
                }
                console.log(this.info)
            },
            // 选择渠道
            choseChan(index){
@@ -441,7 +438,6 @@
                    let num = this.info.tempRules.findIndex(item => {
                        return item.code == this.chanArr[index].code
                    })
                    console.log('num:',num)
                    this.info.tempRules.splice(num,1)
                }
                // 有一个未打钩,取消全选,全部勾选则选中全选
@@ -453,8 +449,6 @@
                }else{
                    this.allchan = true
                }
                console.log(this.info)
                console.log('this.chanArr:',this.chanArr)
            },
            // 详情弹出层
            showDet(){
@@ -474,7 +468,6 @@
                    })
                    this.info.tempRules = []
                }
               console.log(this.info)
            },
            // 模板省份全选
            getAllpr(){
@@ -490,7 +483,6 @@
                    })
                    this.info.tempRules = []
                }
                console.log(this.info)
            },
            // 控制模板选择弹出层
            nextStep(item,index){
@@ -516,7 +508,6 @@
                        }
                    })
                }
                console.log(this.info)
            },
            // 打开 模板弹窗
            openTempModal() {
@@ -747,7 +738,6 @@
                                return
                            }
                            if ((issItem.amt === null || issItem.amt === '') && issItem.status) {
                                console.log('000')
                                this.$notify(`请输入花呗间联${issItem.term}期商户固定收益!`)
                                return
                            }