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