Blame view

src/views/workflow/main/swxx/index.vue 10.7 KB
1 2 3 4 5 6 7 8
<template>
  <div class="slxx swxx">
    <el-form
      :model="ruleForm"
      ref="ruleForm"
      v-Loading="loading"
      :label-position="flag ? 'top' : ''"
      :inline="flag"
renchao@pashanhoo.com committed
9
      label-width="120px">
10 11
      <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''">
        <div class="slxx_title title-block">
12
          申请信息
13 14 15 16
          <div class="triangle"></div>
        </div>
        <el-row :gutter="10">
          <el-col :span="8">
17 18
            <el-form-item label="业务号:">
              <el-input disabled v-model="ruleForm.flow.ywh"></el-input>
19 20 21
            </el-form-item>
          </el-col>
          <el-col :span="8">
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
            <el-form-item label="受理人员:">
              <el-input disabled v-model="ruleForm.slsq.slry"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item label="受理时间:">
              <el-input disabled v-model="ruleForm.slsq.slsj"></el-input>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row :gutter="10">
          <el-col :span="8">
            <el-form-item label="权利类型:" prop="qllx">
              <el-input disabled v-model="ruleForm.sldy.qllxmc"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item label="登记类型:" prop="djlx">
              <el-input disabled v-model="ruleForm.sldy.djlxmc"></el-input>
41 42 43
            </el-form-item>
          </el-col>
          <el-col :span="8">
44 45
            <el-form-item label="登记情形:" prop="djqx">
              <el-input disabled v-model="ruleForm.slsq.djqxmc"></el-input>
46 47 48 49 50
            </el-form-item>
          </el-col>
        </el-row>
        <el-row :gutter="10">
          <el-col :span="8">
51 52
            <el-form-item label="不动产单元号:">
              <el-input disabled v-model="ruleForm.sldy.bdcdyh"></el-input>
53 54 55
            </el-form-item>
          </el-col>
          <el-col :span="8">
tianhaohao@pashanhoo.com committed
56
            <el-form-item label="原房产证号:">
57
              <el-input disabled v-model="ruleForm.sldy.ybdcqzsh"></el-input>
58 59 60 61
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item label="坐落:">
62
              <el-input disabled v-model="ruleForm.sldy.zl"></el-input>
63 64 65 66
            </el-form-item>
          </el-col>
        </el-row>
        <div class="slxx_title title-block">
67
          <el-row>
68
            <el-col :span="24"> 房屋合同信息
69
              &nbsp;&nbsp;<el-button type="primary" v-show="viewEdit" @click="handleContract">查询房屋交易合同</el-button> </el-col>
70 71 72
            <!-- <el-col :span="4" class="btnColRight">
              
            </el-col> -->
tianhaohao@pashanhoo.com committed
73 74
          </el-row>
          <div class="triangle"></div>
75 76 77
        </div>
        <el-row :gutter="10">
          <el-col :span="8">
78 79
            <el-form-item label="房屋类型:">
              <el-input disabled v-model="fwxx.FWLX"></el-input>
80 81 82
            </el-form-item>
          </el-col>
          <el-col :span="8">
83 84
            <el-form-item label="街道:">
              <el-input disabled v-model="fwxx.JD"></el-input>
85 86 87
            </el-form-item>
          </el-col>
          <el-col :span="8">
88 89
            <el-form-item label="门牌号:">
              <el-input disabled v-model="fwxx.MPH"></el-input>
90 91 92
            </el-form-item>
          </el-col>
        </el-row>
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107
        <el-row :gutter="10">
          <el-col :span="8">
            <el-form-item label="栋号:">
              <el-input disabled v-model="fwxx.DH"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item label="单元号:">
              <el-input disabled v-model="fwxx.DYH"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item label="楼层:">
              <el-input disabled v-model="fwxx.LC"></el-input>
            </el-form-item>
