|
@@ -186,6 +186,7 @@ export default {
|
|
|
a: [],
|
|
|
liom: 0,
|
|
|
danwei: '',
|
|
|
+ danweiId: 0,
|
|
|
conferenceAffairsCost: {
|
|
|
city: '',//服务地区
|
|
|
diid: '',//团组Id
|
|
@@ -197,6 +198,7 @@ export default {
|
|
|
remark: '',
|
|
|
costAll: '',//成本总计
|
|
|
baoJiaAll: '',//报价总计
|
|
|
+ mostCurr: 0, //最终币种
|
|
|
},
|
|
|
units: [],
|
|
|
typearr: [],
|
|
@@ -263,8 +265,10 @@ export default {
|
|
|
});
|
|
|
if (_this.rateStatistics.length > 1) {
|
|
|
_this.danwei = 'CNY';
|
|
|
+ _this.danweiId = 836;
|
|
|
} else {
|
|
|
_this.danwei = _this.rateStatistics.length == 1 ? _this.rateStatistics[0].currencyCode : 'CNY';
|
|
|
+ _this.danweiId = _this.rateStatistics.length == 1 ? _this.rateStatistics[0].currencyId : 836;
|
|
|
}
|
|
|
_this.updateTotals();
|
|
|
},
|
|
@@ -519,6 +523,7 @@ export default {
|
|
|
this.conferenceAffairsCost.diid = this.conferenceid;
|
|
|
this.conferenceAffairsCost.baoJiaAll = Number(this.conferenceAffairsCost.baoJiaAll);
|
|
|
this.conferenceAffairsCost.costAll = Number(this.conferenceAffairsCost.costAll);
|
|
|
+ this.conferenceAffairsCost.mostCurr = this.danweiId;
|
|
|
var url = "/api/Groups/ConferenceAffairsSave"
|
|
|
var that = this
|
|
|
this.$axios({
|