From 5b654518aa68c9d0ca203feff7fbad00836b6f8d Mon Sep 17 00:00:00 2001
From: wangfukang <15630117759@163.com>
Date: Sun, 15 Mar 2026 17:11:39 +0800
Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E8=AE=BE=E7=BD=AE=E6=98=AF?=
=?UTF-8?q?=E5=90=A6=E5=8A=A0=E6=96=99?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/app/shop/dictManage.vue | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/src/views/app/shop/dictManage.vue b/src/views/app/shop/dictManage.vue
index a7b960b..ff80617 100644
--- a/src/views/app/shop/dictManage.vue
+++ b/src/views/app/shop/dictManage.vue
@@ -235,6 +235,16 @@
+
+
+
+
+
@@ -376,6 +386,7 @@
specNum:9999
}],
sellTime:0, //可售时间
+ isMoreBuy:0,
sellBeginTime:'', //可售时段自定义---开始时间
sellEndTime:'', //可售时段自定义---结束时间
attributeList:'',
@@ -813,6 +824,9 @@
checkSellTime(type){
this.addGoodsForm.sellTime = type;
},
+ checkisMoreBuy(type){
+ this.addGoodsForm.isMoreBuy = type;
+ },
checkSpecValue(index){
//this.typeToAttrName = res.result.content[this.categoryIndex].title
console.log("this.categorySonData[index]",this.categorySonData[index])
@@ -1154,6 +1168,9 @@
if (this.modalType == 0) {
// 添加 避免编辑后传入id等数据 记得删除
delete this.addGoodsForm.id;
+ if(this.addGoodsForm.isMoreBuy != 1){
+ this.addGoodsForm.isMoreBuy = 0
+ }
this.addGoodsForm.attributeListPrice = JSON.stringify(this.addGoodsForm.attributeListPrice)
this.addGoodsForm.attributeList = Object.fromEntries(this.addGoodsForm.attributeList1)
this.addGoodsForm.attributeList = JSON.stringify(this.addGoodsForm.attributeList)