Parcourir la source

出入境费用

liuhj il y a 2 mois
Parent
commit
479b3cae9b

+ 21 - 2
src/components/OP/EntryDetails.vue

@@ -715,11 +715,11 @@ export default {
                         that.value = res.data.data.groupNameData[0].id;
                         that.provinceId = res.data.data.groupNameData[0].provinceId;
                     }
-                    that.listvalueoptions = res.data.data.wordTypeData;
-                    that.tablevalueoptions = res.data.data.excelTypeData;
+                    
                     that.GetEnterExitCostInfobyDiId();
                     that.PostGroupTeamRateByDiIdAndCTableId();
                     that.GetNationalTravelFeeData();
+                    that.EnterExitCostFileOwner();
                 }
             })
         },
@@ -856,6 +856,24 @@ export default {
             this.TotalExpenses.EconomyClass = this.TicketJudgment.jjcCurrentRate;
             this.TotalExpenses.BusinessClass = this.TicketJudgment.gwcCurrentRate;
         },
+        //获取文件
+        EnterExitCostFileOwner() {
+            this.listvalueoptions=[];
+            this.tablevalueoptions=[];
+            var url = "/api/Groups/EnterExitCostFileOwner/"+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;
+                    that.tablevalueoptions = res.data.data.excelTypeData;
+                }else {
+                    that.$message.error(res.data.msg);
+                }
+            })
+        },
         //获取费用标注
         GetNationalTravelFeeData() {
             this.fullscreenLoading = true;
@@ -2039,6 +2057,7 @@ export default {
             }
             
             this.fullscreenLoading = true;
+            this.EnterExitCostFileOwner();
             this.GetNationalTravelFeeData();
             this.GetEnterExitCostInfobyDiId();
             this.PostGroupTeamRateByDiIdAndCTableId();

+ 1 - 0
src/components/OP/EntryDetailsdraft.vue

@@ -802,6 +802,7 @@ export default {
         },
         //获取文件
         EnterExitCostDraftFileOwner() {
+            this.listvalueoptions=[];
             var url = "/api/Groups/EnterExitCostDraftFileOwner/"+this.provinceId
             var that = this
             this.$axios({

+ 2 - 2
src/components/OP/Groupedit.vue

@@ -46,8 +46,8 @@
                         ></el-autocomplete>
                         <!-- <el-input el-input v-model="ruleForm.customerunits"></el-input> -->
                     </el-form-item>
-                    <el-form-item label-width="120px" label="sadasd:" prop="cityId">
-                        <el-select filterable @change="optypechange" class="op-type" v-model="ruleForm.cityId" placeholder="请选择团组类型">
+                    <el-form-item label-width="120px" label="城市:" prop="cityId">
+                        <el-select filterable @change="optypechange" class="op-type" v-model="ruleForm.cityId" placeholder="请选择城市">
                             <el-option v-for="(item, index) in cityData" :key="index" :label="item.name"
                                 :value="item.id"></el-option>
                         </el-select>