订单管理更新选择用户参数不够报错问题

This commit is contained in:
2024-10-21 17:33:36 +08:00
parent ae11d40951
commit e4dce854b6

View File

@@ -177,8 +177,8 @@
function setUser(par) { function setUser(par) {
console.log(option); console.log(option);
const submitPar = { const submitPar = {
masterId: option.masterId, tableId: order.tableId,
tableId: option.tableId, masterId: order.masterId,
vipUserId: user.value.id ? user.value.id : '', vipUserId: user.value.id ? user.value.id : '',
type: user.value.id ? 0 : 1 //0 设置 1 取消 type: user.value.id ? 0 : 1 //0 设置 1 取消
} }