Commit 21e58414 by liang ce

文案修改

parent 1ddd95dd
......@@ -25,12 +25,14 @@
<a-table :columns="columns" :dataSource="OrderList" :pagination="pagination" @change="handleTableChange" rowKey="orderId">
<span slot="buyerName">姓名</span>
<span slot="buyerSysDeptNameList" slot-scope="buyerSysDeptNameList, record">
<a-popover v-for="(item,indexOf) in buyerSysDeptNameList" :key="indexOf">
<template slot="content">
<p>{{record.buyerParentSysDeptList[indexOf].sysParentName}}</p>
</template>
<span class="deptModel">{{item}}</span>
</a-popover>
<div v-if="buyerSysDeptNameList && buyerSysDeptNameList.length > 0">
<a-popover v-for="(item,indexOf) in buyerSysDeptNameList" :key="indexOf">
<template slot="content">
<p>{{record.buyerParentSysDeptList[indexOf].sysParentName}}</p>
</template>
<span class="deptModel">{{item}}</span>
</a-popover>
</div>
</span>
<span slot="agentName">经办人</span>
<span slot="orderAmount" slot-scope="orderAmount">
......
......@@ -33,7 +33,7 @@
<a-table :columns="columns" :dataSource="accountList" size="default" rowKey="ddUserId" :pagination="pagination" @change="handleTableChange">
<span slot="name">姓名</span>
<span slot="departmentNameList" slot-scope="departmentNameList, record">
<div v-if="departmentNameList.length > 0">
<div v-if=" departmentNameList && departmentNameList.length > 0">
<a-popover v-for="(item,indexOf) in departmentNameList" :key="indexOf">
<template slot="content">
<p>{{record.parentSysDeptNameList[indexOf]}}</p>
......
......@@ -26,7 +26,7 @@
<a-table :columns="columns" :dataSource="chargeList" :pagination="pagination" @change="handleTableChange" rowKey="orderNo">
<span slot="userName">姓名</span>
<span slot="departmentNameList" slot-scope="departmentNameList, record">
<div v-if="departmentNameList.length > 0">
<div v-if="departmentNameList && departmentNameList.length > 0">
<a-popover v-for="(item,indexOf) in departmentNameList" :key="indexOf">
<template slot="content">
<p>{{record.parentSysDeptNameList[indexOf]}}</p>
......
......@@ -25,7 +25,7 @@
<a-table :columns="columns" :dataSource="recordsList" size="default" rowKey="orderNo" :pagination="pagination" @change="handleTableChange">
<span slot="userName">消费人</span>
<span slot="departmentNameList" slot-scope="departmentNameList, record">
<div v-if="departmentNameList.length > 0">
<div v-if="departmentNameList && departmentNameList.length > 0">
<a-popover v-for="(item,indexOf) in departmentNameList" :key="indexOf">
<template slot="content">
<p>{{record.parentSysDeptNameList[indexOf]}}</p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment