Commit d5190dca authored by youjie's avatar youjie

no message

parent e71f69f1
...@@ -786,9 +786,8 @@ var tripUtils = { ...@@ -786,9 +786,8 @@ var tripUtils = {
if (B2BDomain) { if (B2BDomain) {
var url = "http://" + B2BDomain; var url = "http://" + B2BDomain;
window.open( window.open(
url + '/#/OneDayDetailTwo/' + url + '/#/detail/XXcsyIZsyIY%3D/' +
encodeURIComponent(ConfigId) + '/' + tcid + encodeURIComponent(ConfigId) + '/' + tcid,
'/preview',
'_blank' '_blank'
) )
} }
...@@ -798,11 +797,10 @@ var tripUtils = { ...@@ -798,11 +797,10 @@ var tripUtils = {
if (B2BDomain) { if (B2BDomain) {
var url = "http://" + B2BDomain; var url = "http://" + B2BDomain;
window.open( window.open(
url + "/#/detailTwo/" + url + "/#/detail/XXcsyIZsyIY%3D/" +
encodeURIComponent(ConfigId) + encodeURIComponent(ConfigId) +
"/" + "/" +
tcid + tcid,
"/preview",
"_blank" "_blank"
); );
} }
...@@ -812,8 +810,7 @@ var tripUtils = { ...@@ -812,8 +810,7 @@ var tripUtils = {
if (B2BDomain) { if (B2BDomain) {
var url = "http://" + B2BDomain; var url = "http://" + B2BDomain;
window.open( window.open(
url + "/#/details/" + url + "/#/details/" +-encodeURIComponent(ConfigId) +
encodeURIComponent(ConfigId) +
"/" + "/" +
tcid , tcid ,
"_blank" "_blank"
......
...@@ -1331,11 +1331,13 @@ ...@@ -1331,11 +1331,13 @@
}, },
methods: { methods: {
goB2Bdetail(ConfigId, tcid) { goB2Bdetail(ConfigId, tcid) {
var url = "http://" + 'www.oytour.com'; var B2BDomain = this.CurrentUserInfo.B2BDomain//'www.oytour.com';
window.open( this.$tripUtils.GotoB2BPage(B2BDomain,encodeURIComponent(ConfigId),tcid);
url + "/#/detail/XXcsyIZsyIY%3D/" +tcid +"/" +encodeURIComponent(ConfigId), // var url = "http://" + 'www.oytour.com';
"_blank" // window.open(
); // url + "/#/detail/XXcsyIZsyIY%3D/" +tcid +"/" +encodeURIComponent(ConfigId),
// "_blank"
// );
}, },
getCountry() { getCountry() {
//获取国家 //获取国家
......
...@@ -858,6 +858,17 @@ ...@@ -858,6 +858,17 @@
</div> </div>
</div> </div>
</div> </div>
<el-form-item
label="自取地址"
prop="SelffetchAddress"
>
<el-input
type="text"
v-model="addMsg.SelffetchAddress"
maxlength="100"
class="w300"
></el-input>
</el-form-item>
<el-form-item <el-form-item
:label="$t('restaurant.res_BusinessHours')" :label="$t('restaurant.res_BusinessHours')"
prop="OpeningHours" prop="OpeningHours"
...@@ -888,14 +899,14 @@ ...@@ -888,14 +899,14 @@
<span class="resource-lititle sheshi">景点门票类型</span> <span class="resource-lititle sheshi">景点门票类型</span>
<div class="res-span margin-bottom"> <div class="res-span margin-bottom">
<el-tree <el-tree
:data="categoryTree" default-expand-all :data="categoryTree" default-expand-all
:props="{label: 'CategoryName', children: 'SubList'}" :props="{label: 'CategoryName', children: 'SubList'}"
show-checkbox show-checkbox
node-key="Id" node-key="Id"
ref="treeForm" ref="treeForm"
@check-change="handleNodeClick" @check-change="handleNodeClick"
> >
</el-tree> </el-tree>
</div> </div>
<span class="resource-lititle sheshi">{{ <span class="resource-lititle sheshi">{{
$t("restaurant.res_detailInformation") $t("restaurant.res_detailInformation")
...@@ -1362,6 +1373,7 @@ export default { ...@@ -1362,6 +1373,7 @@ export default {
PlayTimeHour: "", //游玩小时 PlayTimeHour: "", //游玩小时
PlayTimeMinutes: "", //游玩分钟 PlayTimeMinutes: "", //游玩分钟
IsIncludeLeader: 0, //是否包含领队:0-包含,1-不包含 IsIncludeLeader: 0, //是否包含领队:0-包含,1-不包含
SelffetchAddress:'',//邮寄地址
}, },
rules: { rules: {
//表单必填验证 //表单必填验证
...@@ -1411,6 +1423,13 @@ export default { ...@@ -1411,6 +1423,13 @@ export default {
trigger: "change", trigger: "change",
}, },
], ],
SelffetchAddress: [
{
required: true,
message: "请输入邮寄地址",
trigger: "blur"
}
],
}, },
}; };
}, },
......
...@@ -474,6 +474,11 @@ input[type="number"] { ...@@ -474,6 +474,11 @@ input[type="number"] {
<el-input v-model='addMsg.CurrentRate' @keyup.native="checkRate(addMsg,'CurrentRate')"></el-input> <el-input v-model='addMsg.CurrentRate' @keyup.native="checkRate(addMsg,'CurrentRate')"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4">
<el-form-item label="邮寄费" prop="MailingMoney">
<el-input v-model='addMsg.MailingMoney' @keyup.native="checkRate(addMsg,'MailingMoney')"></el-input>
</el-form-item>
</el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item :label="$t('hotel.hotel_remark')" prop="Remark"> <el-form-item :label="$t('hotel.hotel_remark')" prop="Remark">
<el-input type="textarea" v-model="addMsg.Remark"></el-input> <el-input type="textarea" v-model="addMsg.Remark"></el-input>
...@@ -525,7 +530,8 @@ export default { ...@@ -525,7 +530,8 @@ export default {
StartDate: "", StartDate: "",
EndDate: "", EndDate: "",
CurrencyId: 0, CurrencyId: 0,
CurrentRate: 0.0 CurrentRate: 0.0,
MailingMoney: null,//邮寄费
}, },
rules: { rules: {
//表单必填验证 //表单必填验证
...@@ -617,7 +623,18 @@ export default { ...@@ -617,7 +623,18 @@ export default {
message: "请输输入汇率", message: "请输输入汇率",
trigger: "change" trigger: "change"
} }
] ],
MailingMoney: [
{
required: true,
message: "请输入邮寄费",
trigger: "blur"
},
{
pattern: this.$commonUtils.Regex.el_Isdecimal,
message: "请输入两位小数"
}
],
}, },
msg: { msg: {
pageIndex: 1, pageIndex: 1,
......
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