<template>
  <div class="p-10">
        <div partial class="auto">
          <div class="row form-group app-input">
            <label class="">客户名称：</label>
            <div class="col-xs-8" >
              <input class="" v-model=selectdata.f_user_name />
            </div>
          </div>
          <div class="row form-group app-input" >
            <label class="">联系电话：</label>
            <div class="col-xs-8" >
              <input class="" v-model=selectdata.f_phone />
            </div>
          </div>
          <div class="row form-group app-input" >
            <label class="">证件类型：</label>
            <div class="col-xs-8" >
              <input class="" v-model=selectdata.f_credentials />
            </div>
          </div>
          <div class="row form-group app-input" >
            <label class="">证件号码：</label>
            <div class="col-xs-8" >
              <input class="" v-model=selectdata.f_idnumber />
            </div>
          </div>
          <div class="row form-group app-input" >
            <label class="">工程编号：</label>
            <div class="col-xs-8" >
              <input class="" v-model=selectdata.f_apply_num  />
            </div>
          </div>
          <div class="row form-group app-input" >
            <label class="">用户地址：</label>
            <div class="col-xs-8" >
              <input class="" v-model=selectdata.f_address  />
            </div>
          </div>
          <div class="row form-group app-input" >
            <label class="">报建类型：</label>
            <div class="col-xs-8" >
              <input class="" v-model=selectdata.f_apply_type  />
            </div>
          </div>
          <div class="row form-group app-input" >
            <label class="">报建性质：</label>
            <div class="col-xs-8" >
              <input class="" v-model=selectdata.f_apply_nature  />
            </div>
          </div>
          <div class="row form-group app-input" >
            <label class="">客户类型：</label>
            <div class="col-xs-8" >
              <input class="" v-model=selectdata.f_user_type  />
            </div>
          </div>
        </div>

    <div class="col-sm-12 col-xs-12">
      <accordion one-at-a-time="true">
        <panel header='附件' :is-open="false" type="primary">
          <app-upload :blodid="selectdata.f_process_id"
                      :isupload="true"
                      :isdelete="true"
                      :isusetype="true"
                      :isremark="true"
                      :takeimg="true"
                      :issearch="true"
                      :defname="selectdata.defname">
          </app-upload>
        </panel>
      </accordion>
    </div>
  </div>

</template>
<script>
import {getNowDate, isEmpty} from '../../../Util'
// Date格式化
Date.prototype.Format = function (fmt) {
  var o = {
    'M+': this.getMonth() + 1, // 月份
    'd+': this.getDate(), // 日
    'H+': this.getHours(), // 小时
    'm+': this.getMinutes(), // 分
    's+': this.getSeconds(), // 秒
    'q+': Math.floor((this.getMonth() + 3) / 3), // 季度
    'S': this.getMilliseconds() // 毫秒
  }
  if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
  for (var k in o) {
    if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))
  }
  return fmt
}

export default {
  title: '完工',
  props: ['selectdata', 'title'],
  data () {
    return {
    }
  },
  ready () {
    console.log(this.selectdata)
  },
  methods: {
  },
  events: {},
  computed: {},
  watch: {}
}
</script>
<style scoped>
.panel-self{
  border-radius: 10px;
  border:1px solid #499EDF;
  background-color: #F8F8F8;
}
.font{
  font: 15px PingFang-SC-Medium;
  color: #666666;
}

.button_shrink_top {
  width: 34px;
  height: 34px;
  border: solid 1px #6aa6e2;
  background-size: 100%;
  background-image: url("../../../../../static/newStyle/stretch_top.png")
}

.button_shrink_bottom {
  width: 34px;
  height: 34px;
  border: solid 1px #6aa6e2;
  background-size: 100%;
  background-image: url("../../../../../static/newStyle/stretch_bottom.png")
}
</style>
<style lang="less">
.app-input {
  label {
    float: left;
  }
  .select {
    button {
      border: none;
      outline: none;
      text-align: left;
      .btn-placeholder {
        color: #ACA899
      }
    }
  }
  .datepicker {
    .form-control:focus {
      border: none!important;
      outline: none!important;
      -webkit-box-shadow: none;
      box-shadow: none;
    }
  }
}
</style>
