<template xmlns='http://www.w3.org/1999/html' xmlns='http://www.w3.org/1999/html'>
  <a-spin :spinning='confirmLoading'>
    <j-form-container ><!--:disabled='formDisabled'-->
      <a-form-model ref='form' :model='model' :rules='validatorRules' slot='detail'>
        <a-row>
          <a-col :span="24" v-if="title != ''">
            <div style="text-align: center;font-weight:bold;font-size: 18px;margin-bottom: 20px">{{title}}</div>
          </a-col>
          <table style="background-color: white">
            <tr class="tableGroupTitle">
              <td colspan="2">
                <a-col :span="24">
                  <div style="text-align: center;font-size: larger;">土地基本信息</div>
                </a-col>
              </td>
            </tr>
            <tr>
              <td>
                <a-col :span="24">
                  <a-form-model-item label='录入主体' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='createBy'>
                    <a-col :span="22">
                      <a-input v-if="!disabled && !isAudit" v-model='model.createBy' placeholder='请输入录入主体' disabled></a-input>
                      <span v-else  >{{ model.createBy }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td>
                <a-col :span="24">
                  <a-form-model-item label='宗地名称' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='dk'>
                    <a-col :span="22">
                      <a-input v-if="!disabled && !isAudit" v-model='model.dk' placeholder='请输入宗地名称'></a-input>
                      <span v-else  >{{ model.dk }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr>
              <td >
                <a-col :span="24">
                  <a-form-model-item label='权利类型' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='ssq'>
                    <a-col :span="22">
                      <j-dict-select-tag v-if="!disabled && !isAudit" type='list' v-model='model.ssqType' dictCode='ssq' placeholder='请选择权利类型'/>
                      <span v-else  >{{ model.ssqTypeName }}</span>
                    </a-col>
                    <a-col :span="2">
                      <a-icon class='info' type='question-circle-o' @click='info("ssqType")'></a-icon>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td>
                <a-col :span="24">
                  <a-form-model-item label="其他权利类型" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="otherSsq">
                    <a-col :span="22">
                      <a-input v-if="!disabled && !isAudit" v-model='model.ssqOtherName' :disabled="otherSsqType" placeholder='请输入其他权利类型'/>
                      <span v-else  >{{ model.ssqOtherName }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr>
              <td >
                <a-col :span="24">
                  <a-form-model-item label='土地归属企业' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='tdgsqy'>
                    <a-col :span="22">
                      <a-input v-if="!disabled && !isAudit" v-model='model.tdgsqyy' placeholder='请输入土地归属企业'></a-input>
                      <span v-else  >{{ model.tdgsqyy }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td>
                <a-col :span="24">
                  <a-form-model-item label='权属期限' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='qsqx'>
                    <a-col :span="22">
                      <j-dict-select-tag v-if="!disabled && !isAudit" type='list' v-model='model.qsqx' dictCode='qsqx' placeholder='请选择权属期限'/>
                      <span v-else  >{{ model.qsqx_dictText }}</span>
                    </a-col>
                    <a-col v-if="!disabled && !isAudit" :span="2">
                      <a-icon class='info' type='question-circle-o' @click='info("qsqx")'></a-icon>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr>
              <td>
                <a-col :span="24">
                  <a-form-model-item label='权属到期时间' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='qsdqsj'>
                    <a-col :span="22">
                      <j-date v-if="!disabled && !isAudit" placeholder='请选择权属到期时间' v-model='model.qsdqsj' style='width: 100%'
                              :disabled-date="dateDisabled"
                              :disabled='disableqsqx'/>
                      <span v-else  >{{ model.qsdqsj }}</span>
                    </a-col>
                    <a-col :span="2">
                      <a-icon class='info' type='question-circle-o' @click='info("qsdqsj")'></a-icon>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td>
                <a-col :span="24">
                  <a-form-model-item label='国家出资企业' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='gjczqy'>
                    <a-col :span="22">
                      <a-input v-if="!disabled && !isAudit" v-model='model.gjczqyName' placeholder='请输入国家出资企业'></a-input>
                      <span v-else  >{{ model.gjczqyName }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr>
              <td>
                <a-col :span="24">
                  <a-form-model-item label="土地坐落" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="xzqh">
                    <a-col :span="22">
                      <j-area-linkage v-if="!disabled && !isAudit" type="cascader" v-model="model.xzqh" placeholder="请输入土地坐落"/>
                      <span v-else  >{{ model.regProvince }}{{model.regCity}}{{model.regArea}}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td>
                <a-col :span="24">
                  <a-form-model-item label='详细地址' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='zlwz'>
                    <a-col :span="22">
                      <a-input v-if="!disabled && !isAudit" v-model='model.zlwz' placeholder='请输入详细地址'/>
                      <span v-else  >{{ model.zlwz }}</span>
                    </a-col>
                    <a-col v-if="!disabled && !isAudit" :span="2">
                      <a-icon class='info' type='question-circle-o' @click='info("zlwz")'></a-icon>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr>
              <td >
                <a-col :span="24">
                  <a-form-model-item label='产权证证持有情况' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='zscyqk'>
                    <a-col :span="22">
<!--                      <a-radio-group v-if="!disabled" v-model="model.zscyqk" >
                        <a-radio :value="1">有</a-radio>
                        <a-radio :value="0">无</a-radio>
                      </a-radio-group>-->
                      <j-dict-select-tag v-if="!disabled && !isAudit" type='list' v-model='model.zscyqk' dictCode='zscyqk' placeholder='请选择产权证证持有情况'/>
                      <span v-else >{{ model.zscyqk }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td >
                <a-col :span="24">
                  <a-form-model-item label='其他权证持有情况' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='otherZscyqk'>
                    <a-col :span="22">
                      <a-input v-if="!disabled && !isAudit" v-model='model.otherZscyqk' placeholder='请输入其他权证持有情况'/>
                      <span v-else >{{ model.otherZscyqk }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>

            <tr class="tableGroupTitle">
              <td colspan="2">
                <a-col :span="24">
                  <div style="text-align: center;font-size: larger;">土地权证信息</div>
                </a-col>
              </td>
            </tr>
            <tr>
              <td>
                <a-col :span="24">
                  <a-form-model-item label='文件类型' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='wjlx'>
                    <a-col :span="22">
                      <j-dict-select-tag v-if="!disabled && !isAudit" type='list' v-model='model.wjlx' dictCode='wjlx' placeholder='请选择文件类型'/>
                      <span v-else  >{{ model.wjlx }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td>
                <a-col :span="24">
                  <a-form-model-item label='产权证号' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='wjbh'>
                    <a-col :span="22">
                      <a-input v-if="!disabled && !isAudit" v-model='model.wjbh' v-decorator="['wjbh',validatorRules.wjbh]"
                               placeholder='请输入产权证号'></a-input>
                      <span v-else  >{{ model.wjbh }}</span>
                    </a-col>
                    <a-col :span="2">
                      <a-icon class='info' type='question-circle-o' @click='info("wjbh")'></a-icon>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr>
              <td >
                <a-col :span="24">
                  <a-form-model-item label='权证登记使用人名称' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='tdsyqr'>
                    <a-col :span="22">
                      <a-input v-if="!disabled && !isAudit" v-model='model.tdsyqr' placeholder='请输入权证登记使用人名称'></a-input>
                      <span v-else  >{{ model.tdsyqr }}</span>
                    </a-col>
                    <a-col :span="2">
                      <a-icon class='info' type='question-circle-o' @click='info("tdsyqr")'></a-icon>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td>
                <a-col :span="24">
                  <a-form-model-item label='土地获取时间' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='qsqssj'>
                    <a-col :span="22">
                      <j-date v-if="!disabled && !isAudit" placeholder='请选择土地获取时间' v-model='model.qsqssj' style='width: 100%'/>
                      <span v-else  >{{ model.qsqssj }}</span>
                    </a-col>
                    <a-col :span="2">
                      <a-icon class='info' type='question-circle-o' @click='info("qsqssj")'></a-icon>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr>
              <td>
                <a-col :span="24">
                  <a-form-model-item label='证载面积' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='qzpzsymj'>
                    <a-col :span="22">
                      <a-input-number v-if="!disabled && !isAudit" v-model='model.qzpzsymj' placeholder='请输入证载土地面积' style='width: 100%'/>
                      <span v-if='model.qzpzsymj==null || model.qzpzsymj==0'></span>
                      <span v-else  >{{ model.qzpzsymj }} M²</span>
                    </a-col>
                    <a-col :span="2">
                      <a-icon class='info' type='question-circle-o' @click='info("qzpzsymj")'></a-icon>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td>
                <a-col :span="24">
                  <a-form-model-item label='批准用途' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='pzyt'>
                    <a-col :span="22">
<!--                      <j-category-select v-if="!disabled" v-model="model.pzyt" pcode="A04" placeholder="请选择实际用途"/>-->
                      <j-dict-select-tag v-if="!disabled && !isAudit" type='list' v-model='model.pzytCode' dictCode='pzyt' placeholder='请选择批准用途'/>
                      <span v-else  >{{ model.pzyt }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr>
              <td>
                <a-col :span="24">
                  <a-form-model-item label='其他证载(批准)用途' :labelCol='labelCol' :wrapperCol='wrapperCol'>
                    <a-col :span="22">
                      <a-input v-if="!disabled && !isAudit" v-model="model.otherPzyt" placeholder="请输入其他证载(批准)用途"/>
                      <span v-else  >{{ model.otherPzyt }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td >
                <a-col :span="24">
                  <a-form-model-item label='政府规划用途' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='zfghyt'>
                    <a-col :span="22">
<!--                      <a-input v-if="!disabled" v-model='model.zfghyt' placeholder='请输入政府规划用途' style='width: 100%'/>-->
                      <j-dict-select-tag v-if="!disabled && !isAudit" type='list' v-model='model.zfghytCode' dictCode='pzyt' placeholder='请选择政府规划用途'/>
                      <span v-else  >{{ model.zfghyt }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr>
              <td >
                <a-col :span="24">
                  <a-form-model-item label='其他规划用途' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='zfghyt'>
                    <a-col :span="22">
                      <a-input v-if="!disabled && !isAudit" v-model='model.otherZfghyt' placeholder='请输入其他规划用途' style='width: 100%'/>
                      <span v-else  >{{ model.otherZfghyt }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>

            <tr class="tableGroupTitle">
              <td colspan="2">
                <a-col :span="24">
                  <div style="text-align: center;font-size: larger;">土地使用信息</div>
                </a-col>
              </td>
            </tr>
            <tr>
              <td>
                <a-col :span="24">
                  <a-form-model-item label="土地实际使用人" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="tdsjsyr">
                    <a-col :span="22">
                      <a-input v-if="!disabled && !isAudit" v-model="model.tdsjsyr" placeholder="请输入土地实际使用人"/>
                      <span v-else  >{{ model.tdsjsyr }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td>
                <a-col :span="24">
                  <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="sfyz">
                    <span slot="label" class="label-box">权证登记人使用名称是否与实际使用人一致</span>
                    <a-col :span="22">
                      <a-radio-group v-if="!disabled && !isAudit" :default-value="0" v-model="model.sfyzCode" >
                        <a-radio value="1">是</a-radio>
                        <a-radio value="0">否</a-radio>
                      </a-radio-group>
                      <span v-else  >{{ model.sfyz }}</span>
                      <!--                      <j-dict-select-tag type="list" v-model="model.sfyz" dictCode="sfgyz"-->
                      <!--                                         placeholder="请选择权证登记人使用名称是否与实际使用人一致"/>-->
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr>
              <td>
                <a-col :span="24">
                  <a-form-model-item label='使用权类型' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='syqsyfs'>
                    <a-col :span="22">
                      <j-dict-select-tag v-if="!disabled && !isAudit" type='list' v-model='model.syqsyfs' dictCode='syqsyfs' placeholder='请选择使用权类型'/>
                      <span v-else  >{{ model.syqsyfs }}</span>
                    </a-col>
                    <a-col :span="2">
                      <a-icon class='info' type='question-circle-o' @click='info("syqsyfs")'></a-icon>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td >
                <a-col :span="24">
                  <a-form-model-item label='其他使用权类型' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='zfghyt'>
                    <a-col :span="22">
                      <a-input v-if="!disabled && !isAudit" v-model='model.otherZfghyt' placeholder='请输入其他使用权类型' style='width: 100%'/>
                      <span v-else  >{{ model.otherZfghyt }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr>
              <td >
                <a-col :span="24">
                  <a-form-model-item label='实际用途' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='sjyt'>
                    <a-col :span="22">
                      <j-category-select v-if="!disabled && !isAudit" v-model="model.sjyt" pcode="A04" placeholder="请选择实际用途"/>
                      <span v-else  >{{ model.sjyt }}</span>
                    </a-col>
                    <a-col :span="2">
                      <a-icon class='info' type='question-circle-o' @click='info("sjyt")'></a-icon>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td >
                <a-col :span="24">
                  <a-form-model-item label='其他实际用途' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='zfghyt'>
                    <a-col :span="22">
                      <a-input v-if="!disabled && !isAudit" v-model='model.otherSjyt' placeholder='请输入其他实际用途' style='width: 100%'/>
                      <span v-else  >{{ model.otherSjyt }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr>
              <td >
                <a-col :span="24">
                  <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop='sjytsffh'>
                    <span slot="label" class="label-box">政府规划用途是否与实际用途一致</span>
                    <a-col :span="22">
                      <a-radio-group v-if="!disabled && !isAudit" v-model="model.zfghsfyzCode" >
                        <a-radio value="1">是</a-radio>
                        <a-radio value="0">否</a-radio>
                      </a-radio-group>
                      <span v-else  >{{ model.zfghsfyz }}</span>
                    </a-col>
                    <!--                    <a-col :span="2">
                                          <a-icon class='info' type='question-circle-o' @click='info("sjzytdmj")'></a-icon>
                                        </a-col>-->
                  </a-form-model-item>
                </a-col>
              </td>
              <td>
                <a-col :span="24">
                  <a-form-model-item :labelCol='labelCol' :wrapperCol='wrapperCol' prop='sjytsffh'>
                    <span slot="label" class="label-box">实际用途是否符合划拨用地目录</span>
                    <a-col :span="22">
                      <a-radio-group v-if="!disabled && !isAudit" v-model="model.sjytsffhCode" >
                        <a-radio value="1">是</a-radio>
                        <a-radio value="0">否</a-radio>
                      </a-radio-group>
                      <span v-else  >{{ model.sjytsffh }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr>
              <td >
                <a-col :span="24">
                  <a-form-model-item :labelCol='labelCol' :wrapperCol='wrapperCol' prop='cqbgbjtdje'>
                    <span slot="label" class="label-box">产权变更需补交的土地出让金数额（万元）</span>
                    <a-col :span="22">
                      <a-input-number v-if="!disabled && !isAudit" v-model='model.cqbgbjtdje' placeholder='请输入产权变更需补交的土地出让金数额（万元）'
                                      style='width: 100%'/>
                      <span v-else >{{ model.cqbgbjtdje }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td>
                <a-col :span="24">
                  <a-form-model-item label="是否需要缴纳土地使用税" :labelCol='labelCol' :wrapperCol='wrapperCol'
                                     prop='sfxyjntdsys'>
                    <a-col :span="22">
                      <a-radio-group v-if="!disabled && !isAudit" v-model="model.sfxyjntdsysCode">
                        <a-radio value="1">是</a-radio>
                        <a-radio value="0">否</a-radio>
                      </a-radio-group>
                      <span v-else >{{ model.sfxyjntdsys }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr>
              <td >
                <a-col :span="24">
                  <a-form-model-item label="土地使用税缴纳金额" :labelCol='labelCol' :wrapperCol='wrapperCol' prop='tdsysjnje'>

                    <a-col :span="22">
                      <a-input-number v-if="!disabled && !isAudit" v-model='model.tdsysjnje' placeholder='请输入土地使用税缴纳金额'
                                      style='width: 100%'/>
                      <span v-else  >{{ model.tdsysjnje }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td >
                <a-col :span="24">
                  <a-form-model-item label="是否共用宗地" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="sfgyz">
                    <a-col :span="22">
                      <j-dict-select-tag v-if="!disabled && !isAudit" type="list" v-model="model.sfgyz" dictCode="sfgyz" placeholder="请选择是否共用宗地"/>
                      <span v-else  >{{ model.sfgyz }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr>
              <td>
                <a-col :span="24">
                  <a-form-model-item label="总建筑面积(平方米)" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="zjzmj">
                    <a-col :span="22">
                      <a-input-number v-if="!disabled && !isAudit" v-model="model.zjzmj" placeholder="请输入总建筑面积" :disabled='zjzmjDisabled'
                                      style="width: 100%"/>
                      <span v-if='model.zjzmj==null || model.zjzmj==0'></span>
                      <span v-else  >{{ model.zjzmj }} M²</span>
                    </a-col>
                    <a-col :span="2">
                      <a-icon class='info' type='question-circle-o' @click='info("zjzmj")'></a-icon>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td >
                <a-col :span="24">
                  <a-form-model-item label='证载建筑面积(平方米)' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='qzpzsymj2'>
                    <a-col :span="22">
                      <a-input-number v-if="!disabled && !isAudit" v-model='model.qzpzsymj2' placeholder='请输入证载建筑面积' style='width: 100%'/>
                      <span v-if='model.qzpzsymj2==null || model.qzpzsymj2==0'></span>
                      <span v-else >{{ model.qzpzsymj2 }} M²</span>
                    </a-col>
                    <a-col :span="2">
                      <a-icon class='info' type='question-circle-o' @click='info("qzpzsymj2")'></a-icon>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr>
              <td>
                <a-col :span="24">
                  <a-form-model-item label='实际面积(平方米)' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='sjzytdmj'>
                    <a-col :span="22">
                      <a-input-number v-if="!disabled && !isAudit" v-model='model.sjzytdmj' placeholder='请输入实际占用土地面积' style='width: 100%'/>
                      <span v-if='model.sjzytdmj==null || model.sjzytdmj==0'></span>
                      <span v-else  >{{ model.sjzytdmj }} M²</span>
                    </a-col>
                    <a-col :span="2">
                      <a-icon class='info' type='question-circle-o' @click='info("sjzytdmj")'></a-icon>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td>
                <a-col :span="24">
                  <a-form-model-item label='实际建筑面积(平方米)' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='sjsyjzmj'>
                    <a-col :span="22">
                      <a-input-number v-if="!disabled && !isAudit" v-model='model.sjsyjzmj' placeholder='请输入实际建筑面积' style='width: 100%'/>
                      <span v-if='model.sjsyjzmj==null || model.sjsyjzmj==0'></span>
                      <span v-else  >{{ model.sjsyjzmj }} M²</span>
                    </a-col>
                    <a-col :span="2">
                      <a-icon class='info' type='question-circle-o' @click='info("sjsyjzmj")'></a-icon>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr>
              <td>
                <a-col :span="24">
                  <a-form-model-item label='容积率' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='sjrjl'>
                    <a-col :span="22">
                      <a-input-number v-if="!disabled && !isAudit" v-model='model.sjrjl' placeholder='请输入容积率' style='width: 100%'/>
                      <span v-else >{{ model.sjrjl }}</span>
                    </a-col>
                    <a-col :span="2">
                      <a-icon class='info' type='question-circle-o' @click='info("sjrjl")'></a-icon>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr class="tableGroupTitle">
              <td colspan="2">
                <a-col :span="24">
                  <div style="text-align: center;font-size: larger;">土地使用情况及盘活利用信息</div>
                </a-col>
              </td>
            </tr>
            <tr>
              <td>
                <a-col :span="24">
                  <a-form-model-item label='土地使用现状' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='tdsyxz'>
                    <a-col :span="22">
                      <j-dict-select-tag v-if="!disabled && !isAudit" type='list' v-model='model.tdsyxz' dictCode='tdsyxz' placeholder='请选择土地使用现状'/>
                      <span v-else  >{{ model.tdsyxz }}</span>
                    </a-col>
                    <a-col :span="2">
                      <a-icon class='info' type='question-circle-o' @click='info("tdsyxz")'></a-icon>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td>
                <a-col :span="24">
                  <a-form-model-item label='正常使用现状' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='zcsyzx'>
                    <a-col :span="22">
                      <j-dict-select-tag v-if="!disabled && !isAudit" type='list' v-model='model.zcsyxzCode' :disabled="normal" dictCode='zcsyzx' placeholder='请选择土地使用现状'/>
                      <span v-else  >{{ model.zcsyzx }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr>
              <td>
                <a-col :span="24">
                  <a-form-model-item :labelCol='labelCol' :wrapperCol='wrapperCol' prop='dbdycfqk'>
                    <span slot="label" class="label-box">土地资产的担保、抵押、查封情况</span>
                    <a-col :span="22">
                      <j-multi-select-tag v-if="!disabled && !isAudit" type='list_multi' v-model='model.dbdycfqk' dictCode='dbdycfqk'
                                          placeholder='请选择担保、抵押、查封情况'/>
                      <span v-else  >{{ model.dbdycfqk }}</span>
                    </a-col>
                    <a-col :span="2">
                      <a-icon class='info' type='question-circle-o' @click='info("dbdycfqk")'></a-icon>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td>
                <a-col :span="24">
                  <a-form-model-item label='待盘活现状' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='dphxz'>
                    <a-col :span="22">
                      <j-dict-select-tag v-if="!disabled && !isAudit" type='list' v-model='model.dphxzCode' :disabled="turning" dictCode='dphxz' placeholder='请选择待盘活现状'/>
                      <span v-else  >{{ model.dphxz }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr>
              <td >
                <a-col :span="24">
                  <a-form-model-item label='盘活计划' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='phjh'>
                    <a-col :span="22">
                      <a-input v-if="!disabled && !isAudit" v-model='model.phjh' :disabled="turningPlan" placeholder='请选择盘活计划' style='width: 100%'/>
                      <span v-else  >{{ model.phjh }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td>
                <a-col :span="24">
                  <a-form-model-item label='计划盘活时间' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='phsj'>
                    <a-col :span="22">
                      <j-date v-if="!disabled && !isAudit" placeholder='请选择计划盘活时间' :disabled="turningPlan" v-model='model.phsj' style='width: 100%'/>
<!--                      <j-date v-if="!disabled" placeholder='请选择计划盘活时间' v-model='model.phsj' style='width: 100%'/>-->
                      <span v-else  >{{ model.phsj }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr>
              <td >
                <a-col :span="24">
                  <a-form-model-item label="是否有盘活意愿" :labelCol='labelCol' :wrapperCol='wrapperCol' prop='sfyphyy'>
                    <a-col :span="22">
                      <a-radio-group v-if="!disabled && !isAudit" v-model="model.sfyphyy">
                        <a-radio :value="1">是</a-radio>
                        <a-radio :value="0">否</a-radio>
                      </a-radio-group>
                      <span v-else  >{{ model.sfyphyy }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td>
                <a-col :span="24">
                  <a-form-model-item label='盘活利用途径' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='phlytj'>
                    <a-col :span="22">
                      <j-dict-select-tag v-if="!disabled && !isAudit" type='list' v-model='model.phlytj' dictCode='phlytj' :disabled="turningPlan" placeholder='请选择盘活利用途径'/>
                      <span v-else  >{{ model.phlytj }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr>
              <td >
                <a-col :span="24">
                  <a-form-model-item label='其他盘活利用途径' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='zfghyt'>
                    <a-col :span="22">
                      <a-input v-if="!disabled && !isAudit" v-model='model.otherPhlytj' placeholder='请输入其他盘活利用途径' style='width: 100%'/>
                      <span v-else  >{{ model.otherPhlytj }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td>
                <a-col :span="24">
                  <a-form-model-item label="意向盘活方式" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="yxphfs">
                    <a-col :span="22">
                      <j-dict-select-tag v-if="!disabled && !isAudit" type="list" v-model="model.yxphfs" :disabled='uploadDisabled' dictCode="yxphfs"
                                         placeholder="请选择意向盘活方式"/>
                      <span v-else  >{{ model.yxphfs }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr>
              <td>
                <a-col :span="24">
                  <a-form-model-item label="意向盘活主体" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="yxphzt">
                    <a-col :span="22">
                      <j-dict-select-tag v-if="!disabled && !isAudit" type="list" v-model="model.yxphzt" :disabled='uploadDisabled' dictCode="yxphzt"
                                         placeholder="请选择意向盘活主体"/>
                      <span v-else >{{ model.yxphzt }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td>
                <a-col :span="24">
                  <a-form-model-item :labelCol='labelCol' :wrapperCol='wrapperCol' prop='dsjzwsfyz'>
                    <span slot="label" class="label-box">地上建筑物产权人是否与权证登记人使用人名称是否一致</span>
                    <a-col :span="22">
                      <a-radio-group v-if="!disabled && !isAudit" v-model="model.dsjzwsfyzCode">
                        <a-radio value="1">是</a-radio>
                        <a-radio value="0">否</a-radio>
                      </a-radio-group>
                      <span v-else  >{{ model.dsjzwsfyz }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr>
              <td >
                <a-col :span="24">
                  <a-form-model-item label='地上建筑物产权人' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='dsjzwcqr'>

                    <a-col :span="22">
                      <a-input v-if="!disabled && !isAudit" v-model='model.dsjzwcqr' placeholder='请选择地上建筑物产权人' style='width: 100%'/>
                      <span v-else  >{{ model.dsjzwcqr }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td >
                <a-col :span="24">
                  <a-form-model-item label='地上建筑物用途' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='dsjzwyt'>
                    <a-col :span="22">
                      <a-input v-if="!disabled && !isAudit" v-model='model.dsjzwyt' placeholder='请输入地上建筑物用途' style='width: 100%'/>
                      <span v-else  >{{ model.dsjzwyt }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr>
              <td>
                <a-col :span="24">
                  <a-form-model-item label="闲置低效用地照片" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="xczp">
                    <a-col :span="22">
                      <j-image-upload isMultiple v-model="model.xczp" :disabled='disabled || isAudit'></j-image-upload>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td>
                <a-col :span="24">
                  <a-form-model-item label="地理区位情况" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="dlwzName">
                    <a-col :span="22">
                      <j-dict-select-tag v-if="!disabled && !isAudit" type="list" v-model="model.dlwzCode" dictCode="dlwz"
                                         placeholder="请选择地理区位情况"/>
                      <span v-else  >{{ model.dlwzName }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr>
              <td>
                <a-col :span="24">
                  <a-form-model-item label="填报人" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="shren">
                    <a-col :span="22">
                      <a-input v-if="!disabled && !isAudit" type="list" v-model="model.tbr"  placeholder="填报人" />
                      <span v-else  >{{ model.tbr }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td>
                <a-col :span="24">
                  <a-form-model-item label="联系电话" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="shren">
                    <a-col :span="22">
                      <a-input v-if="!disabled && !isAudit" type="list" v-model="model.lxdh"  placeholder="联系电话" />
                      <span v-else  >{{ model.lxdh }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr>
              <td >
                <a-col :span="24">
                  <a-form-model-item label='是否存在产权纠纷' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='sfczjf'>
                    <a-col :span="22">
                      <a-radio-group v-if="!disabled && !isAudit" v-model="model.sfczjfCode">
                        <a-radio value="1">是</a-radio>
                        <a-radio value="0">否</a-radio>
                      </a-radio-group>
                      <span v-else  >{{ model.sfczjf }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td >
                <a-col :span="24">
                  <a-form-model-item label='产权信息补充说明' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='cqxxbcsm'>
                    <a-col :span="22">
                      <a-textarea v-if="!disabled && !isAudit" v-model='model.cqxxbcsm' rows='4' placeholder='请输入产权信息补充说明' />
                      <span v-else  >{{ model.cqxxbcsm }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr class="tableGroupTitle">
              <td colspan="2">
                <a-col :span="24">
                  <div style="text-align: center;font-size: larger;">土地价值信息</div>
                </a-col>
              </td>
            </tr>
            <tr>
              <td >
                <a-col :span="24">
                  <a-form-model-item label="土地账面原值（万元）" :labelCol='labelCol' :wrapperCol='wrapperCol' prop='tdzmyz'>

                    <a-col :span="22">
                      <a-input-number v-if="!disabled && !isAudit" v-model='model.tdzmyz' placeholder='请输入土地账面原值（万元）'
                                      style='width: 100%'/>
                      <span v-else  >{{ model.tdzmyz }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td>
                <a-col :span="24">
                  <a-form-model-item label="土地账面净值（万元）" :labelCol='labelCol' :wrapperCol='wrapperCol' prop='tdzmjz'>

                    <a-col :span="22">
                      <a-input-number v-if="!disabled && !isAudit" v-model='model.tdzmjz' placeholder='请输入土地账面净值（万元）'
                                      style='width: 100%'/>
                      <span v-else  >{{ model.tdzmjz }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr>
              <td>
                <a-col :span="24">
                  <a-form-model-item label="土地市场价值（万元）" :labelCol='labelCol' :wrapperCol='wrapperCol' prop='tdscjz'>

                    <a-col :span="22">
                      <a-input-number v-if="!disabled && !isAudit" v-model='model.tdscjz' placeholder='请输入土地市场价值（万元）'
                                      style='width: 100%'/>
                      <span v-else >{{ model.tdscjz }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td >
                <a-col :span="24">
                  <a-form-model-item label="土地租赁价值（万元）" :labelCol='labelCol' :wrapperCol='wrapperCol' prop='tdzljz'>

                    <a-col :span="22">
                      <a-input-number v-if="!disabled && !isAudit" v-model='model.tdzljz' placeholder='请输入土地租赁价值（万元）'
                                      style='width: 100%'/>
                      <span v-else  >{{ model.tdzljz }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr class="tableGroupTitle">
              <td colspan="2">
                <a-col :span="24">
                  <div style="text-align: center;font-size: larger;">经营信息</div>
                </a-col>
              </td>
            </tr>
            <tr>
              <td>
                <a-col :span="24">
                  <a-form-model-item label="主营业务收入（万元）" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="yysr">
                    <a-col :span="22">
                      <a-input v-if="!disabled && !isAudit" v-model="model.yysr" placeholder="请输入主营业务收入"/>
                      <span v-else  >{{ model.yysr }}</span>
                    </a-col>
                    <a-col :span="2">
                      <a-icon class='info' type='question-circle-o' @click='info("yysr")'></a-icon>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td>
                <a-col :span="24">
                  <a-form-model-item label="企业所得税（万元）" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="nss">
                    <a-col :span="22">
                      <a-input v-if="!disabled && !isAudit" v-model="model.nss" placeholder="请输入企业所得税"/>
                      <span v-else  >{{ model.nss }}</span>
                    </a-col>
                    <a-col :span="2">
                      <a-icon class='info' type='question-circle-o' @click='info("nss")'></a-icon>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr>
              <td>
                <a-col :span="24">
                  <a-form-model-item label="就业人数" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="jyrs">
                    <a-col :span="22">
                      <a-input v-if="!disabled && !isAudit" v-model="model.jyrs" placeholder="请输入就业人数"/>
                      <span v-else  >{{ model.jyrs }}</span>
                    </a-col>
                    <a-col :span="2">
                      <a-icon class='info' type='question-circle-o' @click='info("jyrs")'></a-icon>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td>
                <a-col :span="24">
                  <a-form-model-item label="净利润（万元）" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="jyrs">
                    <a-col :span="22">
                      <a-input v-if="!disabled && !isAudit" v-model="model.lirun" placeholder="请输入净利润"/>
                      <span v-else  >{{ model.jyrs }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr>
              <td>
                <a-col :span="24">
                  <a-form-model-item label="营业税及附加（万元）" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="yys">
                    <a-col :span="22">
                      <a-input v-if="!disabled && !isAudit" v-model="model.yys" placeholder="请输入营业税及附加"/>
                      <span v-else  >{{ model.yys }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td>
                <a-col :span="24">
                  <a-form-model-item label='备注' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='bz'>
                    <a-col :span="22">
                      <a-textarea v-if="!disabled && !isAudit" v-model='model.bz' rows='4' placeholder='请输入备注'/>
                      <span v-else  >{{ model.bz }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr class="tableGroupTitle">
              <td colspan="2">
                <a-col :span="24">
                  <div style="text-align: center;font-size: larger;">附件信息</div>
                </a-col>
              </td>
            </tr>
            <tr>
              <td>
                <a-col :span="24">
                  <a-form-model-item label="土地资产权属证明材料" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="tdzcqszmcl">
                    <a-col :span="22">
                      <j-upload v-model='model.tdzcqszmcl' :disabled='disabled || isAudit'></j-upload>
                    </a-col>
                    <a-col :span="2">
                      <a-icon class='info' type='question-circle-o' @click='info("tdzcqszmcl")'></a-icon>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td>
                <a-col :span="24">
                  <a-form-model-item label="坐标位置相关证明材料" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="zbwzxgzmcl">
                    <a-col :span="22">
                      <j-upload v-model='model.zbwzxgzmcl' :disabled='formDisabled || isAudit'></j-upload>
                    </a-col>
                    <a-col :span="2">
                      <a-icon class='info' type='question-circle-o' @click='info("zbwzxgzmcl")'></a-icon>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr>
              <td>
                <a-col :span="24">
                  <a-form-model-item label='其他资料' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='xgwj'>
                    <a-col :span="22">
                      <j-upload v-model='model.xgwj' :disabled='formDisabled || isAudit'></j-upload>
                    </a-col>
                    <a-col :span="2">
                      <a-icon class='info' type='question-circle-o' @click='info("xgwj")'></a-icon>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td>
                <a-col :span="24">
                  <a-form-model-item label="房屋资产权属证明材料" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="fwzcqszmcl">
                    <a-col :span="22">
                      <j-upload v-model='model.fwzcqszmcl' :disabled='formDisabled || isAudit'></j-upload>
                    </a-col>
                    <a-col :span="2">
                      <a-icon class='info' type='question-circle-o' @click='info("fwzcqszmcl")'></a-icon>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>

<!--            <tr>
              <td>
                <a-col :span="24">
                  <a-form-model-item label='土地面积单位' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='sjzytdmjdw'>
                    <a-col :span="22">
                      <j-dict-select-tag v-if="!disabled" type='list' v-model='model.sjzytdmjdw' dictCode='dw' placeholder='请选择土地面积单位'/>
                      <span v-else  >{{ model.sjzytdmjdw }}</span>
                    </a-col>
                    <a-col :span="2">
                      <a-icon class='info' type='question-circle-o' @click='info("sjzytdmjdw")'></a-icon>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr>
              <td>
                <a-col :span="24">
                  <a-form-model-item label='建筑面积单位' :labelCol='labelCol' :wrapperCol='wrapperCol' prop='sjsyjzmjdw'>
                    <a-col :span="22">
                      <j-dict-select-tag v-if="!disabled" type='list' disabled v-model='model.sjsyjzmjdw' dictCode='dw'
                                         placeholder='请选择建筑面积单位'/>
                      <span v-else >{{ model.sjsyjzmjdw }}</span>
                    </a-col>
                    <a-col :span="2">
                      <a-icon class='info' type='question-circle-o' @click='info("sjsyjzmjdw")'></a-icon>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>-->


            <tr class="tableGroupTitle" v-if="this.model.sfsb>0">
              <td colspan="2">
                <a-col :span="24">
                  <div style="text-align: center;font-size: larger;">审核结果</div>
                </a-col>
              </td>
            </tr>
            <tr v-if="this.model.sfsb>0">
              <td>
                <a-col :span="24">
                  <a-form-model-item label="审核是否通过" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="shzt">
                    <a-col :span="22">
                      <j-dict-select-tag v-if="!disabled" type="list" v-model="model.shzt" dictCode="shzt" placeholder="请选择审核是否通过" />
                      <span v-else  >{{ model.shzt }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td>
                <a-col :span="24">
                  <a-form-model-item label="审核意见" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="shyj">
                    <a-col :span="22">
                      <a-textarea v-if="!disabled" v-model="model.shyj" rows="4" placeholder="请输入审核意见" />
                      <span v-else  >{{ model.shyj }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>
            <tr v-if="this.model.sfsb>0">
              <td>
                <a-col :span="24">
                  <a-form-model-item label="审核人" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="shren">
                    <a-col :span="22">
                      <a-input v-if="!disabled" type="list" v-model="model.shren"  placeholder="审核人" disabled/>
                      <span v-else  >{{ model.shren }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
              <td>
                <a-col :span="24">
                  <!--    <a-form-model-item label="审核人" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="shr">
                        <a-input v-model="model.shr" placeholder="请输入审核人"  ></a-input>
                      </a-form-model-item>-->
                  <a-form-model-item label="审核日期" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="shrq">
                    <a-col :span="22">
                      <j-date v-if="!disabled" placeholder="请选择审核日期" v-model="model.shrq" style="width: 100%" />
                      <span v-else  >{{ model.shrq }}</span>
                    </a-col>
                  </a-form-model-item>
                </a-col>
              </td>
            </tr>

          </table>

        </a-row>
      </a-form-model>
    </j-form-container>
  </a-spin>
</template>

<script>

import { httpAction, getAction } from '@/api/manage'
import { validateDuplicateValue } from '@/utils/util'
import moment from 'moment'
import store from '@/store'
let _this = this;
export default {
  name: 'QcSsgqzysytdqkDetail',
  components: {},
  props: {
    //标题
    title: {
      type: String,
      default: '占有使用土地情况调查统计表',
      required: true
    },
    //表单禁用
    disabled: {
      type: Boolean,
      default: false,
      required: false
    },
    //表单禁用
    isAudit: {
      type: Boolean,
      default: false,
      required: false
    }
  },
  data() {
    return {
      disableqsqx: false,
      model: {
        // qsqx:''
          sjsyjzmjdw: '平方米'
      },
      labelCol: {
        xs: { span: 24 },
        sm: { span: 10 }
      },
      wrapperCol: {
        xs: { span: 24 },
        sm: { span: 9 }
      },
      confirmLoading: false,
      validatorRules: {
        sjzytdmjdw: [
          { required: true && !this.isAudit, message: '请选择占用土地单位!' }
        ],
        sjsyjzmjdw: [
          { required: true && !this.isAudit, message: '请选择建筑面积单位!' }
        ],
        dk: [
          { required: true && !this.isAudit, message: '请输入地块!' }
        ],
        otherSsq: [{
          validator: this.validatetherSsq,
        }],
        wjlx: [
          { required: true && !this.isAudit, message: '请输入文件类型!' }
        ],
        wjbh: [
          { required: true && !this.isAudit, message: '请输入证书/合同/文件编号!' }
        ],
        tdsyqr: [
          { required: true && !this.isAudit, message: '请输入土地使用权人!' }
        ],
        sjzytdmj: [
          { required: true && !this.isAudit, message: '请输入实际占用土地面积!' },
          { pattern: /^-?\d+\.?\d*$/, message: '请输入数字!' }
        ],
        qzpzsymj: [
          { required: true && !this.isAudit, message: '请输入其中批准使用面积!' },
          { pattern: /^-?\d+\.?\d*$/, message: '请输入数字!' }
        ],
        sjsyjzmj: [
          { required: true && !this.isAudit, message: '请输入实际使用建筑面积!' },
          { pattern: /^-?\d+\.?\d*$/, message: '请输入数字!' }
        ],
        qzpzsymj2: [
          { required: true && !this.isAudit, message: '请输入证载建筑面积!' },
          { pattern: /^-?\d+\.?\d*$/, message: '请输入数字!' }
        ],
        sjrjl: [
          { required: true && !this.isAudit, message: '请输入容积率!' },
           /* { pattern: /^([0-9]{1}$)|(^[0-9]{1}[\.]{1,2}[0-9]{1,2}$)/, message: '请输入0-10之间的数字,最多2位小数!' }*/
          //{ pattern: /^-?\d+\.?\d*$/, message: '请输入数字!' }
        ],
        syqsyfs: [
          { required: true && !this.isAudit, message: '请输入使用权使用方式!' }
        ],
        zlwz: [
          { required: true && !this.isAudit, message: '请输入坐落位置!' }
        ],
        sjyt: [
          { required: true && !this.isAudit, message: '请输入实际用途!' }
        ],
        qsqssj: [
          { required: true && !this.isAudit, message: '请输入权属起始时间!' }
        ],
        xzqh:[
          {
            required: true && !this.isAudit, message: '请输入行政区划!'
          }
        ],
        qsdqsj: [
          { required: false, message: '请输入权属到期时间!' }
        ],
        tdsyxz: [
          { required: true && !this.isAudit, message: '请输入土地使用现状!' }
        ],
        dbdycfqk: [
          { required: true && !this.isAudit, message: '请输入担保、抵押、查封情况!' }
        ],
        xgwj: [
          { required: false, message: '请输入附件材料!' }
        ],
          yxphfs: [
              { required: false, message: '请输入意向盘活方式!'},
              { validator: this.validatexczp, }
          ],
          yxphzt: [
              { required: false, message: '请输入意向盘活主体!'},
          ],
/*          tyshxydmzs: [
              { required: true, message: '请输入统一社会信用代码证书!'},
          ],*/
          tdzcqszmcl: [
              { required: true && !this.isAudit, message: '请输入土地资产权属证明材料!'},
          ],
          fwzcqszmcl: [{
              validator: this.validatefwzmcl,
          }
          ],
          zbwzxgzmcl: [
              { required: true && !this.isAudit, message: '请输入坐标位置相关证明材料!'},
          ],
          fwzmcl:[{
              validator: this.validatefwzmcl,
          }],
        xczp: [{
          validator: this.validatexczp,
        }],
      },
      url: {
        add: '/qcsb/qcSsgqzysytdqk/add',
        edit: '/qcsb/qcSsgqzysytdqk/edit',
        queryById: '/qcsb/qcSsgqzysytdqk/queryById'
      },
      disabledDate:'',
      formInfo: {
        qymc: '以《企业法人营业执照》上的用地单位名称为准。',
        tyshxybm: '填写长度为18 位的用于用地单位身份识别的代码。',
        qylx: '分国有全资公司、国有控股公司。',
        gyzccgbl: '国有投入资本占公司总资本的比例。',
        dk: '',
        wjlx: '',
        ssqType: '根据实际权利类型进行选择。选择“其他”时，必须填写具体的权利类型',
        sjsyjzmjdw: '根据不动产登记证书、房屋所有权证书及相关权属证明材料的面积单位填写。',
        sjzytdmjdw: '根据不动产登记证书、国有土地使用权证、土地出让合同、划拨决定书及相关权属证明材料的面积单位填写。',
        wjbh: '根据不动产登记证书、国有土地使用权证、土地出让合同、划拨决定书及相关权属证明等材料记录如实填写。',
        tdsyqr: '指不动产权证（或土地使用权证）上记载的土地使用权人；若己获供地批准但未取得土地证的，以《建设用地批准书》中用地单位名称为准；其他无不动产权证（或土地使用权证）的情况，则填《企业法人营业执照》上的用地单位名称。',
        sjzytdmj: '根据实际占用的土地面积据实填写，租用、借用土地不在填报范围。',
        qzpzsymj: '批准使用面积：根据不动产登记证书、国有土地使用权证、土地出让合同、划拨决定书及相关权属证明材料的面积填写。',
        sjsyjzmj: '根据实际使用的建筑面积据实填写，租用、借用建筑面积不在填报范围。',
        qzpzsymj2: '批准使用面积：根据不动产登记证书、房屋所有权证书及相关权属证明材料的面积填写，如无建筑物的可填“0”。',
          zjzmj: '总建筑面积于物业或开发商处获取。',
        sjrjl: '根据相关证书、合同、文件等填写；无相关证书、合同、文件的可根据“容积率=建筑面积/用地面积”进行估算，如无地上建筑物的可填“0”。',
        syqsyfs: '土地使用权人或用地企业取得该地块的方式，分出让、划拨、作价出资、转让四种方式，不包含出租出借情况。',
        zlwz: '根据不动产登记证书、国有土地使用权证、土地出让合同、划拨决定书及相关权属证明等材料记录填写；如无相关权属证明材料的需填制地块坐落详细位置，需具体到乡镇、村、门牌号（示例：山东省XX市XX区（县）XX街道（镇）XX路（村）XX号）。',
        pzyt: '地类（用途）：分国有建设用地、国有农用地、国有未利用地。国有建设用地需填到一级地类，具体为商服用地、工矿仓储用地、住宅用地、公共管理与公共服务用地、特殊用地、交通运输用地、水域及水利设施用地、其他土地。',
        sjyt: '根据不动产登记证书、国有土地使用权证、土地出让合同、划拨决定书及相关权属证明等材料记录填写，如无相关权属证明材料的据实填写。',
        qsqssj: '合法用地的，按供地批准时间填写（以《建设用地批准书》批准时间为准）；属于历史遗留问题的，以认定或到期用地行为时间填写（按相应证明文件，如处罚决定书填写），划拨用地到期时间可填“长期”。',
        qsdqsj: '合法用地的，按供地批准时间填写（以《建设用地批准书》批准时间为准）；属于历史遗留问题的，以认定或到期用地行为时间填写（按相应证明文件，如处罚决定书填写），划拨用地到期时间可填“长期”。',
        tdsyxz: '根据企业当前占有使用土地状态据实填写，具体分为正常使用、闲置低效等类型。\n' +
          '1.闲置土地：\n' +
          '（1）土地使用者依法取得土地使用权后，未经市人民政府或土地行政主管部门同意，超过动工开发日期起满一年未动工开发的。\n' +
          '（2）超过动工开发日期满2年未完成项目投资总额百分之二十五的。\n' +
          '（3）已动工建设，但开发建设面积占应动工开发建设面积不足三分之一或者已投资额占总投资额不足百分二十五，且未经建设主管部门同意，中止开发建设满一年的土地。\n' +
          '（4）以出让方式取得国有建设用地使用权，超过出让合同约定竣工日期一年未竣工的。\n' +
          '2.低效用地：建设用地中的布局散乱、利用粗放、用途不合理、建筑危旧的城镇存量建设用地，权属清晰、不存在争议。\n' +
          '（1）产业转型升级类：国家产业政策规定的禁止类、淘汰类产业用地；不符合安全生产和环保要求的用地；“退二进三”产业用地。 \n' +
          '（2）城镇更新改造类：布局散乱、设施落后，规划确定改造的 老城区、城中村、棚户区、老工业区等。 \n' +
          '（3）用地效益提升类：投资强度、容积率、地均产出强度等控 制指标明显低于地方行业平均水平的产业用地；参照“亩产效益” 评价改革确定的“限制发展类”企业名单认定的产业用地。 \n',
        czmj: '根据企业对外出租（出借）面积情况据实填写。',
        cjmj: '根据企业对外出租（出借）面积情况据实填写。',
        cjksrq: '根据企业对外出租（出借）面积情况据实填写。',
        cjjsrq: '根据企业对外出租（出借）面积情况据实填写。',
        dbdycfqk: '根据土地是否存在担保、抵押、查封等情况，据实填写。若不存在填否。',
        bz: '',
        xgwj: '无相关证件的上传划拨决定书、出让合同。',
        tyshxydmzs:'上传统一社会信用代码证书。',
        tdzcqszmcl:'请上传土地使用权证书、不动产权证书、划拨决定书、批复文件等',
        fwzcqszmcl:'请上传房屋所有权证书、不动产权证书、规划许可证书、竣工许可证书、批复文件等',
        zbwzxgzmcl:'请上传宗地图、红线、勘测定界图、矢量数据等',
        yysr:'每年6月份填写上一年度单体报表数据(首次填写需填报2020年、2021年、2022年数据)',
        nss:'每年6月份填写上一年度单体报表数据(首次填写需填报2020年、2021年、2022年数据)',
        jyrs:'每年6月份填写上一年度决算中在职职工人数数据',
      }
    }
  },
  watch: {
    'model.qsqx'(newData, oldData) {
      if (newData === '长期') {
        this.disableqsqx = true
        this.model.qsdqsj = '9999-12-31'
      }else if(newData === ''||newData==null) {
          this.disableqsqx = false
          if(this.model.qsdqsj!=''){

          }else{
              this.model.qsdqsj = moment().format("YYYY-MM-DD");
          }

      } else {
        this.disableqsqx = true;
        let day=parseInt(this.model.qsqssj.slice(8))-1;
        let month=parseInt(this.model.qsqssj.slice(5,7));
        let year=parseInt(this.model.qsqssj.slice(0,4))+parseInt(newData);
        this.model.qsdqsj = year+'-'+month+'-'+day;
        console.log(this.model.qsdqsj);

      }
    }
  },
  computed: {
    formDisabled() {
      return this.disabled
    },
    uploadDisabled() {
      if (this.model.tdsyxz==="闲置低效土地") {
        return false;
      } else {
        return true
      }
    },
    otherSsqType() { // 正常使用相关控制
      if (this.model.ssqType === '0') {
        return false;
      } else {
        return true
      }
    },
    normal() { // 正常使用相关控制
      if (this.model.tdsyxz==="正常使用") {
        return false;
      } else {
        return true
      }
    },
    turning() { // 待盘活字段相关控制
      if (this.model.tdsyxz==="待盘活") {
        return false;
      } else {
        return true
      }
    },
    turningPlan() { //
      if (this.model.dphxzCode==="1") {
        return false;
      } else {
        return true
      }
    },
      zjzmjDisabled(){
          if (this.model.sfgyz==="是") {
              return false;
          } else {
              return true
          }
      }
  },
  created() {
    //备份model原始值
    this.modelDefault = JSON.parse(JSON.stringify(this.model))
  },
  methods: {
    add() {
      this.edit(this.modelDefault)
    },
    edit(record) {
      this.model = Object.assign({}, record)
      this.visible = true
    },
    submitForm() {
      debugger
      const that = this
      // 触发表单验证
      this.$refs.form.validate(valid => {
        if (valid) {
          let startTime = moment(this.model.qsqssj);
          let endTime = moment(this.model.qsdqsj);
          if(endTime.valueOf()<startTime.valueOf()){
            this.$message.error('请检查权属到期时间是否正确！');
            return
          }
          that.confirmLoading = true
          let httpurl = ''
          let method = ''
          if (!this.model.id) {
            httpurl += this.url.add
            method = 'post'
          } else {
            httpurl += this.url.edit
            method = 'put'
          }
          httpAction(httpurl, this.model, method).then((res) => {
            if (res.success) {
              that.$message.success(res.message)
              that.$emit('ok')
            } else {
              that.$message.warning(res.message)
            }
          }).finally(() => {
            that.confirmLoading = false
          })
        }

      })
    },
    /**
     *点击提示
     */
    info(name) {
      if (name === 'tdsyxz') {
        this.$info({
          title: '说明',
          width: 500,
          content: (<div><h2>根据企业当前占有使用土地状态据实填写，具体分为正常使用、闲置、低效等类型。</h2><h3>1.闲置土地：</h3>
            <p>（1）土地使用者依法取得土地使用权后，未经市人民政府或土地行政主管部门同意，超过动工开发日期起满一年未动工开发的；</p><p>（2）超过动工开发日期满2年未完成项目投资总额百分之二十五的；</p>
            <p>（3）已动工建设，但开发建设面积占应动工开发建设面积不足三分之一或者已投资额占总投资额不足百分二十五，且未经建设主管部门同意，中止开发建设满一年的土地。</p>
            <p>（4）以出让方式取得国有建设用地使用权，超过出让合同约定竣工日期一年未竣工的。</p><p>（5）法律、法规规定的其他情形。</p>
            <h3>2.低效用地：建设用地中的布局散乱、利用粗放、用途不合理、建筑危旧的城镇存量建设用地，权属清晰、不存在争议。</h3><p>（1）产业转型升级类：国家产业政策规定的禁止类、淘汰类产
              业用地；不符合安全生产和环保要求的用地；“退二进三”产业用地。</p><p>（2）城镇更新改造类：布局散乱、设施落后，规划确定改造的 老城区、城中村、棚户区、老工业区等。 </p>
            <p>（3）用地效益提升类：投资强度、容积率、地均产出强度等控 制指标明显低于地方行业平均水平的产业用地；参照“亩产效益” 评价改革确定的“限制发展类”企业名单认定的产业用地。</p>
            <h3>3.其他：请在备注中文字描述。</h3></div>),
          onOk() {
          }
        })
      } else {
        this.$info({
          title: '说明',
          content: (<div><p>{this.formInfo[name]}</p></div>),
          onOk() {
          }
        })
      }

    },
    dateDisabled(val) { // 这里val指日期选择组件可接受的禁用日期 默认传入的是当前日期 并不是日期选择期现在选中的日期
      const startTime = moment(this.model.qsqssj)
      return val.valueOf() < startTime.valueOf() // 禁用这之外的日期
    },
    validatexczp(rule, value, callback) {
      debugger
      if (this.model.tdsyxz==="闲置,低效土地"&&!value) {
        this.$message.warn('闲置,低效土地需上传现场图片')
        callback(new Error('闲置,低效土地请上传图片'));
      }else {
        callback()
      }
    },
    validatefwzmcl(rule, value, callback) {
      debugger
      if(this.model.sjsyjzmj>0 && !value){
        this.$message.warn('请上传房屋资产权属证明材料！')
        callback(new Error('请上传房屋资产权属证明材料！'));

      }else {
        callback()
      }
    },
    validatetherSsq(rule, value, callback) {
      console.log("validatetherSsq")
      if(this.model.ssqType == '0' && !value){
        _his.$message.warn('请填写具体的权利类型！')
        callback(new Error('请填写具体的权利类型！'));

      }else {
        callback()
      }
    },

  }
}
</script>
<style lang='less' scoped>

//详情页面分类标题样式
.tableGroupTitle{
  background-color: #abdbf3;
  font-weight:bold;
  font-size: 13px;
}


table {
  border: 1px solid #ababab;
  border-spacing: 0;
  width: 85%;
  height: 85%;
  margin: auto;
}

.example {
  width: 100px;
}

table tr, table th {
  border-bottom: 1px solid #ababab;
}

table td, table th {
  border-right: 1px solid #ababab;
  border-bottom: 1px solid #ababab;
  padding: 5px;
  text-align: center;
}

table tr td:last-child {
  border-right: 0
}

table tr:last-child td {
  border-bottom: 0
}

th {
  height: 60px;
  position: relative;
}

td {
  height: 50px;
  width: 50%;
  position: relative;
}

th > div {
  display: flex;
  align-items: center;
}

.info {
  /*position: absolute;
  right: -10%;
  top: 40%;*/
  color: red;
  margin-left: 5px;
}

.ant-input-number {
  width: 100%;
}
</style>
<style lang='less'>
table .ant-form-item-children {
  display: flex;
  align-items: center;
}

table .ant-form-item-label {
  display: flex;
  justify-content: flex-end;
  line-height: 16px; //这个数值视具体情况而定
  flex: 0 0 40%;
  max-width: 33.33333333%;

  label { //这是关键
    text-align: right;
    //color: #8a8a8a;
    padding-right: 2px;
    font-size: 14px;
    white-space: normal;
    display: inline-block;
    line-height: 32px;

    &:after {
      //content: none !important;      //解决上面的样式label后面会有空格
    }
  }
}


table .ant-form-item {
  margin-bottom: 0;
  display: flex;
  align-items: center;
}

table .ant-form-item-control-wrapper {
  flex: 1 1 0;
  max-width: 66.66666667%;
}
</style>