Commit 6c01a9f3 authored by 黄奎's avatar 黄奎

新增餐链接和餐标处理

parent b4001fbe
......@@ -223,13 +223,27 @@
<template v-if="subItem.LunchName&&subItem.LunchName!=''">
午: {{subItem.LunchName}}<br />
<template v-if="subItem.LunchRealName&&subItem.LunchRealName!=''">
<font style="color:red;"> 真实名称:{{subItem.LunchRealName}}</font><br />
<font style="color:red;"> 真实名称:
<template v-if="subItem.LunchUrl&&subItem.LunchUrl!=''">
<a :href="subItem.LunchUrl" target="_blank"
style="cursor:pointer;text-decoration: underline;color:red;">{{subItem.LunchRealName}}</a>
</template>
<template v-else>{{subItem.LunchRealName}}
</template>
</font><br />
</template>
</template>
<template v-if="subItem.DinnerName&&subItem.DinnerName!=''">
晚: {{subItem.DinnerName}}<br />
<template v-if="subItem.DinnerRealName&&subItem.DinnerRealName!=''">
<font style="color:red;">真实名称:{{subItem.DinnerRealName}}</font><br />
<font style="color:red;">真实名称:
<template v-if="subItem.DinnerUrl&&subItem.DinnerUrl!=''">
<a :href="subItem.DinnerUrl" target="_blank"
style="cursor:pointer;text-decoration: underline;color:red;">{{subItem.DinnerRealName}}</a>
</template>
<template v-else>{{subItem.DinnerRealName}}
</template>
</font><br />
</template>
</template>
</td>
......
......@@ -126,13 +126,27 @@
<template v-if="subItem.LunchName&&subItem.LunchName!=''">
午: {{subItem.LunchName}}<br />
<template v-if="subItem.LunchRealName&&subItem.LunchRealName!=''">
<font style="color:red;"> 真实名称:{{subItem.LunchRealName}}</font><br />
<font style="color:red;"> 真实名称:
<template v-if="subItem.LunchUrl&&subItem.LunchUrl!=''">
<a :href="subItem.LunchUrl" target="_blank"
style="cursor:pointer;text-decoration: underline;color:red;">{{subItem.LunchRealName}}</a>
</template>
<template v-else>{{subItem.LunchRealName}}
</template>
</font><br />
</template>
</template>
<template v-if="subItem.DinnerName&&subItem.DinnerName!=''">
晚: {{subItem.DinnerName}}<br />
<template v-if="subItem.DinnerRealName&&subItem.DinnerRealName!=''">
<font style="color:red;">真实名称:{{subItem.DinnerRealName}}</font><br />
<font style="color:red;">真实名称:
<template v-if="subItem.DinnerUrl&&subItem.DinnerUrl!=''">
<a :href="subItem.DinnerUrl" target="_blank"
style="cursor:pointer;text-decoration: underline;color:red;">{{subItem.DinnerRealName}}</a>
</template>
<template v-else>{{subItem.DinnerRealName}}
</template>
</font><br />
</template>
</template>
</td>
......
......@@ -379,6 +379,10 @@
ckDinnerObj.UnitPrice = item.UnitPrice;
}
})
if (ckDinnerObj.UnitPrice <= 0) {
this.Error("此餐厅未设置餐标,请联系地接OP设置餐标!");
return;
}
}
} else {
if (this.qMsg.DinnerType == 2 || this.qMsg.DinnerType == 3) {
......@@ -401,6 +405,7 @@
}
}
}
this.$emit("chooseDinner", ckDinnerObj);
},
//获取日本下面的市->下拉框用
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment