peng
2025-10-29 6e19fb9ba681721c9e827f079a2b38c4e3fb1288
seller/src/views/goods/goods-seller/goodsOperationSec.vue
@@ -247,9 +247,9 @@
                                              @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>
@@ -339,8 +339,8 @@
                      </Button>
                    </div>
                    &nbsp;
                    <!--                    <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">
@@ -1518,11 +1518,11 @@
          },
        });
        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)