|
|
|
@ -2,7 +2,7 @@ |
|
|
|
|
<a-modal |
|
|
|
|
class="noborder" |
|
|
|
|
:title="title" |
|
|
|
|
:width="820" |
|
|
|
|
:width="1050" |
|
|
|
|
:visible="visible" |
|
|
|
|
:isLoading="isLoading" |
|
|
|
|
:maskClosable="false" |
|
|
|
@ -23,6 +23,9 @@ |
|
|
|
|
allowClear |
|
|
|
|
v-decorator="['categoryId', { initialValue: 0 }]" |
|
|
|
|
></a-tree-select> |
|
|
|
|
</a-form-item> |
|
|
|
|
<a-form-item label="商品编码"> |
|
|
|
|
<a-input v-decorator="['goodsNo']" placeholder="请输入商品编码" /> |
|
|
|
|
</a-form-item> |
|
|
|
|
<a-form-item class="search-btn"> |
|
|
|
|
<a-button type="primary" icon="search" html-type="submit">搜索</a-button> |
|
|
|
@ -52,9 +55,12 @@ |
|
|
|
|
/> |
|
|
|
|
</template> |
|
|
|
|
<!-- 商品状态 --> |
|
|
|
|
<span slot="spec_type" slot-scope="text"> |
|
|
|
|
<span slot="item_1" slot-scope="item"> |
|
|
|
|
<p class="twoline-hide" style="width: 40px"> |
|
|
|
|
{{ item.spec_type == 10 ? '单规格' : '多规格' }} |
|
|
|
|
</p> |
|
|
|
|
<p class="twoline-hide" style="width: 40px"> |
|
|
|
|
{{ text == 10 ? '单规格' : '多规格' }} |
|
|
|
|
{{ item.spu_id > 0 ? '已组合' : '未组合' }} |
|
|
|
|
</p> |
|
|
|
|
</span> |
|
|
|
|
<span slot="status" slot-scope="text"> |
|
|
|
@ -84,8 +90,7 @@ const columns = [ |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
title: '规格类型', |
|
|
|
|
dataIndex: 'spec_type', |
|
|
|
|
scopedSlots: { customRender: 'spec_type' }, |
|
|
|
|
scopedSlots: { customRender: 'item_1' }, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
title: '商品价格', |
|
|
|
|