tianhaohao@pashanhoo.com committed
108
          </el-col>
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124
        </el-row>
        <el-row :gutter="10">
          <el-col :span="8">
            <el-form-item label="房号:">
              <el-input disabled v-model="fwxx.FH"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item label="项目名称:">
              <el-input disabled v-model="fwxx.XMMC"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item label="面积:">
              <el-input disabled v-model="fwxx.MJ"></el-input>
            </el-form-item>
tianhaohao@pashanhoo.com committed
125
          </el-col>
126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146
        </el-row>
        <el-row :gutter="10">
          <el-col :span="8">
            <el-form-item label="房屋性质:">
              <el-input disabled v-model="fwxx.FWXZ"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item label="房屋用途:">
              <el-input disabled v-model="fwxx.FWYT"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item label="合同号:">
              <el-input disabled v-model="fwxx.HTH"></el-input>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row :gutter="10">
          <el-col :span="8">
            <el-form-item label="合同签订时间:">
tianhaohao@pashanhoo.com committed
147
              <el-input disabled v-model="fwxx.HTQDSJ"></el-input>
148 149 150 151
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item label="共有方式:">
tianhaohao@pashanhoo.com committed
152
              <el-input disabled v-model="fwxx.GYFS"></el-input>
153 154 155 156
            </el-form-item>
          </el-col>
          <el-col :span="8">
            <el-form-item label="房屋坐落:">
tianhaohao@pashanhoo.com committed
157
              <el-input disabled v-model="fwxx.TDFWZL"></el-input>
158
            </el-form-item>
tianhaohao@pashanhoo.com committed
159
          </el-col>
160
        </el-row>
tianhaohao@pashanhoo.com committed
161
        <div class="slxx_title title-block">
162 163 164
          买受人信息
          <div class="triangle"></div>
        </div>
renchao@pashanhoo.com committed
165
        <lb-table
tianhaohao@pashanhoo.com committed
166 167
          :column="clmMsr"
          :pagination="false"
renchao@pashanhoo.com committed
168 169 170
          :key="key"
          :heightNumSetting="true" :minHeight="0" :rowStyleHeight='25'
          :data="qlrList">
tianhaohao@pashanhoo.com committed
171 172
        </lb-table>
        <div class="slxx_title title-block">
173 174 175
          出卖人信息
          <div class="triangle"></div>
        </div>
tianhaohao@pashanhoo.com committed
176
        <lb-table
tianhaohao@pashanhoo.com committed
177
          :column="clmMsr"
renchao@pashanhoo.com committed
178
          :key="key1"
tianhaohao@pashanhoo.com committed
179
          :pagination="false"
renchao@pashanhoo.com committed
180 181
          :heightNumSetting="true" :minHeight="0" :rowStyleHeight='25'
          :data="ywrList">
tianhaohao@pashanhoo.com committed
182
        </lb-table>
183
       
tianhaohao@pashanhoo.com committed
184
        <div class="slxx_title title-block">
185
          <el-row>
186
            <el-col :span="24"> 缴税信息 <el-button type="primary" v-show="viewEdit" @click="handleSwwsxx">查询契税完税信息</el-button></el-col>          
187
          </el-row>
188 189
          <div class="triangle"></div>
        </div>
tianhaohao@pashanhoo.com committed
190 191 192
        <lb-table
          :column="clmSwxx"
          :pagination="false"
renchao@pashanhoo.com committed
193
          :key="key2"
renchao@pashanhoo.com committed
194 195
          :heightNumSetting="true" :minHeight="0" :rowStyleHeight='25'
          :data="swxxList">
tianhaohao@pashanhoo.com committed
196
        </lb-table>
tianhaohao@pashanhoo.com committed
197
      </div>
198 199 200 201
    </el-form>
  </div>
</template>
<script>
renchao@pashanhoo.com committed
202
  import { mapGetters } from "vuex";
renchao@pashanhoo.com committed
203
  import { getDetail } from "@/api/workflow/swhtxx.js";
