Commit ff8c578c authored by zhengke's avatar zhengke

修改报价

parent 4b95f4ac
...@@ -740,6 +740,16 @@ ...@@ -740,6 +740,16 @@
this.queryMsg.Money = ""; this.queryMsg.Money = "";
this.shortPeopleNumber(); this.shortPeopleNumber();
}, },
//删除币种
DeleteCurrency(index) {
this.CostCurrencyList.splice(index, 1);
},
//删除人数
DeletePNumber(index) {
this.CostNumberList.splice(index, 1);
},
//人数排序 //人数排序
shortPeopleNumber() { shortPeopleNumber() {
this.CurrencyNumberListExt.forEach(x => { this.CurrencyNumberListExt.forEach(x => {
...@@ -844,7 +854,6 @@ ...@@ -844,7 +854,6 @@
watch: { watch: {
CostNumberList: { CostNumberList: {
handler: function (val, oldVal) { handler: function (val, oldVal) {
console.log("111");
this.getchange() this.getchange()
}, },
deep: true deep: true
......
<template> <template>
<div class="DirectQuotation clearfix"> <div class="DirectQuotation clearfix" v-loading="loading">
<DirectQuotation ref="QuotationPrice" :postConfig="postData" :dayCostPrice="dayCostPriceList" <DirectQuotation ref="QuotationPrice" :postConfig="postData" :dayCostPrice="dayCostPriceList"
:otherPrice="otherPrice" :teamPrice="teamPrice" :LineList="LineList" :CostCurrencyList="CostCurrencyList" :otherPrice="otherPrice" :teamPrice="teamPrice" :LineList="LineList" :CostCurrencyList="CostCurrencyList"
:CostNumberList="CostNumberList" :CurrencyNumberListExt="CurrencyNumberListExt"></DirectQuotation> :CostNumberList="CostNumberList" :CurrencyNumberListExt="CurrencyNumberListExt"></DirectQuotation>
...@@ -113,6 +113,7 @@ ...@@ -113,6 +113,7 @@
ContractUrl: "", //合同地址 ContractUrl: "", //合同地址
}, },
LineList: [], //线路列表 LineList: [], //线路列表
loading:false
}; };
}, },
methods: { methods: {
...@@ -139,10 +140,11 @@ ...@@ -139,10 +140,11 @@
CostNumberList: this.CostNumberList, CostNumberList: this.CostNumberList,
CurrencyNumberListExt: currencyNumList CurrencyNumberListExt: currencyNumList
}; };
this.loading=true;
this.apipost( this.apipost(
"travel_post_SetConfigOffer_V2", nObj, "travel_post_SetConfigOffer_V2", nObj,
res => { res => {
this.loading=false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.Success(res.data.message); this.Success(res.data.message);
this.goUrl('newQuotation'); this.goUrl('newQuotation');
......
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