mahuan@syspetro.com
2022-03-02 32b745ef533aed6efa1ce87e7b454e454a6dbf9a
最新代码存档
2个文件已修改
47 ■■■■ 已修改文件
src/view/diligenceTools/rentMarket.vue 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/view/rentExchange/rentExchangeCompany.vue 33 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/view/diligenceTools/rentMarket.vue
@@ -89,7 +89,7 @@
        </div>
      </div>
      <div class="rentScrollOut">
        <Table ref="rentList" border :columns="rentColumns" :data="rentList" :loading="loadingRent" max-height="600">
        <Table ref="rentList" border :columns="rentColumns" :data="rentList" :loading="loadingRent" :max-height="componentsType != 'noTitle' ? 600 : 400">
          <template slot="NameOfTenantSlot" slot-scope="params">
            <!--                <Tooltip v-if="params.row.NameOfTenant.length>30" :content=params.row.NameOfTenant  class="tableActionMargintab1"  theme="light" transfer max-width="350"-->
            <!--                         placement="top">-->
@@ -2006,6 +2006,18 @@
  computed: {
    rentColumns () {
      let columns = []
      if (this.componentsType == 'noTitle'){
        columns.push({
          title: '序号',
          key: 'Id',
          render: (h, params) => {
            return h('span', params.index + 1)
          },
          width: 80,
          align: 'center',
          fixed: 'left'
        })
      }
      columns.push({
        title: '承租人名称',
        key: 'NameOfTenant',
src/view/rentExchange/rentExchangeCompany.vue
@@ -168,7 +168,7 @@
                  </li>
                  <li class="list" style="width: 100%;padding-left: 20px;">
                    {{
                      `截至${detailMessage.jzrqStr},存量资产余额${detailMessage.clzc ? CustomMethods.numTo$(detailMessage.clzc) : '--'}元,存量业务${detailMessage.clywbs ? CustomMethods.numTo$(detailMessage.clywbs, 0) : 0}笔,平均单笔业务余额为${detailMessage.pjdbywye ? CustomMethods.numTo$(detailMessage.pjdbywye) : '--'}元;`
                      `截至${detailMessage.jzrqStr},存量资产余额${detailMessage.clzc ? CustomMethods.numTo$(detailMessage.clzc) : '--'}元,存量业务${detailMessage.clywbs ? CustomMethods.numTo$(detailMessage.clywbs, 0) : 0}笔,平均单笔业务余额为${detailMessage.pjdbywye ? CustomMethods.numTo$(detailMessage.pjdbywye) : '--'}元。`
                    }}
                  </li>
                </ul>
@@ -262,16 +262,26 @@
                <Table border :columns="detailMessageCzrfxTableColumns" :data="detailMessage.czrfxTable"
                       max-height="400">
                  <template slot="Name" slot-scope="{row,index}">
                    <div v-for="(item,index) in row.czrInfo"
                         :style="{height: '42px',borderBottom: '1px solid #e9e9e9',borderWidth:row.czrInfo.length > 1 && index != row.czrInfo.length - 1 ? '1px' : 0}">
                      {{ item.Name ? item.Name : '--' }}
                    </div>
                    <Tooltip v-for="(item,index) in row.czrInfo"
                             :content="item.Name ? item.Name : '--'" class="tableActionMargin" theme="light" transfer max-width="200"
                             placement="top">
                      <div
                        class="ellipsisDiv"
                        :style="{width:'180px',height: '42px',lineHeight:'42px',padding: '0 8px',borderBottom: '1px solid #e9e9e9',borderWidth:row.czrInfo.length > 1 && index != row.czrInfo.length - 1 ? '1px' : 0}">
                        {{ item.Name ? item.Name : '--' }}
                      </div>
                    </Tooltip>
                  </template>
                  <template slot="hy" slot-scope="{row,index}">
                    <div v-for="(item,index) in row.czrInfo"
                         :style="{height: '42px',borderBottom: '1px solid #e9e9e9',borderWidth:row.czrInfo.length > 1 && index != row.czrInfo.length - 1 ? '1px' : 0}">
                      {{ item.hy ? item.hy : '--' }}
                    </div>
                    <Tooltip v-for="(item,index) in row.czrInfo"
                             :content="item.hy ? item.hy : '--'" class="tableActionMargin" theme="light" transfer max-width="200"
                             placement="top">
                      <div
                        class="ellipsisDiv"
                        :style="{width:'180px',height: '42px',lineHeight:'42px',padding: '0 8px',borderBottom: '1px solid #e9e9e9',borderWidth:row.czrInfo.length > 1 && index != row.czrInfo.length - 1 ? '1px' : 0}">
                        {{ item.hy ? item.hy : '--' }}
                      </div>
                    </Tooltip>
                  </template>
                  <template slot="dq" slot-scope="{row,index}">
                    <div v-for="(item,index) in row.czrInfo"
@@ -1122,4 +1132,9 @@
#detailModal .ivu-modal {
  top: 50px;
}
.ellipsisDiv{
  overflow: hidden;
  text-overflow:ellipsis;
  white-space: nowrap;
}
</style>