Commit b4620127 authored by 黄奎's avatar 黄奎
parents a586d66d 5c6d27db
...@@ -410,7 +410,7 @@ ...@@ -410,7 +410,7 @@
</el-form-item> </el-form-item>
<el-form-item label="购买须知" prop="OtherTag"> <el-form-item label="购买须知" prop="OtherTag">
<!-- <el-input class="w300" type="text" v-model="addMsg.OtherTag" maxlength="200"></el-input> --> <!-- <el-input class="w300" type="text" v-model="addMsg.OtherTag" maxlength="200"></el-input> -->
<my-edit v-on:edit-value="addMsg.InstructionsList = arguments[0]" v-bind:editValue="addMsg.OtherTag" <my-edit v-on:edit-value="addMsg.OtherTag = arguments[0]" v-bind:editValue="addMsg.OtherTag"
v-bind:toolbarShow="toolbar" v-bind:referenceList="DefaultList" v-bind:placeholder="placeholder"></my-edit> v-bind:toolbarShow="toolbar" v-bind:referenceList="DefaultList" v-bind:placeholder="placeholder"></my-edit>
</el-form-item> </el-form-item>
<el-form-item label="套餐图片" prop="MealPic"> <el-form-item label="套餐图片" prop="MealPic">
...@@ -573,6 +573,10 @@ import MyEdit from "@/components/EditTemplate.vue"; ...@@ -573,6 +573,10 @@ import MyEdit from "@/components/EditTemplate.vue";
}, err => {}) }, err => {})
}, },
saveResource() { saveResource() {
if(!this.addMsg.MealPic){
this.Error("请上传套餐图片")
return
}
if(Array.isArray(this.UsageTimeListArr)){ if(Array.isArray(this.UsageTimeListArr)){
this.addMsg.UsageTime=this.UsageTimeListArr.toString() this.addMsg.UsageTime=this.UsageTimeListArr.toString()
} }
......
...@@ -3111,16 +3111,16 @@ ...@@ -3111,16 +3111,16 @@
</el-upload> </el-upload>
</el-dialog> </el-dialog>
<el-dialog custom-class='w450' title="op确认" :visible.sync="isShowOpSure" center> <el-dialog custom-class='w450' title="取消确认" :visible.sync="isShowOpSure" center>
<el-form label-width="110px"> <el-form label-width="110px">
<el-form-item label="审核状态"> <el-form-item label="审核状态">
<el-radio v-model="OpSureMsg.AuditState" :label="1">通过</el-radio> <el-radio v-model="OpSureMsg.AuditState" :label="1">通过</el-radio>
<el-radio v-model="OpSureMsg.AuditState" :label="2">拒绝</el-radio> <el-radio v-model="OpSureMsg.AuditState" :label="2">拒绝</el-radio>
</el-form-item> </el-form-item>
<template v-if="OpSureMsg.AuditState==1"> <el-form-item label="审核备注" v-if="OpSureMsg.AuditState==2">
<el-form-item label="审核备注">
<el-input type="textarea" :rows="4" v-model="OpSureMsg.Remark"></el-input> <el-input type="textarea" :rows="4" v-model="OpSureMsg.Remark"></el-input>
</el-form-item> </el-form-item>
<template v-if="OpSureMsg.AuditState==1">
<el-form-item label="是否收损"> <el-form-item label="是否收损">
<el-radio v-model="OpSureMsg.IsLoss" :label="1"></el-radio> <el-radio v-model="OpSureMsg.IsLoss" :label="1"></el-radio>
<el-radio v-model="OpSureMsg.IsLoss" :label="2"></el-radio> <el-radio v-model="OpSureMsg.IsLoss" :label="2"></el-radio>
......
...@@ -68,11 +68,11 @@ ...@@ -68,11 +68,11 @@
<el-table-column prop="CouponMoney" label="成本" width="80"> <el-table-column prop="CouponMoney" label="成本" width="80">
<template slot-scope="scope"> <template slot-scope="scope">
<div style="display: flex;align-items: center;"> <div style="display: flex;align-items: center;">
<span v-if="scope.row.OrderType==1">{{scope.row.HotelList[0].CostMoney}}</span> <span v-if="scope.row.OrderType==1">{{scope.row.HotelList[0].CostMoney?scope.row.HotelList[0].CostMoney:0}}</span>
<span v-if="scope.row.OrderType==2">{{scope.row.DiningList[0].CostMoney}}</span> <span v-if="scope.row.OrderType==2">{{scope.row.DiningList[0].CostMoney?scope.row.DiningList[0].CostMoney:0}}</span>
<span v-if="scope.row.OrderType==3">{{scope.row.TicketList[0].CostMoney}}</span> <span v-if="scope.row.OrderType==3">{{scope.row.TicketList[0].CostMoney?scope.row.TicketList[0].CostMoney:0}}</span>
<span v-if="scope.row.OrderType==4">{{scope.row.CarList[0].CostMoney}}</span> <span v-if="scope.row.OrderType==4">{{scope.row.CarList[0].CostMoney?scope.row.CarList[0].CostMoney:0}}</span>
<span v-if="scope.row.OrderType==5">{{scope.row.SDGoodsList[0].CostMoney}}</span> <span v-if="scope.row.OrderType==5">{{scope.row.SDGoodsList[0].CostMoney?scope.row.SDGoodsList[0].CostMoney:0}}</span>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
</div> </div>
<div style="margin-top:10px"> <div style="margin-top:10px">
<span style="margin-right:10px">客户名称</span> <span style="margin-right:10px">客户名称</span>
<el-select class="w200" v-model="finMsg.ClientID" size="small" placeholder="请选择" @change="getName(finMsg.ClientID)"> <el-select class="w200" v-model="finMsg.ClientID" size="small" filterable placeholder="请选择" @change="getName(finMsg.ClientID)">
<el-option v-for="item in ClientAccountList" :key="item.ID" :label="item.Name" :value="item.ID"> <el-option v-for="item in ClientAccountList" :key="item.ID" :label="item.Name" :value="item.ID">
</el-option> </el-option>
</el-select> </el-select>
...@@ -209,10 +209,10 @@ ...@@ -209,10 +209,10 @@
this.ERPEmpId = currentUser.ERPEmpId this.ERPEmpId = currentUser.ERPEmpId
}, },
mounted() { mounted() {
this.getclientList()
this.getList(); this.getList();
this.getplat(); this.getplat();
this.getOrderType(); this.getOrderType();
this.getclientList()
}, },
methods: { methods: {
......
...@@ -155,8 +155,7 @@ ...@@ -155,8 +155,7 @@
<span style="margin-right: 10px;" v-if='item.OrderType == 1'>房间数:x{{list.RoomNumber}}</span> <span style="margin-right: 10px;" v-if='item.OrderType == 1'>房间数:x{{list.RoomNumber}}</span>
<span style="margin-right: 10px;" v-if='item.OrderType == 2 || item.OrderType == 3'>数量:x{{list.PeopleNumber}}</span> <span style="margin-right: 10px;" v-if='item.OrderType == 2 || item.OrderType == 3'>数量:x{{list.PeopleNumber}}</span>
</div> </div>
<div style="margin-bottom: 5px;" >单价:¥{{list.Unit_Price}} </div> <div style="margin-bottom: 5px;" > <span>单价:¥{{list.Unit_Price}}</span></div>
<div style="margin-bottom: 5px;" v-if='item.OrderType == 1'>入店时间:{{list.StartDate}} - {{list.EndDate}}</div> <div style="margin-bottom: 5px;" v-if='item.OrderType == 1'>入店时间:{{list.StartDate}} - {{list.EndDate}}</div>
<div style="margin-bottom: 5px;" v-if='item.OrderType == 4'> <div style="margin-bottom: 5px;" v-if='item.OrderType == 4'>
上车地点:{{list.DepartAddress}} <span style='margin:0 5px'></span> 下车地点:{{list.ArriveAddress}}</div> 上车地点:{{list.DepartAddress}} <span style='margin:0 5px'></span> 下车地点:{{list.ArriveAddress}}</div>
...@@ -2054,6 +2053,9 @@ ...@@ -2054,6 +2053,9 @@
border-radius: 2px; border-radius: 2px;
margin-right: 4px; margin-right: 4px;
} }
.vue-line-clamp span{
font-size:16px;font-weight:bold
}
</style> </style>
...@@ -115,6 +115,7 @@ export default { ...@@ -115,6 +115,7 @@ export default {
Vue.prototype.domainManager = function () { Vue.prototype.domainManager = function () {
let domainUrl = ''; let domainUrl = '';
let mallUrl = ""; //商城API let mallUrl = ""; //商城API
let lxymallUrl = '';//国内游api
let locationName = window.location.hostname; let locationName = window.location.hostname;
// domainUrl = "http://127.0.0.1"; // domainUrl = "http://127.0.0.1";
domainUrl="http://192.168.20.17:8015"; domainUrl="http://192.168.20.17:8015";
...@@ -123,13 +124,15 @@ export default { ...@@ -123,13 +124,15 @@ export default {
javaUrldo = locationName.indexOf('oytour') !== -1 || locationName.indexOf('viitto') !== -1 ? (locationName.indexOf('oytour') !== -1 ? "http://efficient.oytour.com" : "http://47.96.12.235:9001") : "http://192.168.2.215:9000"; javaUrldo = locationName.indexOf('oytour') !== -1 || locationName.indexOf('viitto') !== -1 ? (locationName.indexOf('oytour') !== -1 ? "http://efficient.oytour.com" : "http://47.96.12.235:9001") : "http://192.168.2.215:9000";
//商城API //商城API
// mallUrl = "http://192.168.1.48:8019"; // mallUrl = "http://192.168.1.48:8019";
mallUrl = "http://192.168.20.9:8088";
if (locationName.indexOf('testerp.oytour') !== -1) { if (locationName.indexOf('testerp.oytour') !== -1) {
domainUrl = "http://testapi.oytour.com"; domainUrl = "http://testapi.oytour.com";
mallUrl = "https://mallapi.oytour.com"; mallUrl = "https://mallapi.oytour.com";
lxymallUrl = "https://erpmallapi.oytour.com";
} else if (locationName.indexOf('oytour') !== -1) { } else if (locationName.indexOf('oytour') !== -1) {
domainUrl = "http://reborn.oytour.com"; domainUrl = "http://reborn.oytour.com";
mallUrl = "https://mallapi.oytour.com"; mallUrl = "https://mallapi.oytour.com";
lxymallUrl = "https://erpmallapi.oytour.com";
} }
var obj = { var obj = {
//主地址 //主地址
...@@ -161,6 +164,7 @@ export default { ...@@ -161,6 +164,7 @@ export default {
//Java接口本站文件流下载地址 //Java接口本站文件流下载地址
JavaLocalFileStreamDownLoadUrl: javaUrldo, JavaLocalFileStreamDownLoadUrl: javaUrldo,
mallUrl: mallUrl, mallUrl: mallUrl,
lxymallUrl:lxymallUrl
}; };
return obj; return obj;
}, },
...@@ -1308,7 +1312,7 @@ export default { ...@@ -1308,7 +1312,7 @@ export default {
}, },
//HTTP提交数据 5-18新的 司导旅行新加的 //HTTP提交数据 5-18新的 司导旅行新加的
Vue.prototype.lxymallapipost = function (cmd, msg, successCall, faildCall, isOnline) { Vue.prototype.lxymallapipost = function (cmd, msg, successCall, faildCall, isOnline) {
var apiurl = this.domainManager().mallUrl + cmd; var apiurl = this.domainManager().lxymallUrl + cmd;
var postData = this.GetNewPostData(cmd, msg, ""); var postData = this.GetNewPostData(cmd, msg, "");
this.$http.post(apiurl, postData, { this.$http.post(apiurl, postData, {
headers: { headers: {
......
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