马宇豪
2025-04-23 34ec919649adfefeecd0418284dd7b02e9ed49b8
src/views/selfCheck/components/checkDetails.vue
@@ -5,9 +5,10 @@
        :close-on-click-modal="false"
        width="75%"
        center
        @close="resetForm()"
    >
         <div slot="title" class="dialog-title">
            烟花爆竹批发企业自查情况信息报送表
            烟花爆竹{{enterpriseType==1?'批发':'零售'}}企业自查情况信息报送表
         </div>
        <div class="table-tit">
            <div>企业名称: <span class="m-color">{{corpInfo.enterpriseName}}</span></div>
@@ -18,8 +19,8 @@
                <th class="m-color b-font">企业基本情况</th>
                <tr>
                    <td class="m-color w-33">批发许可证状态</td>
                    <td class="m-color w-33">库存(万箱)</td>
                    <td class="m-color w-33">库容(万箱)</td>
                    <td class="m-color w-33">库存(箱)</td>
                    <td class="m-color w-33">库容(箱)</td>
                </tr>
                <tr>
                    <td class="w-33">{{corpInfo.licenceValidStatus==0 ? '有效期内' : '失效'}}</td>
@@ -90,20 +91,22 @@
        data(){
            return{
                dialogVisible:false,
                enterpriseType: null,
                id: null,
                corpInfo:{
                    enterpriseName: '',
                    enterpriseProvince: '',
                    enterpriseCity: '',
                    enterpriseArea: '',
                    licenceValidStatus: 0,
                    stockNum: 0,
                    store: 0,
                    licenceValidStatus: null,
                    stockNum: null,
                    storageCapacity: null,
                    hiddendangerStatus: null,
                    hiddendangerInfos: [],
                    hiddendangerSum: 0,
                    majorHiddendangerNum: 0,
                    completedRectifyHiddendangerSum: 0,
                    completedRectifyMajorHiddendangerNum: 0,
                    hiddendangerSum: null,
                    majorHiddendangerNum: null,
                    completedRectifyHiddendangerSum: null,
                    completedRectifyMajorHiddendangerNum: null,
                    selfcheckReportUserName: '',
                    selfcheckReportUserMobile: '',
                    reportModifyTime: ''
@@ -118,8 +121,8 @@
                let res = await getEnterpriseInfo({id: t.id})
                if(res.data.code === "200"){
                    t.corpInfo = res.data.result
                    console.log(t.corpInfo,'t.corpInfo')
                }else{
                    t.dialogVisible = false
                    t.$message({
                        type:'warning',
                        message:res.data.message
@@ -129,6 +132,26 @@
            confirmBack(){
                this.dialogVisible = false
            },
            resetForm(){
                this.corpInfo={
                    enterpriseName: '',
                    enterpriseProvince: '',
                    enterpriseCity: '',
                    enterpriseArea: '',
                    licenceValidStatus: null,
                    stockNum: null,
                    storageCapacity: null,
                    hiddendangerStatus: null,
                    hiddendangerInfos: [],
                    hiddendangerSum: null,
                    majorHiddendangerNum: null,
                    completedRectifyHiddendangerSum: null,
                    completedRectifyMajorHiddendangerNum: null,
                    selfcheckReportUserName: '',
                    selfcheckReportUserMobile: '',
                    reportModifyTime: ''
                }
            }
        },
    }
@@ -147,11 +170,17 @@
        font-weight: bolder;
    }
    .table-tit{
        width: 100%;
        display: flex;
        align-items: center;
        margin-bottom: 10px;
        div:first-of-type{
            margin-right: 100px;
        justify-content: space-between;
        flex-flow: wrap;
        background: #ecf5ff;
        padding: 10px;
        border-radius: 4px;
        &>div{
            width: 50%;
        }
    }
    .corp-list{
@@ -228,6 +257,8 @@
                        line-height: 1.5;
                        text-align: left;
                        padding: 10px;
                        &::-webkit-scrollbar { width: 0; height: 0; color: transparent }
                        &::scrollbar { width: 0; height: 0; color: transparent }
                    }
                }
            }