|
@@ -75,12 +75,6 @@
|
|
<div class="table-operator">
|
|
<div class="table-operator">
|
|
<a-button v-if="$hasPermissions('B_customer_customerInfo_add')" id="customerManagementList-add" type="primary" class="button-error" @click="handleEdit()">新增</a-button>
|
|
<a-button v-if="$hasPermissions('B_customer_customerInfo_add')" id="customerManagementList-add" type="primary" class="button-error" @click="handleEdit()">新增</a-button>
|
|
</div>
|
|
</div>
|
|
- <!-- 合计 -->
|
|
|
|
- <a-alert type="info" style="margin-bottom:10px">
|
|
|
|
- <div class="ftext" slot="message" style="color:#f30f30;">
|
|
|
|
- 注意:客户合并功能中,将以当前客户合并被选客户。
|
|
|
|
- </div>
|
|
|
|
- </a-alert>
|
|
|
|
<!-- 列表 -->
|
|
<!-- 列表 -->
|
|
<s-table
|
|
<s-table
|
|
class="sTable fixPagination"
|
|
class="sTable fixPagination"
|
|
@@ -171,7 +165,7 @@ export default {
|
|
{ title: '最后销售时间', dataIndex: 'lastSaleTime', width: '11%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '最后销售时间', dataIndex: 'lastSaleTime', width: '11%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '是否为下级', dataIndex: 'dealerFlagDictValue', width: '7%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '是否为下级', dataIndex: 'dealerFlagDictValue', width: '7%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '启用禁用', scopedSlots: { customRender: 'enableAction' }, width: '8%', align: 'center' },
|
|
{ title: '启用禁用', scopedSlots: { customRender: 'enableAction' }, width: '8%', align: 'center' },
|
|
- { title: '操作', scopedSlots: { customRender: 'action' }, width: '10%', align: 'center' }
|
|
|
|
|
|
+ { title: <div><a-tooltip placement='top' title='注意:客户合并功能中,将以当前客户为对象,合并被选客户。'><a-icon type="question-circle" /></a-tooltip> 操作</div>, scopedSlots: { customRender: 'action' }, width: '10%', align: 'center' }
|
|
],
|
|
],
|
|
// 加载数据方法 必须为 Promise 对象
|
|
// 加载数据方法 必须为 Promise 对象
|
|
loadData: parameter => {
|
|
loadData: parameter => {
|
|
@@ -283,7 +277,7 @@ export default {
|
|
closeMergeModal (flag) {
|
|
closeMergeModal (flag) {
|
|
this.customerTemp = ''
|
|
this.customerTemp = ''
|
|
this.openMergeModal = false
|
|
this.openMergeModal = false
|
|
- if(flag){
|
|
|
|
|
|
+ if (flag) {
|
|
this.$refs.table.refresh()
|
|
this.$refs.table.refresh()
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -352,7 +346,7 @@ export default {
|
|
},
|
|
},
|
|
setTableH () {
|
|
setTableH () {
|
|
const tableSearchH = this.$refs.tableSearch.offsetHeight
|
|
const tableSearchH = this.$refs.tableSearch.offsetHeight
|
|
- this.tableHeight = window.innerHeight - tableSearchH - 255
|
|
|
|
|
|
+ this.tableHeight = window.innerHeight - tableSearchH - 220
|
|
}
|
|
}
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|