This commit is contained in:
chen-xin-zhi 2025-02-27 13:49:32 +08:00
parent 113ba7f7d3
commit 148c327370

View File

@ -604,9 +604,9 @@ const addDate = ( obj : any ) => { //添加日期方法
goodId = obj.goodId goodId = obj.goodId
} }
const submitDate = async ()=> { // const submitDate = async ()=> { //
// appointmentDateAddRequestList.value.forEach((item:any,index:number)=>{ appointmentDateAddRequestList.value.forEach((item:any,index:number)=>{
// Object.assign(item, {goodId:goodId}) Object.assign(item, {goodId:goodId})
// }) })
const res = await myAxios.post("/appointmentDate/addBatch", appointmentDateAddRequestList.value) const res = await myAxios.post("/appointmentDate/addBatch", appointmentDateAddRequestList.value)
console.log(res) console.log(res)
await getProductList(); await getProductList();