烟花爆竹实名登记前端
祖安之光
2026-03-09 f71349e211e274904bbd883c9ac119acc3f12368
src/views/license/licenseInfo/components/licenseModForm.vue
@@ -229,6 +229,7 @@
                        <!--                </el-col>-->
                    </el-row>
                    <el-row>
                        <el-col :span="8">
                        <el-form-item label="经济类型:" prop="economictype" >
                            <el-select v-model.trim="dataForm.economictype"  placeholder="" clearable class="enterpriseBasicInformation_input">
                                <el-option
@@ -240,6 +241,13 @@
                                </el-option>
                            </el-select>
                        </el-form-item>
                        </el-col>
                        <el-col :span="16">
                            <el-form-item label="许可证编号:" prop="licensecode">
                                <el-input v-model.trim="dataForm.licensecode" class="carrierLicense_select">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <div v-if="roleType==='烟花爆竹批发经营' || type === 2 ? true : false">
@@ -572,6 +580,12 @@
                                            <el-checkbox v-for="item in checkList2" :label="item" :key="item">{{item}}</el-checkbox>
                                        </el-checkbox-group>
                                    </el-col>
                                    <el-col :span="8">
                                        <el-checkbox v-model="checked7" @change="justifySingle(7)">升空类</el-checkbox>
                                        <el-checkbox-group v-model="checkMore7" style="display:inline-block;" @change="justify(7)">
                                            <el-checkbox v-for="item in checkList2" :label="item" :key="item">{{item}}</el-checkbox>
                                        </el-checkbox-group>
                                    </el-col>
                                </el-row>
                            </el-form-item>
                        </el-col>
@@ -714,6 +728,7 @@
                effectdate:'',
                noeffectdate:'',
                economictype:'',
                licensecode: '',
                licenseStorage:[
                ],