renchao@pashanhoo.com committed
204 205 206
  export default {
    computed: {
      ...mapGetters(["dictData", "flag"]),
207
    },
renchao@pashanhoo.com committed
208 209 210 211 212 213 214 215
    mounted () {
      this.viewEdit = this.$parent.currentSelectTab.ableOperation;
      this.propsParam = this.$attrs;
      this.loadData();
    },
    data () {
      return {
        key: 0,
renchao@pashanhoo.com committed
216 217
        key1: 1,
        key2: 2,
renchao@pashanhoo.com committed
218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300
        ruleForm: {},
        loading: false,
        //表单是否可操作
        viewEdit: false,
        clmMsr: [
          {
            prop: "NSRMC",
            label: "名称",
          },
          {
            prop: "ZJZL_DM",
            label: "证件种类",
          },
          {
            prop: "ZJHM",
            label: "证件号码",
          },
          {
            prop: "LXDH",
            label: "联系电话",
          },
        ],
        clmSwxx: [
          {
            prop: "ywslh",
            label: "业务受理号",
          },
          {
            prop: "kprq",
            label: "开票日期",
          },
          {
            prop: "pzxh",
            label: "凭证序号",
          },
          {
            prop: "zsxmmc",
            label: "征收项目名称",
          },
          {
            prop: "zspmmc",
            label: "征收品目名称",
          },
          {
            prop: "sjje",
            label: "实缴金额",
          },

          {
            prop: "skssqq",
            label: "税款所属日期起",
          },
          {
            prop: "skssqz",
            label: "税款所属日期止",
          },

          {
            prop: "rkrq",
            label: "入库日期",
          },
        ],
        ruleForm: {},
        qlrList: [],
        ywrList: [],
        fwxx: {},
        swxxList: [],
      };
    },
    methods: {
      loadData () {
        getDetail(this.propsParam.bsmSldy).then((res) => {
          if (res.code === 200 && res.result) {
            this.ruleForm = res.result;
            if (res.result.wqht == null) {
              return;
            }
            if (res.result.wqht.htnr != "" && res.result.wqht.htnr != null) {
              let htxx = JSON.parse(res.result.wqht.htnr);
              this.fwxx = htxx[0].h[0];
              this.qlrList = htxx[1].msr;
              this.ywrList = htxx[2].cmr;
              this.key++
renchao@pashanhoo.com committed
301 302
              this.key1++
              this.key2++
renchao@pashanhoo.com committed
303 304 305 306 307 308 309 310
            }
            if (res.result.wqht.jsnr != "" && res.result.wqht.jsnr != null) {
              this.swxxList = JSON.parse(res.result.wqht.jsnr);
            }
          }
        })
      },
      handleContract () {
311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335
        let formData = {
          bsmSldy: this.propsParam.bsmSldy,
          qxdm: this.ruleForm.qlxx.qxdm,
          bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
        };       
        if(this.ruleForm.wqht==null){
          formData.htbh='';
        }else{
          formData.htbh=this.ruleForm.wqht.wqhth;  
        }
        this.$popupDialog('查询房产交易合同信息', 'workflow/main/swxx/jyht', formData, '60%', true)
      },
      handleSwwsxx () {
        let formData = {
          bsmSldy: this.propsParam.bsmSldy,
          qxdm: this.ruleForm.qlxx.qxdm,
          bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
          ywh: this.ruleForm.qlxx.ywh,
        };       
        if(this.ruleForm.wqht==null){
          formData.htbh='';
        }else{
          formData.htbh=this.ruleForm.wqht.wqhth;  
        }
        this.$popupDialog('查询契税完税信息共享', 'workflow/main/swxx/swwsxx', formData, '60%', true)
renchao@pashanhoo.com committed
336 337 338
      }
    }
  }
339 340
</script>
<style scoped lang="scss">
renchao@pashanhoo.com committed
341 342
  @import "~@/styles/public.scss";
  @import "~@/styles/slxx/slxx.scss";
343
</style>