@@ -51,8 +51,8 @@ export default defineComponent({
setup(props, context) {
// 表格列表数据
const { loading, tableList, queryTable } = queryTableList<WrOrderQuoteDetail>();
- function open(item: btnListType) {
- context.emit('openComponent', item);
+ function open(item: btnListType, record: WrOrderQuote) {
+ context.emit('openComponent', item, record);
}
const { wrpricetype, haswr, tableKey } = getBuyMarketParam(props.enumName);
// 获取列表数据
@@ -1,9 +1,11 @@
<template>
- <!-- 摘牌 -->
- <Drawer :title="'摘牌'" :placement="'top'" :visible="visible">
- <!-- 挂牌 -->
- 摘牌
- </Drawer>
+ <!-- 摘牌 -->
+ <Drawer :title="'摘牌'"
+ :placement="'top'"
+ :visible="visible">
+ <!-- 挂牌 -->
+ 摘牌
+ </Drawer>
</template>
<script lang="ts">
@@ -29,6 +31,8 @@ export default defineComponent({
},
setup(props) {
const data = props.selectedRow;
+ console.log('data', data);
+
const loading = ref<boolean>(false);
// console.log(param);
// requestResultLoadingAndInfo(hdWROrder, param, loading, ['挂牌成功', '挂牌失败:']).then(() => {