Commit 88372fe2 authored by qiaoyajun's avatar qiaoyajun
parents aa083738 dbaf2af3
...@@ -69,6 +69,8 @@ div{ ...@@ -69,6 +69,8 @@ div{
font-family: SimSun; font-family: SimSun;
font-size: 60px; font-size: 60px;
color: #000000; color: #000000;
position: relative;
z-index: 5;
} }
.hotel_1_header>.hotel_1_header_title>div:nth-child(2){ .hotel_1_header>.hotel_1_header_title>div:nth-child(2){
margin: auto; margin: auto;
...@@ -92,6 +94,8 @@ div{ ...@@ -92,6 +94,8 @@ div{
text-align: center; text-align: center;
font-family: SimSun; font-family: SimSun;
font-size: 34px; font-size: 34px;
position: relative;
z-index: 5;
} }
.hotel_1_header>.hotel_1_header_title>div:nth-child(2)>img:nth-child(3){ .hotel_1_header>.hotel_1_header_title>div:nth-child(2)>img:nth-child(3){
position: absolute; position: absolute;
...@@ -231,6 +235,8 @@ div{ ...@@ -231,6 +235,8 @@ div{
font-size: 30px; font-size: 30px;
line-height: 30px; line-height: 30px;
color: #222222; color: #222222;
position: relative;
z-index: 5;
} }
.hotel_1_info_1_info>.hotel_1_info_1_info_right>div:nth-child(2){ .hotel_1_info_1_info>.hotel_1_info_1_info_right>div:nth-child(2){
margin: 12px 0; margin: 12px 0;
...@@ -249,6 +255,8 @@ div{ ...@@ -249,6 +255,8 @@ div{
font-size: 16px; font-size: 16px;
line-height: 25px; line-height: 25px;
color: #535353; color: #535353;
position: relative;
z-index: 5;
} }
.hotel_1_info_2{ .hotel_1_info_2{
...@@ -375,6 +383,8 @@ div{ ...@@ -375,6 +383,8 @@ div{
font-size: 30px; font-size: 30px;
line-height: 30px; line-height: 30px;
color: #222222; color: #222222;
position: relative;
z-index: 5;
} }
.hotel_1_info_2_bottom>.hotel_1_info_2_bottom_right>div:nth-child(2){ .hotel_1_info_2_bottom>.hotel_1_info_2_bottom_right>div:nth-child(2){
margin: 12px 0; margin: 12px 0;
...@@ -434,6 +444,8 @@ div{ ...@@ -434,6 +444,8 @@ div{
font-size: 30px; font-size: 30px;
line-height: 30px; line-height: 30px;
color: #222222; color: #222222;
position: relative;
z-index: 5;
} }
.hotel_2_info_1>.hotel_2_info_1_content>div:nth-child(2){ .hotel_2_info_1>.hotel_2_info_1_content>div:nth-child(2){
margin: 12px 0; margin: 12px 0;
...@@ -452,6 +464,8 @@ div{ ...@@ -452,6 +464,8 @@ div{
font-size: 16px; font-size: 16px;
line-height: 25px; line-height: 25px;
color: #535353; color: #535353;
position: relative;
z-index: 5;
} }
.hotel_2_info_1>.hotel_2_info_1_img{ .hotel_2_info_1>.hotel_2_info_1_img{
...@@ -617,6 +631,8 @@ div{ ...@@ -617,6 +631,8 @@ div{
font-size: 30px; font-size: 30px;
line-height: 30px; line-height: 30px;
color: #222222; color: #222222;
position: relative;
z-index: 5;
} }
.hotel_2_info_2_top>.hotel_2_info_2_top_right>div:nth-child(2){ .hotel_2_info_2_top>.hotel_2_info_2_top_right>div:nth-child(2){
margin: 12px 0; margin: 12px 0;
...@@ -635,6 +651,8 @@ div{ ...@@ -635,6 +651,8 @@ div{
font-size: 16px; font-size: 16px;
line-height: 25px; line-height: 25px;
color: #535353; color: #535353;
position: relative;
z-index: 5;
} }
.hotel_2_info_2>.hotel_2_info_2_bottom{ .hotel_2_info_2>.hotel_2_info_2_bottom{
...@@ -721,6 +739,8 @@ div{ ...@@ -721,6 +739,8 @@ div{
font-family: SimSun; font-family: SimSun;
font-size: 52px; font-size: 52px;
color: #000000; color: #000000;
position: relative;
z-index: 5;
} }
.viewSpot_1_header>.viewSpot_1_header_title>div:nth-child(1)>div:nth-child(2){ .viewSpot_1_header>.viewSpot_1_header_title>div:nth-child(1)>div:nth-child(2){
display: inline-block; display: inline-block;
...@@ -733,6 +753,8 @@ div{ ...@@ -733,6 +753,8 @@ div{
font-family: SimSun; font-family: SimSun;
font-size: 70px; font-size: 70px;
color: #000000; color: #000000;
position: relative;
z-index: 5;
} }
.viewSpot_1_header>.viewSpot_1_header_title>div:nth-child(1)>div:nth-child(3){ .viewSpot_1_header>.viewSpot_1_header_title>div:nth-child(1)>div:nth-child(3){
display: inline-block; display: inline-block;
...@@ -741,6 +763,8 @@ div{ ...@@ -741,6 +763,8 @@ div{
font-family: SimSun; font-family: SimSun;
font-size: 52px; font-size: 52px;
color: #000000; color: #000000;
position: relative;
z-index: 5;
} }
.viewSpot_1_header>.viewSpot_1_header_title>div:nth-child(2){ .viewSpot_1_header>.viewSpot_1_header_title>div:nth-child(2){
margin: auto; margin: auto;
...@@ -763,6 +787,8 @@ div{ ...@@ -763,6 +787,8 @@ div{
text-align: center; text-align: center;
font-family: SimSun; font-family: SimSun;
font-size: 14px; font-size: 14px;
position: relative;
z-index: 5;
} }
.viewSpot_1_header>.viewSpot_1_header_title>div:nth-child(2)>img:nth-child(3){ .viewSpot_1_header>.viewSpot_1_header_title>div:nth-child(2)>img:nth-child(3){
position: absolute; position: absolute;
...@@ -855,6 +881,8 @@ div{ ...@@ -855,6 +881,8 @@ div{
font-size: 30px; font-size: 30px;
line-height: 30px; line-height: 30px;
color: #222222; color: #222222;
position: relative;
z-index: 5;
} }
.viewSpot_1_info_1_info>.viewSpot_1_info_1_info_right>div:nth-child(2){ .viewSpot_1_info_1_info>.viewSpot_1_info_1_info_right>div:nth-child(2){
margin: 10px 0 0 0; margin: 10px 0 0 0;
...@@ -1020,6 +1048,8 @@ div{ ...@@ -1020,6 +1048,8 @@ div{
font-size: 30px; font-size: 30px;
line-height: 30px; line-height: 30px;
color: #222222; color: #222222;
position: relative;
z-index: 5;
} }
.viewSpot_1_info_2_bottom>.viewSpot_1_info_2_bottom_right>div:nth-child(2){ .viewSpot_1_info_2_bottom>.viewSpot_1_info_2_bottom_right>div:nth-child(2){
margin: 12px 0; margin: 12px 0;
...@@ -1038,6 +1068,8 @@ div{ ...@@ -1038,6 +1068,8 @@ div{
font-size: 16px; font-size: 16px;
line-height: 25px; line-height: 25px;
color: #535353; color: #535353;
position: relative;
z-index: 5;
} }
/* 景点2 */ /* 景点2 */
...@@ -1101,6 +1133,8 @@ div{ ...@@ -1101,6 +1133,8 @@ div{
font-size: 30px; font-size: 30px;
line-height: 30px; line-height: 30px;
color: #222222; color: #222222;
position: relative;
z-index: 5;
} }
.viewSpot_2_info_1_info>.viewSpot_2_info_1_info_right>div:nth-child(2){ .viewSpot_2_info_1_info>.viewSpot_2_info_1_info_right>div:nth-child(2){
width: 100%; width: 100%;
...@@ -1261,6 +1295,8 @@ div{ ...@@ -1261,6 +1295,8 @@ div{
font-size: 30px; font-size: 30px;
line-height: 30px; line-height: 30px;
color: #222222; color: #222222;
position: relative;
z-index: 5;
} }
.viewSpot_2_info_2>.viewSpot_2_info_2_info_1>div:nth-child(2){ .viewSpot_2_info_2>.viewSpot_2_info_2_info_1>div:nth-child(2){
width: 100%; width: 100%;
...@@ -1298,6 +1334,8 @@ div{ ...@@ -1298,6 +1334,8 @@ div{
font-size: 30px; font-size: 30px;
line-height: 30px; line-height: 30px;
color: #222222; color: #222222;
position: relative;
z-index: 5;
} }
.viewSpot_2_info_2>.viewSpot_2_info_2_info_2>div:nth-child(2){ .viewSpot_2_info_2>.viewSpot_2_info_2_info_2>div:nth-child(2){
display: inline-block; display: inline-block;
...@@ -1338,6 +1376,8 @@ div{ ...@@ -1338,6 +1376,8 @@ div{
font-size: 30px; font-size: 30px;
line-height: 30px; line-height: 30px;
color: #222222; color: #222222;
position: relative;
z-index: 5;
} }
.viewSpot_2_info_2>.viewSpot_2_info_2_info_3>div:nth-child(2){ .viewSpot_2_info_2>.viewSpot_2_info_2_info_3>div:nth-child(2){
width: 100%; width: 100%;
...@@ -1550,6 +1590,8 @@ div{ ...@@ -1550,6 +1590,8 @@ div{
font-family: SimSun; font-family: SimSun;
font-size: 52px; font-size: 52px;
color: #000000; color: #000000;
position: relative;
z-index: 5;
} }
.restaurant_1_header>.restaurant_1_header_title>div:nth-child(1)>div:nth-child(2){ .restaurant_1_header>.restaurant_1_header_title>div:nth-child(1)>div:nth-child(2){
display: inline-block; display: inline-block;
...@@ -1562,6 +1604,8 @@ div{ ...@@ -1562,6 +1604,8 @@ div{
font-family: SimSun; font-family: SimSun;
font-size: 70px; font-size: 70px;
color: #000000; color: #000000;
position: relative;
z-index: 5;
} }
.restaurant_1_header>.restaurant_1_header_title>div:nth-child(1)>div:nth-child(3){ .restaurant_1_header>.restaurant_1_header_title>div:nth-child(1)>div:nth-child(3){
display: inline-block; display: inline-block;
...@@ -1570,6 +1614,8 @@ div{ ...@@ -1570,6 +1614,8 @@ div{
font-family: SimSun; font-family: SimSun;
font-size: 52px; font-size: 52px;
color: #000000; color: #000000;
position: relative;
z-index: 5;
} }
.restaurant_1_header>.restaurant_1_header_title>div:nth-child(2){ .restaurant_1_header>.restaurant_1_header_title>div:nth-child(2){
margin: auto; margin: auto;
...@@ -1592,6 +1638,8 @@ div{ ...@@ -1592,6 +1638,8 @@ div{
text-align: center; text-align: center;
font-family: SimSun; font-family: SimSun;
font-size: 14px; font-size: 14px;
position: relative;
z-index: 5;
} }
.restaurant_1_header>.restaurant_1_header_title>div:nth-child(2)>img:nth-child(3){ .restaurant_1_header>.restaurant_1_header_title>div:nth-child(2)>img:nth-child(3){
position: absolute; position: absolute;
...@@ -1684,6 +1732,8 @@ div{ ...@@ -1684,6 +1732,8 @@ div{
font-size: 30px; font-size: 30px;
line-height: 30px; line-height: 30px;
color: #222222; color: #222222;
position: relative;
z-index: 5;
} }
.restaurant_1_info_1_info>.restaurant_1_info_1_info_right>div:nth-child(2){ .restaurant_1_info_1_info>.restaurant_1_info_1_info_right>div:nth-child(2){
margin: 10px 0 0 0; margin: 10px 0 0 0;
...@@ -1841,6 +1891,8 @@ div{ ...@@ -1841,6 +1891,8 @@ div{
font-size: 30px; font-size: 30px;
line-height: 30px; line-height: 30px;
color: #222222; color: #222222;
position: relative;
z-index: 5;
} }
.restaurant_1_info_2_right_bottom>.restaurant_1_info_2_right_bottom_right>div:nth-child(2){ .restaurant_1_info_2_right_bottom>.restaurant_1_info_2_right_bottom_right>div:nth-child(2){
margin: 12px 0; margin: 12px 0;
......
...@@ -282,7 +282,7 @@ ...@@ -282,7 +282,7 @@
</table> </table>
<table border="1" bordercolor="#D2D2D2" style="border-collapse:collapse;margin-top:15px;" width="100%" v-else-if="OrderSource==10"> <table border="1" bordercolor="#D2D2D2" style="border-collapse:collapse;margin-top:15px;" width="100%" v-else-if="OrderSource==10">
<tr class="_fujiashuoming_tr"> <tr class="_fujiashuoming_tr">
<td>签证产品编号:<span @click="jumpPage('VisaProduct',GetDetail,8)" class="_jump_page _font_bold">{{GetDetail.SourceID}}</span></td> <td>签证产品编号:<span @click="jumpPage('VisaProductOrder',GetDetail,8)" class="_jump_page _font_bold">{{GetDetail.SourceID}}</span></td>
<td @click="jumpPage('FinancialOrder',GetDetail,3)"> <span class="_jump_page _font_bold">签证收支</span> </td> <td @click="jumpPage('FinancialOrder',GetDetail,3)"> <span class="_jump_page _font_bold">签证收支</span> </td>
</tr> </tr>
</table> </table>
......
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
<li> <li>
<span> <span>
<em>单号</em> <em>单号</em>
<el-input placeholder="" class="w150" type="number" v-model="msg.FrID"></el-input> <el-input placeholder="" class="w150" v-model="msg.FrID" @keyup.native="checkInteger(msg,'FrID')"></el-input>
</span> </span>
</li> </li>
<li v-if="msg.Conditon==1"> <li v-if="msg.Conditon==1">
...@@ -356,6 +356,7 @@ ...@@ -356,6 +356,7 @@
<button class="hollowFixedBtn" @click="resetPageIndex(),getPageList()">{{$t('pub.searchBtn')}}</button> <button class="hollowFixedBtn" @click="resetPageIndex(),getPageList()">{{$t('pub.searchBtn')}}</button>
<button class="normalBtn" @click="goUrlAdd('ChoiceAddFinancialDocuments')">新增</button> <button class="normalBtn" @click="goUrlAdd('ChoiceAddFinancialDocuments')">新增</button>
<button class="normalBtn" v-if="checkboxShow" @click="Financial_post_SetBatch">批量提交</button> <button class="normalBtn" v-if="checkboxShow" @click="Financial_post_SetBatch">批量提交</button>
<button class="normalBtn" @click="method5()">导出</button>
<button class="hollowFixedBtn" @click="goUrl('WorkEntrustmentMy')">工作委托</button> <button class="hollowFixedBtn" @click="goUrl('WorkEntrustmentMy')">工作委托</button>
</li> </li>
</ul> </ul>
...@@ -1002,6 +1003,26 @@ export default { ...@@ -1002,6 +1003,26 @@ export default {
} }
}, err => {}) }, err => {})
}, },
//导出
method5: function() {
if(!this.msg.ClientID)this.msg.ClientID=0;
if(!this.msg.ClientType)this.msg.ClientType=0;
if(!this.msg.CurrencyId)this.msg.CurrencyId=0;
if(!this.msg.CostTypeID)this.msg.CostTypeID=0;
if(!this.msg.TemplateId)this.msg.TemplateId=0;
if(!this.msg.RB_Branch_Id)this.msg.RB_Branch_Id=-1;
if(!this.msg.RB_Depart_Id)this.msg.RB_Depart_Id=0;
if(!this.msg.UpdateBy)this.msg.UpdateBy=0;
if(!this.msg.TCID)this.msg.TCID=0;
if(!this.msg.OrderID)this.msg.OrderID=0;
if(!this.msg.Status)this.msg.Status=0;
if(!this.msg.FrID)this.msg.FrID=0;
if(!this.msg.Conditon)this.msg.Conditon=1;
if(!this.msg.TradeWay)this.msg.TradeWay=0;
if(!this.msg.AccountType)this.msg.AccountType=0;
this.msg.EmployeeId=this.userId;
this.GetLocalFile("Financial_get_OutToFinanceList", this.msg,"财务报表.xls");
} ,
getDepartment(){ //部门 getDepartment(){ //部门
this.apipost('admin_get_DepartmentGetList', this.getDepartmentMsg, res => { this.apipost('admin_get_DepartmentGetList', this.getDepartmentMsg, res => {
if(res.data.resultCode == 1) { if(res.data.resultCode == 1) {
......
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
<el-row style="padding:15px 20px 0 0;"> <el-row style="padding:15px 20px 0 0;">
<el-col :span="4"> <el-col :span="4">
<el-form-item label="单号:"> <el-form-item label="单号:">
<el-input placeholder="" class="" v-model="msg.FrID"></el-input> <el-input placeholder="" class="" v-model="msg.FrID" @keyup.native="checkInteger(msg,'FrID')"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
......
...@@ -171,8 +171,8 @@ ...@@ -171,8 +171,8 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<el-form-item label="单号:"> <el-form-item label="单号:">
<el-input placeholder="" class="" v-model="msg.OrderId"></el-input> <el-input placeholder="" class="" v-model="msg.OrderId" @keyup.native="checkInteger(msg,'OrderId')"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
......
...@@ -868,7 +868,7 @@ export default { ...@@ -868,7 +868,7 @@ export default {
this.loading = true; this.loading = true;
this.apipost('Financial_post_Set',this.msg,res=>{ this.apipost('Financial_post_Set',this.msg,res=>{
if(res.data.resultCode==1){ if(res.data.resultCode==1){
this.$confirm('是否继续制单?', '提示', { this.$confirm('操作成功,是否继续制单?', '提示', {
confirmButtonText: '继续制单', confirmButtonText: '继续制单',
cancelButtonText: '不了,谢谢', cancelButtonText: '不了,谢谢',
type: 'warning' type: 'warning'
......
...@@ -1044,7 +1044,7 @@ export default { ...@@ -1044,7 +1044,7 @@ export default {
console.log(this.msg); console.log(this.msg);
this.apipost('Financial_post_Set',this.msg,res=>{ this.apipost('Financial_post_Set',this.msg,res=>{
if(res.data.resultCode==1){ if(res.data.resultCode==1){
this.$confirm('是否继续制单?', '提示', { this.$confirm('操作成功,是否继续制单?', '提示', {
confirmButtonText: '继续制单', confirmButtonText: '继续制单',
cancelButtonText: '不了,谢谢', cancelButtonText: '不了,谢谢',
type: 'warning' type: 'warning'
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
</li> </li>
<li> <li>
<span><em>订单号</em></span> <span><em>订单号</em></span>
<el-input class='w200' v-model='msg.tempOrderId'></el-input> <el-input class='w200' v-model='msg.tempOrderId' @keyup.native="checkInteger(msg,'tempOrderId')"></el-input>
</li> </li>
<li> <li>
<span><em>订单状态</em></span> <span><em>订单状态</em></span>
......
...@@ -2437,37 +2437,27 @@ ...@@ -2437,37 +2437,27 @@
} }
) )
this.Unit_PriceList=[]; this.Unit_PriceList=[];
this.apipost('sellorder_post_GetLessPrice', {}, res => { this.apipost('sellorder_post_GetLessPrice',{"TCID":obj.tcid}, res => {
this.LessMoney = res.data.data.lessMoney; this.LessMoney = res.data.data.lessMoney;
if (parseFloat(this.LessMoney)>0){ if (parseFloat(this.LessMoney)>0){
for (var i = 0; i <= parseInt(this.LessMoney)/10; i++) { for (var i = 0; i <= parseInt(this.LessMoney)/10; i++) {
var obj = { var obj = {
ID: '', ID: '',
LessMoney: '' LessMoney: ''
} }
obj.ID = this.addMsg.TC_Price-i*10; obj.ID = this.addMsg.TC_Price-i*10;
obj.LessMoney = this.addMsg.TC_Price-i*10; obj.LessMoney = this.addMsg.TC_Price-i*10;
this.Unit_PriceList.push(obj); this.Unit_PriceList.push(obj);
} }
// this.Unit_PriceList.forEach(person => {
if(this.Unit_PriceList.findIndex(markers => markers.ID == this.addMsg.Unit_Price)<0) { if(this.Unit_PriceList.findIndex(markers => markers.ID == this.addMsg.Unit_Price)<0) {
var obj = { var obj = {
ID: '', ID: '',
LessMoney: '' LessMoney: ''
} }
obj.ID = this.addMsg.Unit_Price; obj.ID = this.addMsg.Unit_Price;
obj.LessMoney = this.addMsg.Unit_Price; obj.LessMoney = this.addMsg.Unit_Price;
this.Unit_PriceList.push(obj); this.Unit_PriceList.push(obj);
} }
// });
//判断下拉价格里面是否包含了成交单价,未包含就添加进来
// const option = {ID:this.addMsg.TC_Price,LessMoney:this.addMsg.TC_Price}
// // 如果数组里面本身不存在这个对象则把这个加进去
// if(JSON.stringify(this.Unit_PriceList).indexOf(JSON.stringify(option))==-1){
// this.Unit_PriceList.push(option); // 进行动态的操作
// }
} }
else{ else{
var obj = { var obj = {
...@@ -2476,7 +2466,7 @@ ...@@ -2476,7 +2466,7 @@
} }
obj.ID = this.addMsg.Unit_Price; obj.ID = this.addMsg.Unit_Price;
obj.LessMoney = this.addMsg.Unit_Price; obj.LessMoney = this.addMsg.Unit_Price;
this.Unit_PriceList.push(obj); this.Unit_PriceList.push(obj);
} }
}, err => {}) }, err => {})
...@@ -2585,30 +2575,6 @@ ...@@ -2585,30 +2575,6 @@
this.addMsg.CustomerId = '0' this.addMsg.CustomerId = '0'
this.addMsg.CommissionShareMoney = '0' this.addMsg.CommissionShareMoney = '0'
} }
this.Unit_PriceList=[];
this.apipost('sellorder_post_GetLessPrice', {}, res => {
this.LessMoney = res.data.data.lessMoney;
if (parseFloat(this.LessMoney)>0){
for (var i = 0; i <= parseInt(this.LessMoney)/10; i++) {
var obj = {
ID: '',
LessMoney: ''
}
obj.ID = this.addMsg.TC_Price-i*10;
obj.LessMoney = this.addMsg.TC_Price-i*10;
this.Unit_PriceList.push(obj);
}
}
else{
var obj = {
ID: '',
LessMoney: ''
}
obj.ID = this.addMsg.Unit_Price;
obj.LessMoney = this.addMsg.Unit_Price;
this.Unit_PriceList.push(obj);
}
}, err => {})
}, },
getTicheng () { getTicheng () {
//提成 //提成
......
...@@ -1045,23 +1045,31 @@ ...@@ -1045,23 +1045,31 @@
<span class="colorE95252" v-show='!returnPriceShow'>暂无报价!</span> <span class="colorE95252" v-show='!returnPriceShow'>暂无报价!</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4" v-if="isChecked==true">
<el-form-item label="成交单价" prop="Unit_Price"> <!-- <el-form-item label="成交单价" prop="Unit_Price">
<el-input v-model='addMsg.Unit_Price' @keyup.native="checkPrice(addMsg,'Unit_Price');getTotalPrice()" ></el-input> <el-input v-model='addMsg.Unit_Price' @keyup.native="checkPrice(addMsg,'Unit_Price');getTotalPrice()" ></el-input>
</el-form-item> </el-form-item> -->
<!-- <el-form-item label="成交单价" prop="Unit_Price"> <el-form-item label="成交单价" prop="Unit_Price">
<el-select v-model='addMsg.Unit_Price' <el-select v-model='addMsg.Unit_Price'
filterable :placeholder="$t('pub.pleaseSel')" @change="getTotalPrice()"> filterable :placeholder="$t('pub.pleaseSel')" @change="getTotalPrice()">
<el-option v-for="item in Unit_PriceList" :label='item.LessMoney' :value='item.ID' :key='item.ID'> <el-option v-for="item in Unit_PriceList" :label='item.LessMoney' :value='item.ID' :key='item.ID'>
</el-option> </el-option>
</el-select> </el-select>
<!-- <el-input v-model='addMsg.Unit_Price' :disabled="true" @keyup.native="checkPrice(addMsg,'Unit_Price');getTotalPrice()"></el-input> -->
</el-form-item> --> </el-form-item>
<el-form-item> <p v-if="LessMoney==0" style="line-height: 18px; color: #E95252;">注:如果超出本团的最低让价,差价将由你来承担</p> <el-form-item>
<!-- <p v-if="LessMoney==0" style="line-height: 18px; color: #E95252;">注:如果超出本团的最低让价,差价将由你来承担</p> <p v-if="LessMoney==0" style="line-height: 18px; color: #E95252;">注:如果超出本团的最低让价,差价将由你来承担</p>
<p v-else="LessMoney>0" style="line-height: 18px; color: #E95252;">注:最多少价{{LessMoney}}元,如需少价更多请联系上级主管</p> --> <p v-else="LessMoney>0" style="line-height: 18px; color: #E95252;">注:最多少价{{LessMoney}}元,如需少价更多请联系上级主管</p>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4" v-else>
<el-form-item label="成交单价" prop="Unit_Price">
<el-input v-model='addMsg.Unit_Price' @keyup.native="checkPrice(addMsg,'Unit_Price');getTotalPrice()"></el-input>
</el-form-item>
<el-form-item>
<p style="line-height: 18px; color: #E95252;">注:如果超出本团的最低让价,差价将由你来承担</p>
</el-form-item>
</el-col>
</el-row> </el-row>
<div style="width: 100%; border-top:1px dashed #ccc;margin-bottom:25px;"></div> <div style="width: 100%; border-top:1px dashed #ccc;margin-bottom:25px;"></div>
<el-row :gutter="20"> <el-row :gutter="20">
...@@ -1616,7 +1624,7 @@ ...@@ -1616,7 +1624,7 @@
<tr> <tr>
<td colspan="4" class="groupTourOrder_remarks" style="height: 40px;"> <td colspan="4" class="groupTourOrder_remarks" style="height: 40px;">
<div> <div>
<div><span>备注:</span><p><span v-if="item.tsId>0">投诉单号:<a href="javascript:void(0);" @click="goUrlTS('ComplaintsDetail',item.tsId,item.orderId,'投诉详情')">{{item.tsId}}</a> ;</span><span v-if='item.clientSource==1&&item.brandName!=""'>{{item.brandName}}订单 {{item.platformOrder}};</span>{{item.remarks}}</p></div> <div><span>备注:</span><p><span v-if='item.clientSource==1&&item.brandName!=""'>{{item.brandName}}订单 {{item.platformOrder}};</span>{{item.remarks}}</p></div>
<div> <div>
<!-- <span>{{item.remarksName}}&ensp;{{item.rematksTime}}</span> --> <!-- <span>{{item.remarksName}}&ensp;{{item.rematksTime}}</span> -->
<el-popover width="600" placement="bottom-end" trigger="click"> <el-popover width="600" placement="bottom-end" trigger="click">
...@@ -2049,6 +2057,7 @@ export default { ...@@ -2049,6 +2057,7 @@ export default {
isShowHouse: false, isShowHouse: false,
isShowLayerRemarks: false, isShowLayerRemarks: false,
loading: true, loading: true,
isChecked: true,
comSelect: -1, comSelect: -1,
remarksMsg: { remarksMsg: {
OrderId: "0", OrderId: "0",
...@@ -2305,17 +2314,12 @@ export default { ...@@ -2305,17 +2314,12 @@ export default {
} }
}, },
methods: { methods: {
//跳转 //是否可以修改成交单价
goUrlTS (path, id, orderId, title) { canEditUnitPrice() {
this.$router.push({ let userInfo = this.getLocalStorage();
name: path, if (userInfo != null && userInfo.EmployeeId == 1) {
query: { this.isChecked = false;
'id': id, }
'orderId': orderId,
blank: 'y',
tab: title
}
})
}, },
maxCommissionMinusRate: function () { maxCommissionMinusRate: function () {
this.TCMsg.CommissionMinusRate = this.TCMsg.CommissionMinusRate.replace(/[^\.\d]/g,''); this.TCMsg.CommissionMinusRate = this.TCMsg.CommissionMinusRate.replace(/[^\.\d]/g,'');
...@@ -2753,7 +2757,7 @@ export default { ...@@ -2753,7 +2757,7 @@ export default {
} }
this.Unit_PriceList=[]; this.Unit_PriceList=[];
this.apipost('sellorder_post_GetLessPrice', {}, res => { this.apipost('sellorder_post_GetLessPrice', {"TCID":obj.tcid}, res => {
this.LessMoney = res.data.data.lessMoney; this.LessMoney = res.data.data.lessMoney;
if (parseFloat(this.LessMoney)>0){ if (parseFloat(this.LessMoney)>0){
for (var i = 0; i <= parseInt(this.LessMoney)/10; i++) { for (var i = 0; i <= parseInt(this.LessMoney)/10; i++) {
...@@ -3784,6 +3788,7 @@ export default { ...@@ -3784,6 +3788,7 @@ export default {
this.getJyfs(); this.getJyfs();
this.getFylx(); this.getFylx();
this.getTuanInfo(); this.getTuanInfo();
this.canEditUnitPrice();
} }
}; };
</script> </script>
......
...@@ -1481,7 +1481,7 @@ ...@@ -1481,7 +1481,7 @@
this.addMsg.CommissionShareMoney = '0' this.addMsg.CommissionShareMoney = '0'
} }
this.Unit_PriceList=[]; this.Unit_PriceList=[];
this.apipost('sellorder_post_GetLessPrice', {}, res => { this.apipost('sellorder_post_GetLessPrice', {"TCID":this.addObj.TCID}, res => {
this.LessMoney = res.data.data.lessMoney; this.LessMoney = res.data.data.lessMoney;
if (parseFloat(this.LessMoney)>0){ if (parseFloat(this.LessMoney)>0){
for (var i = 0; i <= parseInt(this.LessMoney)/10; i++) { for (var i = 0; i <= parseInt(this.LessMoney)/10; i++) {
......
...@@ -1089,19 +1089,27 @@ ...@@ -1089,19 +1089,27 @@
<span class="colorE95252" v-show='!returnPriceShow'>暂无报价!</span> <span class="colorE95252" v-show='!returnPriceShow'>暂无报价!</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="5"> <el-col :span="5" v-if="isChecked==true">
<el-form-item label="成交单价" prop="Unit_Price"> <el-form-item label="成交单价" prop="Unit_Price">
<!-- <el-select v-model='addMsg.Unit_Price' <el-select v-model='addMsg.Unit_Price'
filterable :placeholder="$t('pub.pleaseSel')" @change="getTotalPrice()"> filterable :placeholder="$t('pub.pleaseSel')" @change="getTotalPrice()">
<el-option v-for="item in Unit_PriceList" :label='item.LessMoney' :value='item.ID' :key='item.ID'> <el-option v-for="item in Unit_PriceList" :label='item.LessMoney' :value='item.ID' :key='item.ID'>
</el-option> </el-option>
</el-select> --> </el-select>
<el-input v-model='addMsg.Unit_Price' :disabled="isChecked" @keyup.native="checkPrice(addMsg,'Unit_Price');getTotalPrice()"></el-input> <!-- <el-input v-model='addMsg.Unit_Price' :disabled="true" @keyup.native="checkPrice(addMsg,'Unit_Price');getTotalPrice()"></el-input> -->
</el-form-item> </el-form-item>
<el-form-item>
<p v-if="LessMoney==0" style="line-height: 18px; color: #E95252;">注:如果超出本团的最低让价,差价将由你来承担</p>
<p v-else="LessMoney>0" style="line-height: 18px; color: #E95252;">注:最多少价{{LessMoney}}元,如需少价更多请联系上级主管</p>
</el-form-item>
</el-col>
<el-col :span="5" v-else>
<el-form-item label="成交单价" prop="Unit_Price">
<el-input v-model='addMsg.Unit_Price' class="w210" @keyup.native="checkPrice(addMsg,'Unit_Price');getTotalPrice()"></el-input>
</el-form-item>
<el-form-item> <el-form-item>
<p style="line-height: 18px; color: #E95252;">注:如果超出本团的最低让价,差价将由你来承担</p> <p style="line-height: 18px; color: #E95252;">注:如果超出本团的最低让价,差价将由你来承担</p>
<!-- <p v-if="LessMoney==0" style="line-height: 18px; color: #E95252;">注:如果超出本团的最低让价,差价将由你来承担</p>
<p v-else="LessMoney>0" style="line-height: 18px; color: #E95252;">注:最多少价{{LessMoney}}元,如需少价更多请联系上级主管</p> -->
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
...@@ -1707,7 +1715,6 @@ ...@@ -1707,7 +1715,6 @@
<div class="clearfix RL-MARK"> <div class="clearfix RL-MARK">
<span class="RL-remarkTitle">备注:</span> <span class="RL-remarkTitle">备注:</span>
<span class="RL-redType RL-remarkCon"> <span class="RL-redType RL-remarkCon">
<span v-if="childItem.TsId>0">投诉单号:<a href="javascript:void(0);" @click="goUrlTS('ComplaintsDetail',childItem.TsId,childItem.OrderId,'投诉详情')">{{childItem.TsId}}</a> ;</span>
<span v-if='childItem.ClientSource==1&&childItem.BrandName!=""'>{{childItem.BrandName}}订单 <span v-if='childItem.ClientSource==1&&childItem.BrandName!=""'>{{childItem.BrandName}}订单
{{childItem.PlatformOrder}};</span> {{childItem.PlatformOrder}};</span>
{{childItem.Remarks}} {{childItem.Remarks}}
...@@ -2489,18 +2496,6 @@ import updateSalesMan from "../../commonPage/updateSalesMan.vue"; ...@@ -2489,18 +2496,6 @@ import updateSalesMan from "../../commonPage/updateSalesMan.vue";
updateSalesMan:updateSalesMan updateSalesMan:updateSalesMan
}, },
methods: { methods: {
//跳转
goUrlTS (path, id, orderId, title) {
this.$router.push({
name: path,
query: {
'id': id,
'orderId': orderId,
blank: 'y',
tab: title
}
})
},
maxCommissionMinusRate: function () { maxCommissionMinusRate: function () {
this.TCMsg.CommissionMinusRate = this.TCMsg.CommissionMinusRate.replace(/[^\.\d]/g,''); this.TCMsg.CommissionMinusRate = this.TCMsg.CommissionMinusRate.replace(/[^\.\d]/g,'');
this.TCMsg.CommissionMinusRate = this.TCMsg.CommissionMinusRate.replace('.',''); this.TCMsg.CommissionMinusRate = this.TCMsg.CommissionMinusRate.replace('.','');
...@@ -2849,7 +2844,7 @@ import updateSalesMan from "../../commonPage/updateSalesMan.vue"; ...@@ -2849,7 +2844,7 @@ import updateSalesMan from "../../commonPage/updateSalesMan.vue";
} }
this.Unit_PriceList=[]; this.Unit_PriceList=[];
this.apipost('sellorder_post_GetLessPrice', {}, res => { this.apipost('sellorder_post_GetLessPrice', {"TCID":obj.TCID}, res => {
this.LessMoney = res.data.data.lessMoney; this.LessMoney = res.data.data.lessMoney;
if (parseFloat(this.LessMoney)>0){ if (parseFloat(this.LessMoney)>0){
for (var i = 0; i <= parseInt(this.LessMoney)/10; i++) { for (var i = 0; i <= parseInt(this.LessMoney)/10; i++) {
......
...@@ -7,8 +7,9 @@ ...@@ -7,8 +7,9 @@
<template> <template>
<div class="travelControlTrip detail-box"> <div class="travelControlTrip detail-box">
<div class="trip_cover" v-show="pdfLoading" v-loading="pdfLoading"></div> <div class="trip_cover" v-show="pdfLoading" v-loading="pdfLoading"></div>
<input type="button" class="travelControlTripBtn" value="下载PDF" @click="toPDF(orderMsg.startDate + orderMsg.lineteamName+orderMsg.dayNum+'日游')" /> <input type="button" style="width: auto !important;" class="travelControlTripBtn" value="下载电脑版PDF" @click="toPDF(orderMsg.startDate + orderMsg.lineteamName+orderMsg.dayNum+'日游')" />
<input type="button" style="width: auto !important;" class="travelControlTripBtn" value="下载手机版WORD" @click="gernalFeature()" /><!-- ToWord(orderMsg.startDate + orderMsg.lineteamName+orderMsg.dayNum+'日游') --> <input type="button" style="width: auto !important;" class="travelControlTripBtn" value="下载手机版WORD" @click="gernalFeature()" />
<!-- ToWord(orderMsg.startDate + orderMsg.lineteamName+orderMsg.dayNum+'日游') -->
<!--&&isopOperation HK 注释 可以让销售修改基本信息--> <!--&&isopOperation HK 注释 可以让销售修改基本信息-->
<input type="button" v-if="orderId>0" class="travelControlTripBtn" value="修改信息" @click="editMsgShow=true" /> <input type="button" v-if="orderId>0" class="travelControlTripBtn" value="修改信息" @click="editMsgShow=true" />
<div id="pdfNode"> <div id="pdfNode">
...@@ -645,73 +646,80 @@ ...@@ -645,73 +646,80 @@
this.pdfLoading = true; this.pdfLoading = true;
let tcid = this.$route.query.tcid; let tcid = this.$route.query.tcid;
let UploadUrl = this.domainManager().UploadUrl let UploadUrl = this.domainManager().UploadUrl
$.ajax({ let _this = this
url: UploadUrl + '/Upload/RemoveImage?fileType=1&fileLimit=5&&filePath=Freature/' + tcid, if (this.showType===4 || this.showType===5) { // 判断是否为行程特色
type: "POST", $.ajax({ //调用是否已经存在文件夹接口判断是否进行上传图片操作
datatype:"jsonP", url: UploadUrl + '/Upload/GetImage?filePath=Feature/' + tcid,
success: function (data) { type: "POST",
// console.log("上传成功",data); datatype:"jsonP",
}, success: function (data) {
error: function () { let msg = JSON.parse(data)
// console.log("上传失败"); if (msg.ResultCode) { // 已经存在文件 直接调用下载
} _this.ToWord(_this.orderMsg.startDate + _this.orderMsg.lineteamName + _this.orderMsg.dayNum + '日游')
}); } else { // 不存在图片保存图片后下载
document.querySelector("#gernalCanvas").querySelectorAll('img').forEach(x => { document.querySelector("#gernalCanvas").querySelectorAll('img').forEach(x => {
if(x.src.indexOf('http')!=-1){ let src = x.src
x.setAttribute('crossOrigin','anonymous') src = src.replace('https:','http:')
} if(src.indexOf('http')!=-1){
}); x.setAttribute('crossOrigin','anonymous')
let cName='' }
if(this.showType==4){ x.src = src
cName='.feature-box'
}else if(this.showType==5){
cName='.travle_page'
}
if(cName!=''){
let allNum = 1
document.querySelectorAll(cName).forEach(x => {
html2Canvas(x,{
useCORS:true,
scale:0.7,
backgroundColor:'#FFFFFF',
}).then((canvas) => {
if(canvas){
var context = canvas.getContext('2d')
context.mozImageSmoothingEnabled = false
context.webkitImageSmoothingEnabled = false
context.msImageSmoothingEnabled = false
context.imageSmoothingEnabled = false
var image = new Image();
image.src = canvas.toDataURL("image/png");
// document.body.appendChild(image) upload.oytour.com
$.ajax({
url: UploadUrl + '/Upload/UploadBase64?fileType=1&fileLimit=5&&filePath=Freature/' + tcid,
type: "POST",
data: {
myfile: image.src,
isDelete: 1,
},
datatype:"jsonP",
success: function (data) {
// console.log("上传成功",data);
},
error: function () {
// console.log("上传失败");
}
}); });
// this.uploadImg(tcid,{'myfile': image.src}, res=>{ let cName=''
// console.log(res) if(_this.showType==4){
// }, err=>{ cName='.feature-box'
// console.log("GHJK",err); }else if(_this.showType==5){
// }) cName='.travle_page'
if (allNum!==document.querySelectorAll(cName).length) { }
allNum += 1 if(cName!=''){
} else { let allNum = 1
this.ToWord(this.orderMsg.startDate + this.orderMsg.lineteamName + this.orderMsg.dayNum + '日游') document.querySelectorAll(cName).forEach((x, index) => {
html2Canvas(x,{
useCORS:true,
scale:0.7,
backgroundColor:'#FFFFFF',
}).then((canvas) => {
if(canvas){
var context = canvas.getContext('2d')
context.mozImageSmoothingEnabled = false
context.webkitImageSmoothingEnabled = false
context.msImageSmoothingEnabled = false
context.imageSmoothingEnabled = false
var image = new Image();
image.src = canvas.toDataURL("image/png");
// document.body.appendChild(image) upload.oytour.com
$.ajax({
url: UploadUrl + '/Upload/UploadBase64?fileType=1&fileLimit=5&&filePath=Feature/' + tcid,
type: "POST",
data: {
myfile: image.src,
fileIndex: index
},
datatype:"jsonP",
success: function (data) {
// console.log("上传成功",data);
},
error: function () {
// console.log("上传失败");
}
});
if (allNum!==document.querySelectorAll(cName).length) {
allNum += 1
} else {
_this.ToWord(_this.orderMsg.startDate + _this.orderMsg.lineteamName + _this.orderMsg.dayNum + '日游')
}
}
});
});
} }
} }
}); },
error: function () {
// console.log("上传失败");
}
}); });
} else {
this.ToWord(this.orderMsg.startDate + this.orderMsg.lineteamName + this.orderMsg.dayNum + '日游')
} }
}, },
//保存基础数据 //保存基础数据
...@@ -914,7 +922,7 @@ ...@@ -914,7 +922,7 @@
//是否显示同行备注 //是否显示同行备注
isShowB2B:this.vshowI?1:0, isShowB2B:this.vshowI?1:0,
//是否显示行程 //是否显示行程
isShowTrip:this.vshowK?1:0, isShowTrip:this.vshowD?1:0,
//是否显示标题 //是否显示标题
isShowTitle:this.vshowL?1:0, isShowTitle:this.vshowL?1:0,
//是否显示旅客名单 //是否显示旅客名单
...@@ -922,8 +930,11 @@ ...@@ -922,8 +930,11 @@
//是否显示紧急联系人 //是否显示紧急联系人
isShowMan:this.vshowLLR?1:0, isShowMan:this.vshowLLR?1:0,
//是否显示团号 //是否显示团号
isShowTCNUM:this.vshowTCNUM?1:0 isShowTCNUM:this.vshowTCNUM?1:0,
//是否显示行程图片
isShowTripImage:this.vshowK?1:0,
}; };
console.log("msg",msg);
this.GetLocalFile("DownLoadTripWord", msg,title+ ".doc", res=>{ this.GetLocalFile("DownLoadTripWord", msg,title+ ".doc", res=>{
this.pdfLoading = false this.pdfLoading = false
}); });
......
...@@ -379,7 +379,6 @@ ...@@ -379,7 +379,6 @@
let path = flagWangYue ? 'TravelManager3' : 'TravelManager2'; let path = flagWangYue ? 'TravelManager3' : 'TravelManager2';
this.Success("保存成功"); this.Success("保存成功");
if (flagWangYue||this.isNewConfig) { if (flagWangYue||this.isNewConfig) {
console.log(66666)
this.$router.push({ this.$router.push({
path: path, path: path,
query: { query: {
......
...@@ -144,13 +144,14 @@ ...@@ -144,13 +144,14 @@
<ul> <ul>
<li> <li>
<button class="hollowFixedBtn" @click="resetPageIndex(),initTableInfo()">{{$t('pub.searchBtn')}}</button> <button class="hollowFixedBtn" @click="resetPageIndex(),initTableInfo()">{{$t('pub.searchBtn')}}</button>
<button type="button" class="normalBtn" @click="outerVisible=true">导入</button> <!-- <button type="button" class="normalBtn" @click="outerVisible=true">导入</button>
<button type="button" class="normalBtn" @click="downMuban()">下载导入模板</button> <button type="button" class="normalBtn" @click="downMuban()">下载导入模板</button> -->
<button class="normalBtn" @click="addShow=true,text='新增',addFun()" >新增</button> <button class="normalBtn" @click="addShow=true,text='新增',addFun()" >新增</button>
<el-tooltip class="item" effect="dark" content="切换排版" placement="top-end"> <el-tooltip class="item" effect="dark" content="切换排版" placement="top-end">
<i v-if="transitionShow" class="iconfont icon-biaoge" @click="switchMethod(1)"></i> <i v-if="transitionShow" class="iconfont icon-biaoge" @click="switchMethod(1)"></i>
<i v-if="transitionShow2" class="iconfont icon-icon-ssan" @click="switchMethod(2)"></i> <i v-if="transitionShow2" class="iconfont icon-icon-ssan" @click="switchMethod(2)"></i>
</el-tooltip> </el-tooltip>
<!-- <button type="button" class="normalBtn" @click="method5()">导出</button> -->
</li> </li>
</ul> </ul>
</div> </div>
...@@ -168,8 +169,8 @@ ...@@ -168,8 +169,8 @@
<p>摊账:{{item.IsShareAccount===0?'非摊账':'摊账'}}</p> <p>摊账:{{item.IsShareAccount===0?'非摊账':'摊账'}}</p>
<p>营收报表:{{item.Is_Report===0?'不进入':'进入'}}</p> <p>营收报表:{{item.Is_Report===0?'不进入':'进入'}}</p>
<p class="_b_edit"> <p class="_b_edit">
<button type="button" class="el-button el-tooltip item el-button--danger is-circle" aria-describedby="el-tooltip-694" tabindex="0" @click="financeinfoRemove(item.ID,item.Name)"><i class="el-icon-delete"></i></button> <!-- <button type="button" class="el-button el-tooltip item el-button--danger is-circle" aria-describedby="el-tooltip-694" tabindex="0" @click="financeinfoRemove(item.ID,item.Name)"><i class="el-icon-delete"></i></button> -->
<button type="button" class="el-button el-tooltip item el-button--primary is-circle" aria-describedby="el-tooltip-5781" tabindex="0" @click="editCurency(item.ID),text='修改'"><i class="el-icon-edit"></i></button> <button v-if="msg.EmployeeID==910" type="button" class="el-button el-tooltip item el-button--primary is-circle" aria-describedby="el-tooltip-5781" tabindex="0" @click="editCurency(item.ID),text='修改'"><i class="el-icon-edit"></i></button>
</p> </p>
</div> </div>
</div> </div>
...@@ -192,21 +193,25 @@ ...@@ -192,21 +193,25 @@
<tbody class="po_content_item"> <tbody class="po_content_item">
<tr v-for="(item,index) in CostTypeTreeList" :key="index" v-loading="loading"> <tr v-for="(item,index) in CostTypeTreeList" :key="index" v-loading="loading">
<td width="200px"> <td width="200px">
<span class="cursorpointer" @click="editCurency(item.ID),text='修改'">{{item.Name}}</span> <span class="cursorpointer" v-if="msg.EmployeeID==910" @click="editCurency(item.ID),text='修改'">{{item.Name}}</span>
<span class="cursorpointer" v-else>{{item.Name}}</span>
</td> </td>
<template v-if="item.ChildList.length>0"> <template v-if="item.ChildList.length>0">
<td colspan="8" style="padding:0"> <td colspan="8" style="padding:0">
<table class="po_content_item po_content_item_two" style="width: 100%;" cellspacing="0" cellpadding="0"> <table class="po_content_item po_content_item_two" style="width: 100%;" cellspacing="0" cellpadding="0">
<tbody> <tbody>
<tr v-for="(son,sIndex) in item.ChildList"> <tr v-for="(son,sIndex) in item.ChildList">
<td style="" width="150px"><span class="cursorpointer" @click="editCurency(son.ID),text='修改'">{{son.Name}}</span></td> <td style="" width="150px">
<span class="cursorpointer" v-if='msg.EmployeeID==910' @click="editCurency(son.ID),text='修改'">{{son.Name}}</span>
<span class="cursorpointer" v-else>{{son.Name}}</span></td>
<template v-if="son.ChildList.length>0"> <template v-if="son.ChildList.length>0">
<td colspan="7" style="padding:0"> <td colspan="7" style="padding:0">
<table class="po_content_item po_content_item_str" style="width: 100%" cellspacing="0" cellpadding="0"> <table class="po_content_item po_content_item_str" style="width: 100%" cellspacing="0" cellpadding="0">
<tbody> <tbody>
<tr v-for="(grSon,gsIndex) in son.ChildList"> <tr v-for="(grSon,gsIndex) in son.ChildList">
<td class="cursorpointer_last" width="150px"> <td class="cursorpointer_last" width="150px">
<span class="cursorpointer" @click="editCurency(grSon.ID),text='修改'">{{grSon.Name}} <i @click.stop="financeinfoRemove(grSon.ID,grSon.Name)" class="el-icon-delete"></i></span></td> <span class="cursorpointer" v-if='msg.EmployeeID==910' @click="editCurency(grSon.ID),text='修改'">{{grSon.Name}} <i @click.stop="financeinfoRemove(grSon.ID,grSon.Name)" class="el-icon-delete"></i></span>
<span class="cursorpointer" v-else>{{grSon.Name}}</span></td>
<td width="150px">{{grSon.BName}}</td> <td width="150px">{{grSon.BName}}</td>
<td width="150px">{{grSon.DeName}}</td> <td width="150px">{{grSon.DeName}}</td>
<td width="150px">{{grSon.PName}}</td> <td width="150px">{{grSon.PName}}</td>
...@@ -464,6 +469,7 @@ ...@@ -464,6 +469,7 @@
Name:'', Name:'',
Tier:0, Tier:0,
ParentId:'', ParentId:'',
EmployeeID:-1,
}, },
addMsg:{ addMsg:{
ID:0, ID:0,
...@@ -778,6 +784,10 @@ ...@@ -778,6 +784,10 @@
}); });
}); });
}, },
//导出费用类型明细报表
method5: function() {
this.GetLocalFile("financeinfo_post_OutToCostTypeExcel", this.msg,"费用类型明细报表.xls");
} ,
editCurency(id){ // 修改信息 editCurency(id){ // 修改信息
this.apipost('financeinfo_post_GetCostType',{ID:id}, res => { this.apipost('financeinfo_post_GetCostType',{ID:id}, res => {
if(res.data.resultCode == 1) { if(res.data.resultCode == 1) {
...@@ -995,6 +1005,7 @@ ...@@ -995,6 +1005,7 @@
this.initTableInfo(); this.initTableInfo();
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
this.departmentMsg.RB_Group_Id = this.companyMsg.RB_Group_Id = userInfo.RB_Group_id; //集团 this.departmentMsg.RB_Group_Id = this.companyMsg.RB_Group_Id = userInfo.RB_Group_id; //集团
this.msg.EmployeeID=userInfo.EmployeeId;
this.getDepartment(); this.getDepartment();
this.getCompany(); this.getCompany();
this.getCostTypeTreeList(); this.getCostTypeTreeList();
......
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
<table border="0" cellspacing="0" cellpadding="0" class="LP_table" v-loading="this.loading"> <table border="0" cellspacing="0" cellpadding="0" class="LP_table" v-loading="this.loading">
<tr> <tr>
<th width="200">公司</th> <th width="200">公司</th>
<th width="400">线路/系列</th> <th width="350">线路/系列</th>
<th>所有人</th> <th>所有人</th>
<th>部门主管</th> <th>部门主管</th>
<th>分公司总经理</th> <th>分公司总经理</th>
...@@ -88,17 +88,16 @@ ...@@ -88,17 +88,16 @@
</td> </td>
<td> <td>
<div v-for="subItem in item.LessPriceList" class="comLessDiv"> <div v-for="subItem in item.LessPriceList" class="comLessDiv">
<el-select class='w150' v-model="subItem.LineId" filterable :placeholder="$t('pub.pleaseSel')" @change="getLineTeamList(subItem)"> <el-select class='w150' v-model="subItem.LineId" filterable :placeholder="$t('pub.pleaseSel')" @change="getLineTeamList(subItem),resetLineTeamId(subItem)">
<el-option label="不限" :value='commonSelect'></el-option> <el-option label="不限" :value='commonSelect'></el-option>
<el-option v-for="item in LineList" :label='item.LineName' :value='item.LineID' :key='item.LineID'> <el-option v-for="item in LineList" :label='item.LineName' :value='item.LineID' :key='item.LineID'>
</el-option> </el-option>
</el-select> </el-select>
{{subItem.LineTeamList}} <el-select class='w150' v-model="subItem.LineTeamId" filterable :placeholder="$t('pub.pleaseSel')">
<!-- <el-select class='w150' v-model="subItem.LineTeamId" filterable :placeholder="$t('pub.pleaseSel')">
<el-option label="不限" :value='commonSelect'></el-option> <el-option label="不限" :value='commonSelect'></el-option>
<el-option v-for="sitem in subItem.LineTeamList" :label='sitem.LtName' :value='sitem.LtID' :key='sitem.LtID'> <el-option v-for="sitem in subItem.LineTeamList" :label='sitem.LtName' :value='sitem.LtID' :key='sitem.LtID'>
</el-option> </el-option>
</el-select> --> </el-select>
</div> </div>
</td> </td>
<td> <td>
...@@ -152,12 +151,13 @@ ...@@ -152,12 +151,13 @@
methods: { methods: {
//保存少价管理 //保存少价管理
SaveLessPrice(subItem) { SaveLessPrice(subItem) {
subItem.LineTeamList=[];
this.apipost( this.apipost(
"lessprice_post_Set", subItem, "lessprice_post_Set", subItem,
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.Success(res.data.message); this.Success(res.data.message);
// this.getList(); this.getList();
}else{ }else{
this.Error(res.data.message); this.Error(res.data.message);
} }
...@@ -166,7 +166,7 @@ ...@@ -166,7 +166,7 @@
); );
}, },
//获取列表 //获取列表
GetLessList() { getList() {
this.loading = true; this.loading = true;
var that=this; var that=this;
that.apipost( that.apipost(
...@@ -181,7 +181,6 @@ ...@@ -181,7 +181,6 @@
}) })
}) })
that.dataList=data; that.dataList=data;
console.log(that.dataList,'resssss');
}else{ }else{
that.Error(res.data.message); that.Error(res.data.message);
} }
...@@ -205,7 +204,7 @@ ...@@ -205,7 +204,7 @@
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
that.Success("操作成功!"); that.Success("操作成功!");
// that.getList(); that.getList();
} else { } else {
that.Error(res.data.message); that.Error(res.data.message);
} }
...@@ -231,26 +230,29 @@ ...@@ -231,26 +230,29 @@
isTOOP: 1 isTOOP: 1
}, res => { }, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
//subItem.LineTeamId = 0;
subItem.LineTeamList = res.data.data; subItem.LineTeamList = res.data.data;
} }
}); });
}, },
//系列重置默认不限
resetLineTeamId(subItem){
subItem.LineTeamId = 0;
},
//点击添加 //点击添加
addLessPrice(item){ addLessPrice(item){
var obj = { var obj = {
DeptLessMoney:0, DeptLessMoney:"",
DeptLessPercent:0, DeptLessPercent:"",
DetailExtList:'', DetailExtList:'',
FilialeLessMoney:0, FilialeLessMoney:"",
FilialeLessPercent:0, FilialeLessPercent:"",
Id:0, Id:0,
LessMoney:0, LessMoney:"",
LessPercent:0, LessPercent:"",
LineId:0, LineId:0,
LineTeamId:0, LineTeamId:0,
OPLessMoney:0, OPLessMoney:"",
OPLessPercent:0, OPLessPercent:"",
RB_Branch_Id:item.Id, RB_Branch_Id:item.Id,
RB_Group_Id:0, RB_Group_Id:0,
LineTeamList:[], LineTeamList:[],
...@@ -260,7 +262,7 @@ ...@@ -260,7 +262,7 @@
}, },
mounted() { mounted() {
this.getLineList(); this.getLineList();
this.GetLessList(); this.getList();
}, },
}; };
......
...@@ -149,7 +149,9 @@ export default { ...@@ -149,7 +149,9 @@ export default {
GoogleMapUrl: "http://ditu.google.cn/maps/api/js?key=AIzaSyAZ5MIfzicStzKbIkbI3RcBBeZBjQFKsp0&sensor=false&language=zh-CN", GoogleMapUrl: "http://ditu.google.cn/maps/api/js?key=AIzaSyAZ5MIfzicStzKbIkbI3RcBBeZBjQFKsp0&sensor=false&language=zh-CN",
//google地图图片地址 //google地图图片地址
GoogleMapImageUrl: "http://super.oytour.com", GoogleMapImageUrl: "http://super.oytour.com",
UploadUrl: "http://upload.oytour.com" // "http://upload.oytour.com"
UploadUrl: locationName.indexOf('oytour')!==-1 ? "http://upload.oytour.com" : "http://127.0.0.1:8120"
// UploadUrl: "http://upload.oytour.com"
}; };
return obj; 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