This commit is contained in:
wwz 2024-12-19 14:47:09 +08:00
commit f62b1fde5d
2 changed files with 11 additions and 11 deletions

View File

@ -666,8 +666,8 @@ export default {
singlePeopleLimit: 0,
weight: '',
days: couponEnum.cycle.map(item => item.value),
startTime: '',
endTime: ''
startTime: '00:00',
endTime: '23:59'
},
useTime: ['00:00', '23:59'],
imgList: [],

View File

@ -123,14 +123,14 @@ export default {
return false;
}
//
var tzf = []
try {
let one = this.itemdata.old.list.every((i, index) => i.info.length == this.multipleSelection[index].length)
let tow = this.itemdata.list.every((icon) => icon.length == this.refcartSelection.length)
if (one && tow) {
tzf = [999]
}
} catch (error) { }
// var tzf = []
// try {
// let one = this.itemdata.old.list.every((i, index) => i.info.length == this.multipleSelection[index].length)
// let tow = this.itemdata.list.every((icon) => icon.length == this.refcartSelection.length)
// if (one && tow) {
// tzf = [999]
// }
// } catch (error) { }
// cartId便
if (this.refcartSelection.length) {
this.refcartSelection.forEach((i) => {
@ -141,7 +141,7 @@ export default {
await placeswitch({
masterId: this.masterId,
orderId: this.itemdata.orderId, //id
cartIds: this.isFull ? "" : [...cartIds.flatMap((subArray) => subArray.map((item) => item.cartId)), ...tzf], //
cartIds: this.isFull ? "" : cartIds.flatMap((subArray) => subArray.map((item) => item.cartId)), //
isFull: this.isFull, //false
currentTableId: this.currentTableId,
targetTableId: this.targetTableId,