Commit c1d0c568 authored by youjie's avatar youjie

合同修复

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