Commit c1d0c568 authored by youjie's avatar youjie

合同修复

parent ef2b7ac8
......@@ -3325,7 +3325,7 @@
}
if(!sItem) {
query = {
...query
orderID: item.orderId,
}
this.OpenNewPage('/ContractManage', query)
}
......
......@@ -2393,11 +2393,12 @@
// this.OpenNewPage('/ContractManage', query)
if(!sItem) {
query = {
...query
orderID: item.orderId,
}
this.OpenNewPage('/ContractManage', query)
}
else {
query.id = sItem.id
let path = '/SingleContract'
if(sItem.cType==3) path = '/onedayTripContract'
if(sItem.cType==2) path = '/DomesticTravelcontract'
......
......@@ -349,7 +349,7 @@
</style>
<template>
<div class="TC-MainContent">
<div class="TC-MainContent" v-loading="dataLoading">
<!-- 内容开始 -->
<ul class="fixedMenu" id="fixedMenu">
<li v-for="(item, index) in menuArr" :key="index" :class="{ active: index == ckedIndex }"
......@@ -1448,6 +1448,7 @@
tripList: [],
LineName: "",
SMLoading: false,
dataLoading: false,
};
},
components: {
......@@ -1677,6 +1678,9 @@
}
},
GetData() {
if(this.dataLoading) return
this.dataLoading = true;
if(this.$route.query.orderID) this.CtObj.OrderId = this.$route.query.orderID
this.apipost(
"travelcontract_get_GetTravelContractService", {
ID: this.CtObj.ID,
......@@ -1716,12 +1720,13 @@
};
this.CtObj.ContractTripList.push(tripObj);
}
this.dataLoading = false;
} else {
this.dataLoading = false;
this.Error(res.data.message);
}
},
err => {}
err => {this.dataLoading = false;}
);
},
//点击切换行程
......
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