|
@@ -11,8 +11,8 @@
|
|
<div style="display: flex;">
|
|
<div style="display: flex;">
|
|
<div style="width: 25%;">
|
|
<div style="width: 25%;">
|
|
<el-form-item label="团组名称:" label-width="160px">
|
|
<el-form-item label="团组名称:" label-width="160px">
|
|
- <el-select v-model="OpCarTouristGuideGroundData.diId" clearable filterable placeholder="团组选择"
|
|
|
|
- :disabled="isShow" @change="DiIdSelectChange">
|
|
|
|
|
|
+ <el-select v-model="OpCarTouristGuideGroundData.diId" clearable filterable
|
|
|
|
+ placeholder="团组选择" :disabled="isShow" @change="DiIdSelectChange">
|
|
<el-option v-for="item in delegationInfoList" :key="item.id" :label="item.teamName"
|
|
<el-option v-for="item in delegationInfoList" :key="item.id" :label="item.teamName"
|
|
:value="item.id">
|
|
:value="item.id">
|
|
</el-option>
|
|
</el-option>
|
|
@@ -81,9 +81,10 @@
|
|
<el-form :model="OpCarTouristGuideGroundData" ref="OpCarTouristGuideGroundData"
|
|
<el-form :model="OpCarTouristGuideGroundData" ref="OpCarTouristGuideGroundData"
|
|
:rules="OpCarTouristGuideGroundDataRules" label-width="100px" class="demo-ruleForm">
|
|
:rules="OpCarTouristGuideGroundDataRules" label-width="100px" class="demo-ruleForm">
|
|
<div style="display: flex;">
|
|
<div style="display: flex;">
|
|
- <div style="width: 25%;">
|
|
|
|
- <el-form-item label="地区:" prop="area" label-width="160px">
|
|
|
|
- <!-- <el-autocomplete
|
|
|
|
|
|
+ <div style="width: 25%;display: flex;">
|
|
|
|
+ <div style="width: 70%;">
|
|
|
|
+ <el-form-item label="地区:" prop="area" label-width="160px">
|
|
|
|
+ <!-- <el-autocomplete
|
|
popper-class="el-autocomplete-suggestion"
|
|
popper-class="el-autocomplete-suggestion"
|
|
:popper-append-to-body="false"
|
|
:popper-append-to-body="false"
|
|
class="inline-input"
|
|
class="inline-input"
|
|
@@ -92,13 +93,22 @@
|
|
:fetch-suggestions="querySearch"
|
|
:fetch-suggestions="querySearch"
|
|
@select="selectarea"
|
|
@select="selectarea"
|
|
></el-autocomplete> -->
|
|
></el-autocomplete> -->
|
|
- <el-select v-model="OpCarTouristGuideGroundData.area" clearable filterable
|
|
|
|
- placeholder="地区" >
|
|
|
|
- <el-option v-for="(item,index) in restaurants" :key=index :value="item.id" :label="item.value"></el-option>
|
|
|
|
- </el-select>
|
|
|
|
- <!-- <el-input placeholder="地区" v-model="OpCarTouristGuideGroundData.area">
|
|
|
|
|
|
+ <el-select v-model="OpCarTouristGuideGroundData.area" clearable filterable
|
|
|
|
+ placeholder="地区">
|
|
|
|
+ <el-option v-for="(item, index) in restaurants" :key=index :value="item.id"
|
|
|
|
+ :label="item.value"></el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ <!-- <el-input placeholder="地区" v-model="OpCarTouristGuideGroundData.area">
|
|
</el-input> -->
|
|
</el-input> -->
|
|
- </el-form-item>
|
|
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </div>
|
|
|
|
+ <div style="width: 27%;margin-left: 3%;">
|
|
|
|
+ <el-select v-model="value" placeholder="费用标识">
|
|
|
|
+ <el-option v-for="item in options" :key="item.value" :label="item.label"
|
|
|
|
+ :value="item.value">
|
|
|
|
+ </el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
<div style="width: 25%;">
|
|
<div style="width: 25%;">
|
|
<el-form-item label="服务时间起:" prop="serviceStartTime" label-width="160px">
|
|
<el-form-item label="服务时间起:" prop="serviceStartTime" label-width="160px">
|
|
@@ -153,7 +163,7 @@
|
|
<div style="width: 25%;">
|
|
<div style="width: 25%;">
|
|
<el-form-item label="费用标识:" prop="orbitalPrivateTransfer" label-width="160px">
|
|
<el-form-item label="费用标识:" prop="orbitalPrivateTransfer" label-width="160px">
|
|
<el-select v-model="OpCarTouristGuideGroundData.orbitalPrivateTransfer" clearable filterable
|
|
<el-select v-model="OpCarTouristGuideGroundData.orbitalPrivateTransfer" clearable filterable
|
|
- placeholder="费用标识" >
|
|
|
|
|
|
+ placeholder="费用标识">
|
|
<el-option :key=0 :value="0" label="公转"></el-option>
|
|
<el-option :key=0 :value="0" label="公转"></el-option>
|
|
<el-option :key=1 :value="1" label="私转"></el-option>
|
|
<el-option :key=1 :value="1" label="私转"></el-option>
|
|
</el-select>
|
|
</el-select>
|
|
@@ -258,7 +268,14 @@ export default {
|
|
serviceEndTime: { required: true, message: '请输入服务时间止', trigger: ['blur', 'change'] },
|
|
serviceEndTime: { required: true, message: '请输入服务时间止', trigger: ['blur', 'change'] },
|
|
orbitalPrivateTransfer: { required: true, message: '请选择费用表示', trigger: ['blur', 'change'] },
|
|
orbitalPrivateTransfer: { required: true, message: '请选择费用表示', trigger: ['blur', 'change'] },
|
|
},
|
|
},
|
|
- restaurants:[]
|
|
|
|
|
|
+ restaurants: [],
|
|
|
|
+ options: [{
|
|
|
|
+ value: '首付款',
|
|
|
|
+ label: '首付款'
|
|
|
|
+ }, {
|
|
|
|
+ value: '尾款',
|
|
|
|
+ label: '尾款'
|
|
|
|
+ }],
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -284,20 +301,20 @@ export default {
|
|
}).then(function (res) {
|
|
}).then(function (res) {
|
|
console.log(res)
|
|
console.log(res)
|
|
if (res.data.code == 200) {
|
|
if (res.data.code == 200) {
|
|
- that.restaurants=res.data.data;
|
|
|
|
- that.restaurants= that.restaurants.map((terminal) => {
|
|
|
|
|
|
+ that.restaurants = res.data.data;
|
|
|
|
+ that.restaurants = that.restaurants.map((terminal) => {
|
|
return {
|
|
return {
|
|
- id:terminal.id,
|
|
|
|
- value:terminal.country +' '+ terminal.city,
|
|
|
|
|
|
+ id: terminal.id,
|
|
|
|
+ value: terminal.country + ' ' + terminal.city,
|
|
};
|
|
};
|
|
});
|
|
});
|
|
- }else{
|
|
|
|
|
|
+ } else {
|
|
that.$message.error(res.data.msg);
|
|
that.$message.error(res.data.msg);
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|
|
///
|
|
///
|
|
- selectarea(val){
|
|
|
|
|
|
+ selectarea(val) {
|
|
console.log(this.OpCarTouristGuideGroundData.area);
|
|
console.log(this.OpCarTouristGuideGroundData.area);
|
|
console.log(val);
|
|
console.log(val);
|
|
},
|
|
},
|
|
@@ -378,8 +395,8 @@ export default {
|
|
if (CreditCardPayment != null) {
|
|
if (CreditCardPayment != null) {
|
|
that.IsAuditGM = CreditCardPayment.isAuditGM;
|
|
that.IsAuditGM = CreditCardPayment.isAuditGM;
|
|
}
|
|
}
|
|
-
|
|
|
|
- that.OpCarTouristGuideGroundData.area = parseInt(carTouristGuideGround.area)?Number(carTouristGuideGround.area):"";
|
|
|
|
|
|
+
|
|
|
|
+ that.OpCarTouristGuideGroundData.area = parseInt(carTouristGuideGround.area) ? Number(carTouristGuideGround.area) : "";
|
|
that.OpCarTouristGuideGroundData.serviceCompany = carTouristGuideGround.serviceCompany
|
|
that.OpCarTouristGuideGroundData.serviceCompany = carTouristGuideGround.serviceCompany
|
|
that.OpCarTouristGuideGroundData.serviceGuide = carTouristGuideGround.serviceGuide
|
|
that.OpCarTouristGuideGroundData.serviceGuide = carTouristGuideGround.serviceGuide
|
|
that.OpCarTouristGuideGroundData.serviceTel = carTouristGuideGround.serviceTel
|
|
that.OpCarTouristGuideGroundData.serviceTel = carTouristGuideGround.serviceTel
|
|
@@ -438,7 +455,7 @@ export default {
|
|
type: 'success'
|
|
type: 'success'
|
|
});
|
|
});
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
- that.$router.push('/home/CarTouristGuideGroundId?diId='+that.OpCarTouristGuideGroundData.diId+'')
|
|
|
|
|
|
+ that.$router.push('/home/CarTouristGuideGroundId?diId=' + that.OpCarTouristGuideGroundData.diId + '')
|
|
}, 3000);
|
|
}, 3000);
|
|
} else {
|
|
} else {
|
|
that.$message.error(res.data.msg);
|
|
that.$message.error(res.data.msg);
|
|
@@ -461,7 +478,7 @@ export default {
|
|
})
|
|
})
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- created(){
|
|
|
|
|
|
+ created() {
|
|
this.OpCarCityResult()
|
|
this.OpCarCityResult()
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
@@ -471,7 +488,7 @@ export default {
|
|
this.OpCarTouristGuideGroundData.diId = parseInt(this.$route.query.DiId)
|
|
this.OpCarTouristGuideGroundData.diId = parseInt(this.$route.query.DiId)
|
|
this.OpCarTouristGuideGroundData.id = this.$route.query.id
|
|
this.OpCarTouristGuideGroundData.id = this.$route.query.id
|
|
this.OpCarTouristGuideGroundData.createUserId = this.userId
|
|
this.OpCarTouristGuideGroundData.createUserId = this.userId
|
|
-
|
|
|
|
|
|
+
|
|
if (this.OpCarTouristGuideGroundData.id != null && this.OpCarTouristGuideGroundData.id != undefined && this.OpCarTouristGuideGroundData.id != 0) {
|
|
if (this.OpCarTouristGuideGroundData.id != null && this.OpCarTouristGuideGroundData.id != undefined && this.OpCarTouristGuideGroundData.id != 0) {
|
|
this.QueryCarTouristGuideGroundById();
|
|
this.QueryCarTouristGuideGroundById();
|
|
this.title = "修改Op费用";
|
|
this.title = "修改Op费用";
|
|
@@ -492,7 +509,7 @@ export default {
|
|
padding: 10px;
|
|
padding: 10px;
|
|
box-shadow: 0 0 5px #0005;
|
|
box-shadow: 0 0 5px #0005;
|
|
border-radius: 10px;
|
|
border-radius: 10px;
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
|
|
.car_add .communal-title {
|
|
.car_add .communal-title {
|
|
@@ -531,12 +548,15 @@ export default {
|
|
box-shadow: 0 0 5px #0005;
|
|
box-shadow: 0 0 5px #0005;
|
|
border-radius: 10px;
|
|
border-radius: 10px;
|
|
}
|
|
}
|
|
-.car_add .el-date-editor.el-input{
|
|
|
|
|
|
+
|
|
|
|
+.car_add .el-date-editor.el-input {
|
|
width: 100%;
|
|
width: 100%;
|
|
}
|
|
}
|
|
-.car_add .el-select{
|
|
|
|
|
|
+
|
|
|
|
+.car_add .el-select {
|
|
width: 100%;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
+
|
|
@media screen and (max-width: 1700px) {
|
|
@media screen and (max-width: 1700px) {
|
|
.appraise-box>div {
|
|
.appraise-box>div {
|
|
width: 48%;
|
|
width: 48%;
|