|
|
@@ -17,10 +17,14 @@
|
|
|
<!-- 额外的展开行 -->
|
|
|
<template #expandedRowRender="{ record }">
|
|
|
<BtnList :selectedData="record"
|
|
|
- class="btn-list-sticky"
|
|
|
+ class="btn-list-sticky"
|
|
|
:btnList="forDataBtn"
|
|
|
@onClick="btnClick" />
|
|
|
</template>
|
|
|
+ <template v-if="isPingAnOem()"
|
|
|
+ #index="{ index }">
|
|
|
+ <span>{{ index + 1 }}</span>
|
|
|
+ </template>
|
|
|
<template #warehousetype="{ text }">
|
|
|
<span>{{ getWareHouseTypeName(text) }}</span>
|
|
|
</template>
|
|
|
@@ -48,6 +52,8 @@
|
|
|
import { defineComponent, initData, getTableColumns, getTableEvent, getBtnList, contextMenu, BtnList } from '@/common/export/table';
|
|
|
import { filterCustomTable, Add, Disable, Detail, Modify } from '../../compoments';
|
|
|
import { gerWareHouseStatusName, getWareHouseTypeName, queryTableList, ErmcpWareHouseInfo } from '../index';
|
|
|
+import { isPingAnOem } from '@/common/config/projectName';
|
|
|
+import { pingan_cwarehousecolumn } from '../setup';
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: 'warehouse-info-normal',
|
|
|
@@ -74,6 +80,10 @@ export default defineComponent({
|
|
|
queryTable();
|
|
|
// 注册表头信息 过滤
|
|
|
registerColumn('table_pcweb_warehouse', ['warehousetype', 'warehousename', 'address']);
|
|
|
+ // 平安表头
|
|
|
+ if (isPingAnOem()) {
|
|
|
+ columns.value = pingan_cwarehousecolumn();
|
|
|
+ }
|
|
|
});
|
|
|
|
|
|
return {
|
|
|
@@ -91,6 +101,7 @@ export default defineComponent({
|
|
|
gerWareHouseStatusName,
|
|
|
queryTable,
|
|
|
btnClick,
|
|
|
+ isPingAnOem,
|
|
|
};
|
|
|
},
|
|
|
});
|