|
@@ -27,6 +27,13 @@
|
|
|
</el-option>
|
|
|
</el-select> -->
|
|
|
</div>
|
|
|
+ <div v-if="isSave" class="Entrydraft-head-li" style="width:220px">
|
|
|
+ <label>城市归属:</label>
|
|
|
+ <el-select style="width:150px" @change="provinceIdchange" v-model="provinceId" filterable placeholder="请选择">
|
|
|
+ <el-option v-for="item in provinceIdarr" :key="item.id" :label="item.name" :value="item.id">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </div>
|
|
|
<div v-if="isSave" class="Entrydraft-head-li" style="width:361px">
|
|
|
<label>团组:</label>
|
|
|
<el-select style="width:250px" v-model="diid" filterable placeholder="请选择">
|
|
@@ -715,7 +722,10 @@ export default {
|
|
|
isView:false,
|
|
|
viewUsers:[],
|
|
|
viewUsersby:[],
|
|
|
- viewUsersarr:[]
|
|
|
+ viewUsersarr:[],
|
|
|
+
|
|
|
+ provinceIdarr:[],
|
|
|
+ provinceId:'',
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
@@ -763,13 +773,48 @@ export default {
|
|
|
that.valuename = that.draftNameDatas[0].value;
|
|
|
that.value = that.draftNameDatas[0].id;
|
|
|
}
|
|
|
- that.listvalueoptions = res.data.data.wordTypeData;
|
|
|
that.tablevalueoptions = res.data.data.excelTypeData;
|
|
|
that.GetEnterExitCostInfobyDiId();
|
|
|
that.PostGroupTeamRateByDiIdAndCTableId();
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
+ provinceIdchange(){
|
|
|
+ this.EnterExitCostDraftFileOwner();
|
|
|
+ this.GetNationalTravelFeeData();
|
|
|
+ },
|
|
|
+ //获取归属
|
|
|
+ EnterExitDraftProvBelongCostDataSource() {
|
|
|
+ this.provinceIdarr=[]
|
|
|
+ var url = "/api/Groups/EnterExitDraftProvBelongCostDataSource"
|
|
|
+ var that = this
|
|
|
+ this.$axios({
|
|
|
+ method: 'get',
|
|
|
+ url: url,
|
|
|
+ }).then(function (res) {
|
|
|
+ if (res.data.code == 200) {
|
|
|
+ that.provinceIdarr=res.data.data;
|
|
|
+
|
|
|
+ }else {
|
|
|
+ that.$message.error(res.data.msg);
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
+ //获取文件
|
|
|
+ EnterExitCostDraftFileOwner() {
|
|
|
+ var url = "/api/Groups/EnterExitCostDraftFileOwner/"+this.provinceId
|
|
|
+ var that = this
|
|
|
+ this.$axios({
|
|
|
+ method: 'get',
|
|
|
+ url: url,
|
|
|
+ }).then(function (res) {
|
|
|
+ if (res.data.code == 200) {
|
|
|
+ that.listvalueoptions = res.data.data.wordTypeData;
|
|
|
+ }else {
|
|
|
+ that.$message.error(res.data.msg);
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
//获取币种
|
|
|
PostGroupTeamRateByDiIdAndCTableId() {
|
|
|
this.othercurrencys = [];
|
|
@@ -977,7 +1022,6 @@ export default {
|
|
|
},
|
|
|
//获取费用标注
|
|
|
GetNationalTravelFeeData() {
|
|
|
- this.fullscreenLoading = true;
|
|
|
var url = "/api/Groups/GetNationalTravelFeeData"
|
|
|
var that = this
|
|
|
this.$axios({
|
|
@@ -987,7 +1031,8 @@ export default {
|
|
|
Authorization: 'Bearer ' + this.token
|
|
|
},
|
|
|
data: {
|
|
|
- portType: 1
|
|
|
+ portType: 1,
|
|
|
+ provinceId:that.provinceId,
|
|
|
}
|
|
|
}).then(function (res) {
|
|
|
let placeinifarr = [];
|
|
@@ -1578,7 +1623,10 @@ export default {
|
|
|
that.otherExpense += res.data.data.dayOtherPriceData[e].subTotal
|
|
|
}
|
|
|
that.storageid = res.data.data.id;
|
|
|
- // that.GetNationalTravelFeeData();
|
|
|
+ that.provinceId=res.data.data.provinceId;
|
|
|
+ that.GetNationalTravelFeeData();
|
|
|
+ that.EnterExitCostDraftFileOwner();
|
|
|
+
|
|
|
that.fullscreenLoading = false;
|
|
|
that.GetEnterExitCostCorrelationTips(2);
|
|
|
that.EnterExitCostDraftVisaTips();
|
|
@@ -2109,7 +2157,9 @@ export default {
|
|
|
|
|
|
this.getvisafeebtn=false;
|
|
|
// this.EnterExitCostDraftVisaTips();
|
|
|
-
|
|
|
+ this.provinceId=this.provinceIdarr[0].id;
|
|
|
+ this.GetNationalTravelFeeData();
|
|
|
+ // this.EnterExitCostDraftFileOwner();
|
|
|
},
|
|
|
//下拉
|
|
|
handNodeClick(data, node, e) {
|
|
@@ -2554,6 +2604,7 @@ export default {
|
|
|
draftName: that.valuename,
|
|
|
choiceOne: that.choiceOne ? 1 : 0,
|
|
|
insidePay: that.DomesticFees.total,
|
|
|
+ provinceId: that.provinceId,
|
|
|
visa: that.DomesticFees.visafees,
|
|
|
visaRemark: that.DomesticFees.visafeesDescription,
|
|
|
yiMiao: that.DomesticFees.vaccinefees,
|
|
@@ -3348,7 +3399,8 @@ export default {
|
|
|
this.userId = JSON.parse(localStorage.getItem('userinif')).userInfo.userId;
|
|
|
this.value = JSON.parse(localStorage.getItem('sgvalue'))
|
|
|
this.GetEnterExitCostDataSource();
|
|
|
- this.GetNationalTravelFeeData();
|
|
|
+ this.EnterExitDraftProvBelongCostDataSource();
|
|
|
+ // this.GetNationalTravelFeeData();
|
|
|
},
|
|
|
destroyed() {
|
|
|
window.localStorage.removeItem('sgvalue');
|