@@ -731,14 +746,16 @@
            checked4:false,
            checked5:false,
            checked6:false,
            checked7:false,
            checkMore1:[],
            checkMore2:[],
            checkMore3:[],
            checkMore4:[],
            checkMore5:[],
            checkMore6:[],
            checkList1:['C级'],
            checkList2:['D级'],
            checkMore7:[],
            checkList1:['C级','D级'],
            checkList2:['C级','D级'],
            checkMoreList:['C级','D级'],
            storage1:{
                id:null,
@@ -858,12 +875,14 @@
                this.checked4 = dealingrange[3].checked4
                this.checked5 = dealingrange[4].checked5
                this.checked6 = dealingrange[5].checked6
                this.checked7 = dealingrange[6].checked7
                this.checkMore1=dealingrange[0].checkMore1
                this.checkMore2=dealingrange[1].checkMore2
                this.checkMore3=dealingrange[2].checkMore3
                this.checkMore4=dealingrange[3].checkMore4
                this.checkMore5=dealingrange[4].checkMore5
                this.checkMore6=dealingrange[5].checkMore6
                this.checkMore7=dealingrange[6].checkMore7
            }else if(roleType === '烟花爆竹零售经营(长期)' || roleType === '烟花爆竹零售经营(短期)' || (roleType === 'null'&& this.dataForm.type ===3)){
                this.type = 3
                if(this.dataForm.dealingrange.length > 10){
@@ -876,12 +895,14 @@
                this.checked4 = dealingrange[3].checked4
                this.checked5 = dealingrange[4].checked5
                this.checked6 = dealingrange[5].checked6
                this.checked7 = dealingrange[6].checked7
                this.checkMore1=dealingrange[0].checkMore1
                this.checkMore2=dealingrange[1].checkMore2
                this.checkMore3=dealingrange[2].checkMore3
                this.checkMore4=dealingrange[3].checkMore4
                this.checkMore5=dealingrange[4].checkMore5
                this.checkMore6=dealingrange[5].checkMore6
                this.checkMore7=dealingrange[6].checkMore7
            }
        },
        async submit(value){
@@ -892,18 +913,18 @@
                this.dataForm.licenseStorage.push(storageOne)
                this.dataForm.licenseStorage.push(storageTwo)
                this.dataForm.licenseStorage.push(storageThree)
                this.dataForm.dealingrange = JSON.stringify([{checked1:this.checked1,checkMore1:this.checkMore1},{checked2:this.checked2,checkMore2:this.checkMore2},{checked3:this.checked3,checkMore3:this.checkMore3},{checked4:this.checked4,checkMore4:this.checkMore4},{checked5:this.checked5,checkMore5:this.checkMore5},{checked6:this.checked6,checkMore6:this.checkMore6},])
                this.dataForm.dealingrange = JSON.stringify([{checked1:this.checked1,checkMore1:this.checkMore1},{checked2:this.checked2,checkMore2:this.checkMore2},{checked3:this.checked3,checkMore3:this.checkMore3},{checked4:this.checked4,checkMore4:this.checkMore4},{checked5:this.checked5,checkMore5:this.checkMore5},{checked6:this.checked6,checkMore6:this.checkMore6},{checked7:this.checked7,checkMore7:this.checkMore7}])
                this.dataForm.licenseStorage = JSON.stringify(this.dataForm.licenseStorage)
            }else if(this.dataForm.type === 2){
                this.dataForm.licenseStorage = JSON.stringify([{id:this.id,area:this.area,storagenum:this.storagenum,storagearea:this.storagearea,powder:this.powder,firststoragenum:this.firststoragenum,firststoragearea:this.firststoragearea,firstpowder:this.firstpowder,thirdstoragenum:this.thirdstoragenum,thirdstoragearea:this.thirdstoragearea,thirdpowder:this.thirdpowder,type:3}])
                this.dataForm.dealingrange = JSON.stringify([{checked1:this.checked1,checkMore1:this.checkMore1},{checked2:this.checked2,checkMore2:this.checkMore2},{checked3:this.checked3,checkMore3:this.checkMore3},{checked4:this.checked4,checkMore4:this.checkMore4},{checked5:this.checked5,checkMore5:this.checkMore5},{checked6:this.checked6,checkMore6:this.checkMore6},])
                this.dataForm.dealingrange = JSON.stringify([{checked1:this.checked1,checkMore1:this.checkMore1},{checked2:this.checked2,checkMore2:this.checkMore2},{checked3:this.checked3,checkMore3:this.checkMore3},{checked4:this.checked4,checkMore4:this.checkMore4},{checked5:this.checked5,checkMore5:this.checkMore5},{checked6:this.checked6,checkMore6:this.checkMore6},{checked7:this.checked7,checkMore7:this.checkMore7}])
            }else{
                this.dataForm.dealingrange = JSON.stringify([{checked1:this.checked1,checkMore1:this.checkMore1},{checked2:this.checked2,checkMore2:this.checkMore2},{checked3:this.checked3,checkMore3:this.checkMore3},{checked4:this.checked4,checkMore4:this.checkMore4},{checked5:this.checked5,checkMore5:this.checkMore5},{checked6:this.checked6,checkMore6:this.checkMore6},])
                this.dataForm.dealingrange = JSON.stringify([{checked1:this.checked1,checkMore1:this.checkMore1},{checked2:this.checked2,checkMore2:this.checkMore2},{checked3:this.checked3,checkMore3:this.checkMore3},{checked4:this.checked4,checkMore4:this.checkMore4},{checked5:this.checked5,checkMore5:this.checkMore5},{checked6:this.checked6,checkMore6:this.checkMore6},{checked7:this.checked7,checkMore7:this.checkMore7}])
                this.dataForm.licenseStorage = JSON.stringify([])
            }
            let fullAddress = (this.dataForm.province ==='新疆维吾尔自治区'? '新疆': this.dataForm.province)
            let fullAddress = (this.dataForm.province ==='盐城市'? '新疆': this.dataForm.province)
                + this.dataForm.city + this.dataForm.district + this.dataForm.address;
            let fullStorageAddress = (this.dataForm.storageprovince ==='新疆维吾尔自治区'? '新疆': this.dataForm.storageprovince)
            let fullStorageAddress = (this.dataForm.storageprovince ==='盐城市'? '新疆': this.dataForm.storageprovince)
                + this.dataForm.storagecity + this.dataForm.storagedistrict + this.dataForm.storageaddress;
          if (this.dealingtypeList.filter(item => item.id === this.dataForm.dealingtype).length !== 1) {
@@ -968,11 +989,17 @@
                }else{
                    this.checked5 = false
                }
            }else{
            }else if(value === 6){
                if(this.checkMore6.length !== 0){
                    this.checked6 = true
                }else{
                    this.checked6 = false
                }
            }else{
                if(this.checkMore7.length !== 0){
                    this.checked7 = true
                }else{
                    this.checked7 = false
                }
            }
        },
@@ -980,13 +1007,13 @@
        justifySingle(value){
            if(value === 1){
                if(this.checked1 === true){
                    this.checkMore1 = ['C级']
                    this.checkMore1 = ['C级','D级']
                }else{
                    this.checkMore1 = []
                }
            }else if(value ===2){
                if(this.checked2 === true){
                    this.checkMore2 = ['D级']
                    this.checkMore2 = ['C级','D级']
                }else{
                    this.checkMore2 = []
                }
@@ -998,7 +1025,7 @@
                }
            }else if(value === 4){
                if(this.checked4 === true){
                    this.checkMore4 = ['C级']
                    this.checkMore4 = ['C级','D级']
                }else{
                    this.checkMore4 = []
                }
@@ -1008,12 +1035,18 @@
                }else{
                    this.checkMore5 = []
                }
            }else{
            }else if(value === 6){
                if(this.checked6 === true){
                    this.checkMore6 = ['D级']
                    this.checkMore6 = ['C级','D级']
                }else{
                    this.checkMore6 = []
                }
            }else{
                if(this.checked7 === true){
                    this.checkMore7 = ['C级','D级']
                }else{
                    this.checkMore7 = []
                }
            }
        },