| | |
| | | @on-change="editSkuItem(item.name, $index, item)"> |
| | | </AutoComplete> |
| | | |
| | | <!-- <iSwitch v-if="$index === 0" style="margin-left: 10px" size="small"--> |
| | | <!-- @on-change="changeSkuOpenImage" v-model="openImage"/>--> |
| | | <!-- <span v-if="$index === 0" style="margin-left: 5px">添加规格图片</span>--> |
| | | <iSwitch v-if="$index === 0" style="margin-left: 10px" size="small" |
| | | @on-change="changeSkuOpenImage" v-model="openImage"/> |
| | | <span v-if="$index === 0" style="margin-left: 5px">添加规格图片</span> |
| | | </div> |
| | | </FormItem> |
| | | |
| | |
| | | </Button> |
| | | </div> |
| | | |
| | | <!-- <Button class="add-sku-btn" size="small" type="warning" @click="handleClearSku">清空规格项--> |
| | | <!-- </Button>--> |
| | | <Button class="add-sku-btn" size="small" type="warning" @click="handleClearSku">清空规格项 |
| | | </Button> |
| | | </div> |
| | | </Panel> |
| | | <Panel name="2"> |
| | |
| | | }, |
| | | }); |
| | | console.log("上传成功", upData) |
| | | this.$nextTick(() => { |
| | | this.listImages.push(fileKey); |
| | | this.showListImages.push(sts.data.endpoint + "/" + fileKey); |
| | | this.baseInfoForm.goodsGalleryFiles.push(fileKey); |
| | | }) |
| | | // this.$nextTick(() => { |
| | | // this.listImages.push(fileKey); |
| | | // this.showListImages.push(sts.data.endpoint + "/" + fileKey); |
| | | // this.baseInfoForm.goodsGalleryFiles.push(fileKey); |
| | | // }) |
| | | |
| | | } catch (e) { |
| | | console.log("上传失败", upData) |