<div id="tmtransactiondetail">
  <div class="tm-body">
    <div class="tm-header" style="height:510px;">
      <div class="tm-header-left">
        <img style="width: 287px;height: 287px;" :src="form.pic_url" alt="">
      </div>
      <div v-if="tmdetail && tmdetail.sbzch" class="tm-header-right">
        <div><span class="name">商标名称：</span>{{tmdetail.sbmc}}</div>
        <div><span class="name">申请号：</span><span class="text">{{tmdetail.sbzch || "暂无"}}</span></div>
        <div><span class="name">商标类别：</span><span class="text">{{tmdetail.gjflname || "暂无"}}</span></div>
        <div><span class="name">专用权期限：</span><span class="text"> {{tmdetail.sqrq || "暂无"}}至{{tmdetail.jzrq|| "暂无"}}</span></div>
        <div><span class="name">当前群组：</span><span class="text"><span v-for="item in tmdetail.spfwxmlist">{{item.code?item.code+";":""}}</span></span></div>
        <div><span class="name">商品 / 服务项：</span><span class="text"> <span v-for="item in tmdetail.spfwxmlist">{{item.small_name?item.small_name+";":""}}</span></span></div>
        <div><span class="name">商标状态：</span><span class="text"> {{tmdetail.sbzt || "暂无"}}</span></div>
        <div><span class="name">商标类型：</span><span class="text"> {{form.trademark_type_name || "普通商标"}}</span></div>
      </div>
      <div v-else class="tm-header-right">
        <div><span class="name">商标名称：</span>{{form.name}}<span class="name">商标结构：</span>{{form.tm_structure_name || "暂无"}}</div>
        <div><span class="name">申请号：</span><span class="text">{{form.code || "暂无"}}</span></div>
        <div><span class="name">商标类别：</span><span class="text">{{form.ncl_one_code || "暂无"}}</span></div>
        <div><span class="name">专用权期限：</span><span class="text"> {{form.tm_start_day || "暂无"}}至{{form.tm_end_day|| "暂无"}}</span></div>
        <div><span class="name">当前群组：</span><span class="text">{{form.tm_group || "暂无"}}</span></div>
        <div><span class="name">商品 / 服务项：</span><span class="text">{{form.tm_service_item || "暂无"}}</span></div>
        <div><span class="name">商标状态：</span><span class="text"> {{form.tm_status_name || "暂无"}}</span></div>
        <div><span class="name">商标类型：</span><span class="text"> {{form.trademark_type_name || "普通商标"}}</span></div>
      </div>
      <div style="clear:both"></div>
      <div v-if="bizCode==\'ptmtransactiondetail\'" style="text-align:center;width: 260px;">
          <gsb-upload flag="pic_url" ref="pic_url" :d="d" @setKey="setKey" :action="action" filetype="image/jpeg" :ifshowlist="false" @uploadsuccess="uploadsuccess" @error="error">
            <el-button type="text" >点击更换图样</el-button>
          </gsb-upload>
      </div>
      <div style="font-size: 12px;text-align: left;width: 260px;margin-top: 30px;padding-left: 35px;">
        <p>1.支持jpg、png格式。</p>
        <p>2.图片尺寸322*262像素以上，大小不超过500KB。</p>
        <p>3.图片尽量清晰，并能够体现商标寓意。</p>
      </div>
    </div>
    <div class="tm-richtext">
      <div class="tm-richtext-title">
        <div style="float:left;width:60%;"><div class="tm-richtext-shu"></div>卖家信息</div>
        <div v-if="bizCode==\'ptmtransactiondetail\'" style="float:left;width:40%;text-align:right"><el-button @click="submitUpdate">修改</el-button> </div>
        <div style="clear:both;"></div>
      </div>
      <div class="tm-richtext-main" style="min-height:200px;height: auto;border:1px solid rgba(215, 215, 215, 1)">
        <el-form style="padding:20px" :inline="true" :model="form" class="demo-form-inline">
          <el-form-item label="卖家姓名">
            <el-input v-model="form.contacts" placeholder="卖家姓名"></el-input>
          </el-form-item>
          <el-form-item label="卖家电话">
            <el-input v-model="form.mobile" placeholder="卖家电话"></el-input>
          </el-form-item>
          <el-form-item label="卖家售价">
            <el-input v-model="form.business_quoted_price" @blur="updatePlatformPrice()" placeholder="卖家售价"></el-input>
          </el-form-item>
          <el-form-item label="平台售价">
            <el-input disabled v-model="form.platform_quoted_price" placeholder="平台售价"></el-input>
          </el-form-item>
          
        </el-form>
        <el-form style="padding:0 20px 20px 20px"  :model="form" >
          <el-form-item label="商标简介">
            <el-input style="width:50%;" type="textarea" :rows="2" v-model="form.tm_introduction" placeholder="商标简介"></el-input>
          </el-form-item>
          
        </el-form>
      </div>
    </div>
  </div>
</div>