Commit 3359691f authored by 黄奎's avatar 黄奎

erp跳转调整

parent b2aade11
......@@ -909,7 +909,7 @@
IsSelectPayMoney: 0,
IsOffline: -1,
OrderEduType: 0,
Q_OrderEduType:1
Q_OrderEduType: 1
},
IsSelectPayMoney: 0,
platList: [],
......@@ -1817,9 +1817,9 @@
ECOrderDetailId: list.Id
}],
};
// window.open('http://www.test.com:8081/#/ChoiceAddFinancialDocuments?Type=1&companyID='+companyID+'&orderObj='+JSON.stringify(orderObj))
var erpSiteUrl = this.domainManager().ErpWebUrl;
window.open(
"http://yx.oytour.com/#/ChoiceAddFinancialDocuments?Type=1&companyID=" +
erpSiteUrl + "/#/ChoiceAddFinancialDocuments?Type=1&companyID=" +
companyID +
"&orderObj=" +
JSON.stringify(orderObj)
......@@ -1840,9 +1840,9 @@
ECOrderDetailId: list.Id
}],
};
// window.open('http://www.test.com:8081/#/ChoiceAddFinancialDocuments?Type=2&companyID='+companyID+'&orderObj='+JSON.stringify(orderObj))
var erpSiteUrl = this.domainManager().ErpWebUrl;
window.open(
"http://yx.oytour.com/#/ChoiceAddFinancialDocuments?Type=2&companyID=" +
erpSiteUrl + "/#/ChoiceAddFinancialDocuments?Type=2&companyID=" +
companyID +
"&orderObj=" +
JSON.stringify(orderObj)
......@@ -1850,13 +1850,13 @@
},
goSF(item) {
//收入详情
// window.open('http://localhost:8181/#/financial/financalDocument/FinancialDocumentsDetail?id='+item.FrID,"_blank")
window.open('http://edu.oytour.com/#/financial/financalDocument/FinancialDocumentsDetail?id='+item.FrID,"_blank")
window.open('http://edu.oytour.com/#/financial/financalDocument/FinancialDocumentsDetail?id=' + item.FrID,
"_blank")
},
goZF(item) {
//付款详情
// window.open('http://localhost:8181/#/financial/financalDocument/FinancialDocumentsDetail?id='+item.FrID,"_blank")
window.open('http://edu.oytour.com/#/financial/financalDocument/FinancialDocumentsDetail?id='+item.FrID,"_blank")
window.open('http://edu.oytour.com/#/financial/financalDocument/FinancialDocumentsDetail?id=' + item.FrID,
"_blank")
},
// 运费成本制单
yunfeizhidan(id) {
......@@ -1882,7 +1882,7 @@
});
that.getList()
}
},()=>{
}, () => {
loading.close()
});
})
......
......@@ -1580,8 +1580,8 @@
ECOrderDetailId: list.Id
}]
}
// window.open('http://www.test.com:8081/#/ChoiceAddFinancialDocuments?Type=1&companyID='+companyID+'&orderObj='+JSON.stringify(orderObj))
window.open('http://yx.oytour.com/#/ChoiceAddFinancialDocuments?Type=1&companyID=' + companyID + '&orderObj=' +
var erpSiteUrl = this.domainManager().ErpWebUrl;
window.open(erpSiteUrl + '/#/ChoiceAddFinancialDocuments?Type=1&companyID=' + companyID + '&orderObj=' +
JSON.stringify(orderObj))
},
goPayment(item, list) { //跳到erp付款单
......@@ -1597,18 +1597,18 @@
ECOrderDetailId: list.Id
}]
}
// window.open('http://www.test.com:8081/#/ChoiceAddFinancialDocuments?Type=2&companyID='+companyID+'&orderObj='+JSON.stringify(orderObj))
window.open('http://yx.oytour.com/#/ChoiceAddFinancialDocuments?Type=2&companyID=' + companyID + '&orderObj=' +
var erpSiteUrl = this.domainManager().ErpWebUrl;
window.open(erpSiteUrl + '/#/ChoiceAddFinancialDocuments?Type=2&companyID=' + companyID + '&orderObj=' +
JSON.stringify(orderObj))
},
goSF(item) { //收入详情
// window.open('http://www.test.com:8081/#/FinancialDocumentsDetail?id='+item.FrID+'&Conditon=1&tab=%E5%8D%95%E6%8D%AE%E8%AF%A6%E6%83%85')
window.open('http://yx.oytour.com/#/FinancialDocumentsDetail?id=' + item.FrID +
var erpSiteUrl = this.domainManager().ErpWebUrl;
window.open(erpSiteUrl + '/#/FinancialDocumentsDetail?id=' + item.FrID +
'&Conditon=1&tab=%E5%8D%95%E6%8D%AE%E8%AF%A6%E6%83%85')
},
goZF(item) { //付款详情
// window.open('http://www.test.com:8081/#/FinancialDocumentsDetail?id='+item.FrID+'&Conditon=1&tab=%E5%8D%95%E6%8D%AE%E8%AF%A6%E6%83%85')
window.open('http://yx.oytour.com/#/FinancialDocumentsDetail?id=' + item.FrID +
var erpSiteUrl = this.domainManager().ErpWebUrl;
window.open(erpSiteUrl + '/#/FinancialDocumentsDetail?id=' + item.FrID +
'&Conditon=1&tab=%E5%8D%95%E6%8D%AE%E8%AF%A6%E6%83%85')
}
},
......
......@@ -149,11 +149,13 @@
</div>
<div style="margin-bottom: 5px;">
<span style="margin-right: 10px;">
老师:<el-tag size="small" style="margin-right:5px;" v-for="(subItem,index) in list.SpecificationList" :key="index">{{subItem}}</el-tag>
老师:<el-tag size="small" style="margin-right:5px;"
v-for="(subItem,index) in list.SpecificationList" :key="index">{{subItem}}</el-tag>
</span>
</div>
<div style="margin-bottom: 5px;" v-if="list.MemberEducationCouponList.length>0">
课程卡信息: <span v-for="(childItem,childIndex) in list.MemberEducationCouponList" :key="childIndex">
课程卡信息: <span v-for="(childItem,childIndex) in list.MemberEducationCouponList"
:key="childIndex">
{{childItem.Name}}
</span>
</div>
......@@ -271,7 +273,8 @@
{{MItem.Name}}券,{{MItem.CouponType==1?'满'+MItem.MinConsumePrice+'元减'+MItem.DiscountsPrice+'元':'满'+MItem.MinConsumePrice+'元打'+MItem.DiscountsPrice+'折'}}
</span>
</div>
<div style="font-size: 12px" v-if="item.EducationMoney&& item.EducationMoney!=''&& item.EducationMoney>0">
<div style="font-size: 12px"
v-if="item.EducationMoney&& item.EducationMoney!=''&& item.EducationMoney>0">
<span>课程卡抵扣金额:{{item.EducationMoney}}</span>
</div>
</div>
......@@ -527,7 +530,8 @@
<el-input size="small" v-model="priceMsg.Income" @keyup.native="checkPrice(priceMsg,'Income')"></el-input>
</el-form-item>
<el-form-item v-if="priceType==2" label="运费">
<el-input size="small" v-model="priceMsg.FreightMoney" @keyup.native="checkPrice(priceMsg,'FreightMoney')"></el-input>
<el-input size="small" v-model="priceMsg.FreightMoney" @keyup.native="checkPrice(priceMsg,'FreightMoney')">
</el-input>
</el-form-item>
</el-form>
<span slot="footer" class="dialog-footer">
......@@ -1443,14 +1447,14 @@
msg = {
Id: this.costMsg.Id,
CostMoney: Number(this.costMsg.Money),
EmpId:this.getLocalStorage().EmpId
EmpId: this.getLocalStorage().EmpId
}
} else if (this.cosType == 2) {
cmd = '/api/order/SetOrderFreightCostMoney';
msg = {
Id: this.costMsg.Id,
FreightCostMoney: Number(this.costMsg.Money),
EmpId:this.getLocalStorage().EmpId
EmpId: this.getLocalStorage().EmpId
}
}
this.apipost(cmd, msg,
......@@ -1542,8 +1546,8 @@
ECOrderDetailId: list.Id
}]
}
// window.open('http://www.test.com:8081/#/ChoiceAddFinancialDocuments?Type=1&companyID='+companyID+'&orderObj='+JSON.stringify(orderObj))
window.open('http://yx.oytour.com/#/ChoiceAddFinancialDocuments?Type=1&companyID=' + companyID + '&orderObj=' +
var erpSiteUrl = this.domainManager().ErpWebUrl;
window.open(erpSiteUrl + '/#/ChoiceAddFinancialDocuments?Type=1&companyID=' + companyID + '&orderObj=' +
JSON.stringify(orderObj))
},
goPayment(item, list) { //跳到erp付款单
......@@ -1559,18 +1563,18 @@
ECOrderDetailId: list.Id
}]
}
// window.open('http://www.test.com:8081/#/ChoiceAddFinancialDocuments?Type=2&companyID='+companyID+'&orderObj='+JSON.stringify(orderObj))
window.open('http://yx.oytour.com/#/ChoiceAddFinancialDocuments?Type=2&companyID=' + companyID + '&orderObj=' +
var erpSiteUrl = this.domainManager().ErpWebUrl;
window.open(erpSiteUrl + '/#/ChoiceAddFinancialDocuments?Type=2&companyID=' + companyID + '&orderObj=' +
JSON.stringify(orderObj))
},
goSF(item) { //收入详情
// window.open('http://www.test.com:8081/#/FinancialDocumentsDetail?id='+item.FrID+'&Conditon=1&tab=%E5%8D%95%E6%8D%AE%E8%AF%A6%E6%83%85')
window.open('http://yx.oytour.com/#/FinancialDocumentsDetail?id=' + item.FrID +
var erpSiteUrl = this.domainManager().ErpWebUrl;
window.open(erpSiteUrl + '/#/FinancialDocumentsDetail?id=' + item.FrID +
'&Conditon=1&tab=%E5%8D%95%E6%8D%AE%E8%AF%A6%E6%83%85')
},
goZF(item) { //付款详情
// window.open('http://www.test.com:8081/#/FinancialDocumentsDetail?id='+item.FrID+'&Conditon=1&tab=%E5%8D%95%E6%8D%AE%E8%AF%A6%E6%83%85')
window.open('http://yx.oytour.com/#/FinancialDocumentsDetail?id=' + item.FrID +
var erpSiteUrl = this.domainManager().ErpWebUrl;
window.open(erpSiteUrl + '/#/FinancialDocumentsDetail?id=' + item.FrID +
'&Conditon=1&tab=%E5%8D%95%E6%8D%AE%E8%AF%A6%E6%83%85')
}
},
......
......@@ -167,7 +167,7 @@
<template v-else>
<el-tag size="mini">到店分配</el-tag>
</template>
<el-popover placement="right" popper-class="piliangPop" width="350" trigger="click" >
<el-popover placement="right" popper-class="piliangPop" width="350" trigger="click">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td>服务人员</td>
......@@ -1537,14 +1537,14 @@
msg = {
Id: this.costMsg.Id,
CostMoney: Number(this.costMsg.Money),
EmpId:this.getLocalStorage().EmpId
EmpId: this.getLocalStorage().EmpId
}
} else if (this.cosType == 2) {
cmd = '/api/order/SetOrderFreightCostMoney';
msg = {
Id: this.costMsg.Id,
FreightCostMoney: Number(this.costMsg.Money),
EmpId:this.getLocalStorage().EmpId
EmpId: this.getLocalStorage().EmpId
}
}
this.apipost(cmd, msg,
......@@ -1607,8 +1607,8 @@
ECOrderDetailId: list.Id
}]
}
// window.open('http://www.test.com:8081/#/ChoiceAddFinancialDocuments?Type=1&companyID='+companyID+'&orderObj='+JSON.stringify(orderObj))
window.open('http://yx.oytour.com/#/ChoiceAddFinancialDocuments?Type=1&companyID=' + companyID + '&orderObj=' +
var erpSiteUrl = this.domainManager().ErpWebUrl;
window.open(erpSiteUrl + '/#/ChoiceAddFinancialDocuments?Type=1&companyID=' + companyID + '&orderObj=' +
JSON.stringify(orderObj))
},
goPayment(item, list) { //跳到erp付款单
......@@ -1624,18 +1624,18 @@
ECOrderDetailId: list.Id
}]
}
// window.open('http://www.test.com:8081/#/ChoiceAddFinancialDocuments?Type=2&companyID='+companyID+'&orderObj='+JSON.stringify(orderObj))
window.open('http://yx.oytour.com/#/ChoiceAddFinancialDocuments?Type=2&companyID=' + companyID + '&orderObj=' +
var erpSiteUrl = this.domainManager().ErpWebUrl;
window.open(erpSiteUrl + '/#/ChoiceAddFinancialDocuments?Type=2&companyID=' + companyID + '&orderObj=' +
JSON.stringify(orderObj))
},
goSF(item) { //收入详情
// window.open('http://www.test.com:8081/#/FinancialDocumentsDetail?id='+item.FrID+'&Conditon=1&tab=%E5%8D%95%E6%8D%AE%E8%AF%A6%E6%83%85')
window.open('http://yx.oytour.com/#/FinancialDocumentsDetail?id=' + item.FrID +
var erpSiteUrl = this.domainManager().ErpWebUrl;
window.open(erpSiteUrl + '/#/FinancialDocumentsDetail?id=' + item.FrID +
'&Conditon=1&tab=%E5%8D%95%E6%8D%AE%E8%AF%A6%E6%83%85')
},
goZF(item) { //付款详情
// window.open('http://www.test.com:8081/#/FinancialDocumentsDetail?id='+item.FrID+'&Conditon=1&tab=%E5%8D%95%E6%8D%AE%E8%AF%A6%E6%83%85')
window.open('http://yx.oytour.com/#/FinancialDocumentsDetail?id=' + item.FrID +
var erpSiteUrl = this.domainManager().ErpWebUrl;
window.open(erpSiteUrl + '/#/FinancialDocumentsDetail?id=' + item.FrID +
'&Conditon=1&tab=%E5%8D%95%E6%8D%AE%E8%AF%A6%E6%83%85')
}
},
......
......@@ -479,11 +479,15 @@
src="../../assets/img/userman/sale.png" alt="" />
</el-tooltip>
<!--待处理-->
<el-tooltip class="item" effect="dark" :content="'同意'+((item.CancelRemark&&item.CancelRemark!='')?('【申请理由:'+item.CancelRemark+'】'):'')" placement="top" v-if="item.OrderStatus == 6">
<el-tooltip class="item" effect="dark"
:content="'同意'+((item.CancelRemark&&item.CancelRemark!='')?('【申请理由:'+item.CancelRemark+'】'):'')"
placement="top" v-if="item.OrderStatus == 6">
<img @click="pending(item, 1)" v-if="item.OrderStatus == 6" class="app-order-icon"
src="../../assets/img/userman/pass.png" alt="" />
</el-tooltip>
<el-tooltip class="item" effect="dark" :content="'拒绝'+((item.CancelRemark&&item.CancelRemark!='')?('【申请理由:'+item.CancelRemark+'】'):'')" placement="top" v-if="item.OrderStatus == 6">
<el-tooltip class="item" effect="dark"
:content="'拒绝'+((item.CancelRemark&&item.CancelRemark!='')?('【申请理由:'+item.CancelRemark+'】'):'')"
placement="top" v-if="item.OrderStatus == 6">
<img @click="pending(item, 2)" v-if="item.OrderStatus == 6" class="app-order-icon"
src="../../assets/img/userman/nopass.png" alt="" />
</el-tooltip>
......@@ -1805,9 +1809,9 @@
ECOrderDetailId: list.Id
}],
};
// window.open('http://www.test.com:8081/#/ChoiceAddFinancialDocuments?Type=1&companyID='+companyID+'&orderObj='+JSON.stringify(orderObj))
var erpSiteUrl = this.domainManager().ErpWebUrl;
window.open(
"http://yx.oytour.com/#/ChoiceAddFinancialDocuments?Type=1&companyID=" +
erpSiteUrl + "/#/ChoiceAddFinancialDocuments?Type=1&companyID=" +
companyID +
"&orderObj=" +
JSON.stringify(orderObj)
......@@ -1828,9 +1832,9 @@
ECOrderDetailId: list.Id
}],
};
// window.open('http://www.test.com:8081/#/ChoiceAddFinancialDocuments?Type=2&companyID='+companyID+'&orderObj='+JSON.stringify(orderObj))
var erpSiteUrl = this.domainManager().ErpWebUrl;
window.open(
"http://yx.oytour.com/#/ChoiceAddFinancialDocuments?Type=2&companyID=" +
erpSiteUrl + "/#/ChoiceAddFinancialDocuments?Type=2&companyID=" +
companyID +
"&orderObj=" +
JSON.stringify(orderObj)
......@@ -1838,18 +1842,18 @@
},
goSF(item) {
//收入详情
// window.open('http://www.test.com:8081/#/FinancialDocumentsDetail?id='+item.FrID+'&Conditon=1&tab=%E5%8D%95%E6%8D%AE%E8%AF%A6%E6%83%85')
var erpSiteUrl = this.domainManager().ErpWebUrl;
window.open(
"http://yx.oytour.com/#/FinancialDocumentsDetail?id=" +
erpSiteUrl + "/#/FinancialDocumentsDetail?id=" +
item.FrID +
"&Conditon=1&tab=%E5%8D%95%E6%8D%AE%E8%AF%A6%E6%83%85"
);
},
goZF(item) {
//付款详情
// window.open('http://www.test.com:8081/#/FinancialDocumentsDetail?id='+item.FrID+'&Conditon=1&tab=%E5%8D%95%E6%8D%AE%E8%AF%A6%E6%83%85')
var erpSiteUrl = this.domainManager().ErpWebUrl;
window.open(
"http://yx.oytour.com/#/FinancialDocumentsDetail?id=" +
erpSiteUrl + "/#/FinancialDocumentsDetail?id=" +
item.FrID +
"&Conditon=1&tab=%E5%8D%95%E6%8D%AE%E8%AF%A6%E6%83%85"
);
......
......@@ -57,18 +57,20 @@ export default {
let javaUrl = 'http://192.168.5.214:8018';
let vtUploadUrl = "http://192.168.5.214:8120";
let vtViewUrl = "http://192.168.5.214:8130";
let erpWebUrl = "http://localhost:8080";
let locationName = window.location.hostname;
if (locationName.indexOf('testmall.oytour') !== -1) {
domainUrl = "https://mallapi.oytour.com";
javaUrl = "http://property.oytour.com";
vtUploadUrl = "http://upload.oytour.com";
vtViewUrl = "https://imgfile.oytour.com";
erpWebUrl = "http://admin.oytour.com";
} else if (locationName.indexOf('oytour') !== -1) {
domainUrl = "https://mallapi.oytour.com";
javaUrl = "http://property.oytour.com";
vtUploadUrl = "http://upload.oytour.com";
vtViewUrl = "https://imgfile.oytour.com";
erpWebUrl = "http://admin.oytour.com";
}
var obj = {
//主地址npm
......@@ -83,7 +85,8 @@ export default {
//文件上传自己服务器
VTUploadUrl: vtUploadUrl,
//文件预览自己服务器
VTViewUrl: vtViewUrl
VTViewUrl: vtViewUrl,
ErpWebUrl: erpWebUrl
};
return obj;
},
......
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