|
@@ -12,7 +12,7 @@
|
|
|
:data-source="tableList">
|
|
:data-source="tableList">
|
|
|
<!-- 额外的展开行 -->
|
|
<!-- 额外的展开行 -->
|
|
|
<template #expandedRowRender="{ record }">
|
|
<template #expandedRowRender="{ record }">
|
|
|
- <BtnList :btnList="firstBtn"
|
|
|
|
|
|
|
+ <BtnList :btnList="handleTableList(firstBtn, record)"
|
|
|
@onClick="btnClick(record)" />
|
|
@onClick="btnClick(record)" />
|
|
|
</template>
|
|
</template>
|
|
|
<!-- 提货状态 -->
|
|
<!-- 提货状态 -->
|
|
@@ -32,7 +32,7 @@
|
|
|
<script lang="ts">
|
|
<script lang="ts">
|
|
|
import { defineComponent, initData, getTableColumns, getTableEvent, contextMenu, BtnList, _getBtnList } from '@/common/export/table';
|
|
import { defineComponent, initData, getTableColumns, getTableEvent, contextMenu, BtnList, _getBtnList } from '@/common/export/table';
|
|
|
import Filter from '../../compoments/filter/index.vue';
|
|
import Filter from '../../compoments/filter/index.vue';
|
|
|
-import { queryTableList } from './setup';
|
|
|
|
|
|
|
+import { queryTableList, handleTableList } from './setup';
|
|
|
import ControlModal from './compoments/controlModal/index.vue';
|
|
import ControlModal from './compoments/controlModal/index.vue';
|
|
|
import { QhjTradeGoodsPickup } from '@/services/go/ermcp/qhj/interface';
|
|
import { QhjTradeGoodsPickup } from '@/services/go/ermcp/qhj/interface';
|
|
|
import { getPickUpStateName, getTakeStateName } from '@/common/constants/enumsName';
|
|
import { getPickUpStateName, getTakeStateName } from '@/common/constants/enumsName';
|
|
@@ -72,6 +72,7 @@ export default defineComponent({
|
|
|
btnClick,
|
|
btnClick,
|
|
|
getPickUpStateName,
|
|
getPickUpStateName,
|
|
|
getTakeStateName,
|
|
getTakeStateName,
|
|
|
|
|
+ handleTableList,
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
});
|
|
});
|