|
|
|
@ -1,7 +1,7 @@ |
|
|
|
|
<template> |
|
|
|
|
<div> |
|
|
|
|
<a-button @click="handleSelectGoods">选择商品</a-button> |
|
|
|
|
<a-table |
|
|
|
|
<!-- <a-table |
|
|
|
|
v-show="selectedItems.length" |
|
|
|
|
class="table-goodsList" |
|
|
|
|
rowKey="goods_id" |
|
|
|
@ -9,7 +9,6 @@ |
|
|
|
|
:dataSource="selectedItems" |
|
|
|
|
:pagination="false" |
|
|
|
|
> |
|
|
|
|
<!-- 商品信息 --> |
|
|
|
|
<template slot="item" slot-scope="item"> |
|
|
|
|
<GoodsItem |
|
|
|
|
:data="{ |
|
|
|
@ -21,11 +20,10 @@ |
|
|
|
|
:subTitleColor="true" |
|
|
|
|
/> |
|
|
|
|
</template> |
|
|
|
|
<!-- 操作项 --> |
|
|
|
|
<span slot="action" slot-scope="text, item, index"> |
|
|
|
|
<a v-action:delete @click="handleDeleteItem(index)">删除</a> |
|
|
|
|
</span> |
|
|
|
|
</a-table> |
|
|
|
|
</a-table> --> |
|
|
|
|
<GoodsModal |
|
|
|
|
ref="GoodsModal" |
|
|
|
|
:multiple="multiple" |
|
|
|
|