From 65956f8f44f764dd007b1a0141302b5614c9ca89 Mon Sep 17 00:00:00 2001
From: peng <peng.com>
Date: 星期三, 29 十月 2025 11:39:28 +0800
Subject: [PATCH] 页面调整
---
seller/src/views/goods/goods-seller/goodsOperationSec.vue | 32 ++++++++++++++++----------------
1 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/seller/src/views/goods/goods-seller/goodsOperationSec.vue b/seller/src/views/goods/goods-seller/goodsOperationSec.vue
index e300a85..847423c 100644
--- a/seller/src/views/goods/goods-seller/goodsOperationSec.vue
+++ b/seller/src/views/goods/goods-seller/goodsOperationSec.vue
@@ -87,7 +87,7 @@
</FormItem>
<FormItem v-if="baseInfoForm.goodsType == 'PHYSICAL_GOODS'" class="form-item-view-el" label="鍟嗗搧绫诲瀷">
<Select
- v-model="baseInfoForm.customizeGoodsType"
+ v-model="baseInfoForm.customizeFlag"
clearable
style="width: 160px"
@on-clear="handleGoodsType"
@@ -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>
- <!-- <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">
@@ -921,7 +921,7 @@
],
/** 鍙戝竷鍟嗗搧鍩烘湰鍙傛暟 */
baseInfoForm: {
- customizeGoodsType:"",
+ customizeFlag:"",
virtualGoodsType:"",
salesModel: "RETAIL",
/** 鍟嗗搧鐩稿唽鍒楄〃 */
@@ -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)
@@ -2170,7 +2170,7 @@
}
)
}
- if(this.baseInfoForm.goodsType==="PHYSICAL_GOODS" &&this.baseInfoForm.customizeGoodsType==="CUSTOMIZE"){
+ if(this.baseInfoForm.goodsType==="PHYSICAL_GOODS" &&this.baseInfoForm.customizeFlag==="CUSTOMIZE"){
pushData.push({
title:"瀹氬埗鍟嗗搧妯℃澘",
slot:"CUSTOMIZE"
@@ -2435,8 +2435,8 @@
quantity: sku.quantity,
couponName:this.baseInfoForm.virtualGoodsType === "COUPON" ? sku.couponName:null,
couponId:this.baseInfoForm.virtualGoodsType === "COUPON" ? sku.couponId:null,
- customizeTemplateName:this.baseInfoForm.customizeGoodsType === "CUSTOMIZE" ? sku.customizeTemplateName : null,
- customizeTemplateId:this.baseInfoForm.customizeGoodsType === "CUSTOMIZE" ? sku.customizeTemplateId :null,
+ customizeTemplateName:this.baseInfoForm.customizeFlag === "CUSTOMIZE" ? sku.customizeTemplateName : null,
+ customizeTemplateId:this.baseInfoForm.customizeFlag === "CUSTOMIZE" ? sku.customizeTemplateId :null,
// alertQuantity: sku.alertQuantity,
sn: sku.sn,
images: [],
@@ -2454,7 +2454,7 @@
}
}
if(this.baseInfoForm.goodsType === "PHYSICAL_GOODS" &&
- this.baseInfoForm.customizeGoodsType === "CUSTOMIZE"){
+ this.baseInfoForm.customizeFlag === "CUSTOMIZE"){
if (sku.customizeTemplateId === null || sku.customizeTemplateId === undefined){
this.$Message.error("璇烽�夋嫨瀹氬埗妯℃澘")
return;
--
Gitblit v1.8.0