Commit 17870d08 authored by 沈良进's avatar 沈良进

save

parent 086d46b9
......@@ -474,6 +474,9 @@
v-if="item.PriceOfferUrl" target="_blank">下载报价单</a>
</span>
</p>
<p class="travelnowrap">
<span @click="showDialog(item.ConfigId, item.OfferId)">价格信息</span>
</p>
</div>
</div>
<div class="el-col" style="width:190px;">
......@@ -788,12 +791,23 @@
</el-col>
</el-form>
</div>
<el-dialog :visible.sync="dialog.show" width="1400px">
<price-dialog :ConfigId="dialog.ConfigId" :OfferId="dialog.OfferId" ref="dialog"></price-dialog>
</el-dialog>
</div>
</template>
<script>
import priceDialog from '../TravelNewQuotation/priceDialog.vue';
export default {
components: {
priceDialog
},
data() {
return {
dialog: {
show: false,
ConfigId: '',OfferId: ''
},
isCommissionDetails: false,//团控提成详情权限
QSendCommissionStateList:[
{Name:'不限',ID: 0},
......@@ -955,6 +969,15 @@
}
},
methods: {
showDialog(ConfigId,OfferId) {
this.dialog = {
show: true,
ConfigId,OfferId
}
this.$nextTick(() => {
this.$refs.dialog.getPostData()
})
},
// 查看团详情
goRoyaltyUrl(row,Royalty,item){
let name
......
......@@ -229,7 +229,7 @@
</div>
<div style="width:134px;">
<span class="openGroup newAopbdd" @click="goToOpenTravel(item)"
v-if="item.TravelState==3&& item.OpenState==2 && [2,5].includes(item.LineId)">
v-if="item.TravelState==3&& item.OpenState==2 && [2,5].includes(item.LineId) || 1">
<el-tooltip class="item" effect="dark" content="开团" placement="top-start" popper-class="max-w250">
<i class="iconfont icon-nav-hangzheng"></i>
</el-tooltip>
......@@ -627,13 +627,13 @@
//开团或修改
goToOpenTravel(item) {
var routeName = this.$route.name;
var path = '';
if (routeName == 'newQuotation') {
path = 'TravelManager6'
}
if (routeName == 'newQuotation2') {
path = 'TravelManager5'
}
var path = 'TravelManager5';
// if (routeName == 'newQuotation') {
// path = 'TravelManager6'
// }
// if (routeName == 'newQuotation2') {
// path = 'TravelManager5'
// }
if (item.ID > 0) {
this.$router.push({
name: path,
......
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