Commit 56ce20a1 authored by 黄媛媛's avatar 黄媛媛

11

parent 3648b8dc
...@@ -397,7 +397,7 @@ ...@@ -397,7 +397,7 @@
<span v-if="(GetDetail.TemplateId==29 || GetDetail.TemplateId==31) && OPState" @click="GoOPurl(GetDetail)" style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">提成详情</span> <span v-if="(GetDetail.TemplateId==29 || GetDetail.TemplateId==31) && OPState" @click="GoOPurl(GetDetail)" style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">提成详情</span>
<span v-if="CostTypeState" @click="GourlCostType('VisitRecord',1)" style="margin:0 10px;cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">拜访记录</span> <span v-if="CostTypeState" @click="GourlCostType('VisitRecord',1)" style="margin:0 10px;cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">拜访记录</span>
<span v-if="CostTypeState" @click="GourlCostType('yingyanMap',2)" style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">鹰眼轨迹</span> <span v-if="CostTypeState" @click="GourlCostType('yingyanMap',2)" style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">鹰眼轨迹</span>
<span v-if="OtherType!=''" @click="GourlHotelZr" style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">酒店折让</span> <span v-if="GetDetail.OtherType==5" @click="GourlHotelZr" style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">酒店折让</span>
</p> </p>
<table border="1" bordercolor="#D2D2D2" style="border-collapse:collapse;margin-top:15px;" width="100%" v-if="GetDetail.TCIDAndTCNUMList.length>0"> <table border="1" bordercolor="#D2D2D2" style="border-collapse:collapse;margin-top:15px;" width="100%" v-if="GetDetail.TCIDAndTCNUMList.length>0">
<tr v-for="(o,ox) in GetDetail.TCIDAndTCNUMList" class="_fujiashuoming_tr"> <tr v-for="(o,ox) in GetDetail.TCIDAndTCNUMList" class="_fujiashuoming_tr">
...@@ -927,7 +927,6 @@ export default { ...@@ -927,7 +927,6 @@ export default {
showModel: false, showModel: false,
CostTypeState:false, CostTypeState:false,
huijiShow:false, huijiShow:false,
OtherType:'',
} }
},components:{ },components:{
'my-FlowChartModule': myFlowChartModule, 'my-FlowChartModule': myFlowChartModule,
...@@ -954,7 +953,6 @@ export default { ...@@ -954,7 +953,6 @@ export default {
if(ActionMenuCode.indexOf('F_Update_KJCostType')!=-1){ if(ActionMenuCode.indexOf('F_Update_KJCostType')!=-1){
this.huijiShow=true; this.huijiShow=true;
} }
this.OtherType=this.$route.query.OtherType?this.$route.query.OtherType:'';
},methods:{ },methods:{
GourlHotelZr(){ GourlHotelZr(){
this.$router.push({ this.$router.push({
......
...@@ -157,7 +157,7 @@ ...@@ -157,7 +157,7 @@
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</div> </div>
<div> <div style="margin-bottom:5px">
收款账户 :日本地接部专户(人民币) 收款账户 :日本地接部专户(人民币)
</div> </div>
<el-form-item label="折让金额" prop="Money"> <el-form-item label="折让金额" prop="Money">
...@@ -291,7 +291,6 @@ export default { ...@@ -291,7 +291,6 @@ export default {
name: path, name: path,
query: { query: {
id: id, id: id,
OtherType:5,
blank: 'y', blank: 'y',
} }
}) })
...@@ -344,7 +343,6 @@ export default { ...@@ -344,7 +343,6 @@ export default {
} }
this.apipost("Financial_post_SetHotelServiceBetchImport", this.addMsg, res => { this.apipost("Financial_post_SetHotelServiceBetchImport", this.addMsg, res => {
console.log("addMsg",res);
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.getList(); this.getList();
this.moneyR=false; this.moneyR=false;
...@@ -361,21 +359,21 @@ export default { ...@@ -361,21 +359,21 @@ export default {
}, },
checkedAll() { //全选 checkedAll() { //全选
if(this.isCkedAll == true) { if(this.isCkedAll == true) {
this.customerList = [] this.customerList = []
} else { } else {
this.customerListAll.forEach(item => { this.customerListAll.forEach(item => {
this.customerList.push(item) this.customerList.push(item)
}) })
} }
}, },
ckeckedOne() { //单选 ckeckedOne() { //单选
if(this.customerList.length < this.allLength) { if(this.customerList.length < this.customerListAll.length) {
this.isCkedAll = false this.isCkedAll = false
} else { } else {
this.isCkedAll = true this.isCkedAll = true
} }
}, },
showUpLoadFile(i) { showUpLoadFile(i) {
// 预览上传文件 // 预览上传文件
if (i.Type == 3) { if (i.Type == 3) {
...@@ -486,22 +484,22 @@ export default { ...@@ -486,22 +484,22 @@ export default {
let data=res.data.data.pageData; let data=res.data.data.pageData;
this.dataList=[]; this.dataList=[];
this.total = res.data.data.count; this.total = res.data.data.count;
this.allLength=res.data.data.pageData.length
this.customerListAll=[]; this.customerListAll=[];
data.forEach(item=>{ data.forEach(item=>{
item.disabled=false; item.disabled=false;
if(item.FinanceId!=0){ if(item.FinanceId!=0){
item.disabled=true; item.disabled=true;
} }
this.dataList.push(item) this.dataList.push(item)
item.AirTicketId=item.NewHotelID; item.AirTicketId=item.NewHotelID;
if(item.FinanceId!=0){ if(item.FinanceId==0){
this.customerListAll.push(item) this.customerListAll.push(item)
} }
}) })
console.log("this.customerListAll",this.customerListAll)
} }
}); });
}, },
......
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