feature/0423
fanfan 8 months ago
parent 33e0f7978f
commit b94f457bd3
  1. 6
      src/components/SelectGoods/SelectGoods.vue

@ -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"

Loading…
Cancel
Save