|
|
@@ -991,7 +991,7 @@ onMounted(async () => {
|
|
|
if (type.value != "add") {
|
|
|
const params = {
|
|
|
id: id.value,
|
|
|
- userId: localGet("userId") || "104"
|
|
|
+ userId: localGet("userId")
|
|
|
};
|
|
|
let res: any = await getThaliById(params);
|
|
|
storeInfoModel.value = { ...storeInfoModel.value, ...res.data.lifeGroupBuyMain };
|
|
|
@@ -1679,7 +1679,7 @@ const openDishDialog = async (groupIndex: number, dishIndex: number) => {
|
|
|
currentDishIndex.value = dishIndex;
|
|
|
dishSearchKeyword.value = "";
|
|
|
const params = {
|
|
|
- storeId: localGet("createdId") || "104",
|
|
|
+ storeId: localGet("createdId"),
|
|
|
phoneId: 18641153170,
|
|
|
dishType: 0
|
|
|
};
|
|
|
@@ -1876,7 +1876,7 @@ const handleSubmit = async (type?) => {
|
|
|
lifeGroupBuyThalis: lifeGroupBuyThalis.value
|
|
|
};
|
|
|
paramsObj.lifeGroupBuyMain.status = type ? "0" : "1";
|
|
|
- paramsObj.lifeGroupBuyMain.groupType = localGet("businessSection") || "1";
|
|
|
+ paramsObj.lifeGroupBuyMain.groupType = localGet("businessSection");
|
|
|
paramsObj.lifeGroupBuyMain.storeId = localGet("createdId");
|
|
|
if (id.value) {
|
|
|
paramsObj.lifeGroupBuyMain.id = id.value;
|