problem description
I want to realize that after clicking on the trial calculation, the product name will be displayed after it is not shown before, which is similar to the effect of folding. How to achieve it? Do you use the ternary operator?
the environmental background of the problems and what methods you have tried
related codes
/ / Please paste the code text below (do not replace the code with pictures)
<div class="" style="margin-left:10px;margin-top:10px;margin-bottom:10px;">
<i-button type="success" icon="md-add" @click="addnew"></i-button>   
<i-button type="primary" @click="spreadsheet"></i-button>
</div>
<tr ref="item" v-for="(item,index) in items" :id="index">
<td><i-input v-model="item.STOCKCODE" size="small" placeholder=""/></td>
<td><i-input v-model="item.QUANTITY" size="small" placeholder=""/></td>
<td><i-input v-model="item.PRICE" size="small" placeholder=""/></td>
<td><i-input v-model="item.BUSINESS" size="small" placeholder=""/></td>
<td class="green_bg4">A</td>
<td class="green_bg4">1</td>
<td class="green_bg4">1</td>
<td class="green_bg4">9</td>
<td class="green_bg4">5</td>
<td class="green_bg4">5555</td>
</tr>