| | |
| | | </el-input> |
| | | <div class="tips"></div> |
| | | </el-form-item> |
| | | <el-form-item label="或购买指定商品" v-if="form.become == 110"> |
| | | <div> |
| | | <el-row> |
| | | <el-button type="primary" @click="openProduct">选择商品</el-button> |
| | | <div v-if="form.product_image && form.product_image.length > 0" class="d-s-c f-w"> |
| | | <div v-for="(item, index) in form.product_image" :key="index" class="img pr"> |
| | | <a href="javascript:void(0)" class="delete-btn" @click="deleteFunc(index)"><i class="el-icon-error"></i></a> |
| | | <img :src="item.image" width="100" height="100" /> |
| | | <p class="text-ellipsis">{{ item.product_name }}</p> |
| | | </div> |
| | | </div> |
| | | </el-row> |
| | | </div> |
| | | </el-form-item> |
| | | <!--提交--> |
| | | <div class="common-button-wrapper"> |
| | | <el-button size="small" type="primary" @click="onSubmit" :loading="loading">提交</el-button> |