diff --git a/src/views/ServiceType/ProductCenter.vue b/src/views/ServiceType/ProductCenter.vue index 489b8da..90905f2 100644 --- a/src/views/ServiceType/ProductCenter.vue +++ b/src/views/ServiceType/ProductCenter.vue @@ -604,9 +604,9 @@ const addDate = ( obj : any ) => { //添加日期方法 goodId = obj.goodId } const submitDate = async ()=> { //提交日期方法 - // appointmentDateAddRequestList.value.forEach((item:any,index:number)=>{ - // Object.assign(item, {goodId:goodId}) - // }) + appointmentDateAddRequestList.value.forEach((item:any,index:number)=>{ + Object.assign(item, {goodId:goodId}) + }) const res = await myAxios.post("/appointmentDate/addBatch", appointmentDateAddRequestList.value) console.log(res) await getProductList();