|
@@ -117,10 +117,10 @@ export default {
|
|
|
{record.productTypeArr.map(con =>
|
|
|
<div>
|
|
|
{con.title && con.title.length > 7 ? <a-tooltip title={con.title}>
|
|
|
- <a-tag style="margin-bottom:10px;" closable onclick={() => _this.delLabel(record.productScopeSn, con, 'typeList')}>
|
|
|
+ <a-tag style="margin-bottom:10px;" closable onclose={() => _this.delLabel(record.productScopeSn, con, 'typeList')}>
|
|
|
{ con.title.slice(0, 7) + '...' }
|
|
|
</a-tag>
|
|
|
- </a-tooltip> : <a-tag style="margin-bottom:10px;" closable onclick={() => _this.delLabel(record.productScopeSn, con, 'typeList')}>
|
|
|
+ </a-tooltip> : <a-tag style="margin-bottom:10px;" closable onclose={() => _this.delLabel(record.productScopeSn, con, 'typeList')}>
|
|
|
{con.title }
|
|
|
</a-tag>}
|
|
|
</div>
|
|
@@ -160,7 +160,7 @@ export default {
|
|
|
<a-row>
|
|
|
<a-col span={17}>
|
|
|
{record.productBrandArr.map(item => {
|
|
|
- return <div>{item.brandName && item.brandName.length > 7 ? <a-tooltip title={item.brandName}><a-tag style="margin-bottom:10px;" closable onclick={() => _this.delLabel(record.productScopeSn, item, 'brandList')}>{ item.brandName.slice(0, 7) + '...' }</a-tag></a-tooltip> : <a-tag v-else style="margin-bottom:10px;" closable onclick={() => _this.delLabel(record.productScopeSn, item, 'brandList')}>{item.brandName } </a-tag>}</div>
|
|
|
+ return <div>{item.brandName && item.brandName.length > 7 ? <a-tooltip title={item.brandName}><a-tag style="margin-bottom:10px;" closable onclose={() => _this.delLabel(record.productScopeSn, item, 'brandList')}>{ item.brandName.slice(0, 7) + '...' }</a-tag></a-tooltip> : <a-tag style="margin-bottom:10px;" closable onclose={() => _this.delLabel(record.productScopeSn, item, 'brandList')}>{item.brandName } </a-tag>}</div>
|
|
|
})}
|
|
|
</a-col>
|
|
|
<a-col span={6} style="text-align:right;">
|
|
@@ -174,7 +174,7 @@ export default {
|
|
|
return (
|
|
|
<a-row>
|
|
|
<a-col span={24}>
|
|
|
- <a-tag style="background: #fff; borderStyle: dashed;" onClick={() => _this.addBrandTag(index, record)} color="blue">
|
|
|
+ <a-tag style="background: #fff; borderStyle: dashed;" onclick={() => _this.addBrandTag(index, record)} color="blue">
|
|
|
<a-icon type="plus" />
|
|
|
</a-tag>
|
|
|
</a-col>
|