|
@@ -93,7 +93,7 @@
|
|
|
<span style="color:#606266;">{{ delegationInfo.visitDate }} </span>
|
|
|
<span style="font-weight: bold;">天数/人数:</span>
|
|
|
<span style="color:#606266;">{{ delegationInfo.visitDays }}天/{{
|
|
|
- delegationInfo.visitPNumber }}人</span>
|
|
|
+ delegationInfo.visitPNumber }}人</span>
|
|
|
</div>
|
|
|
<hr style='background-color:#5555; height:1px; border:none;' />
|
|
|
<div>
|
|
@@ -112,8 +112,8 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="datePrice" label="日期" width="170">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-date-picker size="small" style="width: 100%;" v-model="scope.row.datePrice"
|
|
|
- type="date" :picker-options="startPickerOptions" value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
+ <el-date-picker size="small" style="width: 100%;" v-model="scope.row.datePrice" type="date"
|
|
|
+ :picker-options="startPickerOptions" value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
placeholder="选择日期">
|
|
|
</el-date-picker>
|
|
|
</template>
|
|
@@ -151,8 +151,7 @@
|
|
|
<!-- <el-input size="small" style="width: 100%;" placeholder="选择单位" v-model="scope.row.units"
|
|
|
@change="PriceChange"></el-input> -->
|
|
|
<el-select size="small" v-model="scope.row.units" filterable placeholder="选择单位">
|
|
|
- <el-option v-for="item in unitsArr" :key="item.id" :label="item.name"
|
|
|
- :value="item.id">
|
|
|
+ <el-option v-for="item in unitsArr" :key="item.id" :label="item.name" :value="item.id">
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</template>
|
|
@@ -223,7 +222,7 @@
|
|
|
</div>
|
|
|
<div style="width: 75%;text-align: right;">
|
|
|
<el-form-item>
|
|
|
- <el-button type="primary" @click="addBtn">保存</el-button>
|
|
|
+ <el-button type="primary" @click="addBtn" :disabled="saveDisabled">保存</el-button>
|
|
|
<el-button @click="EscAdd">取消</el-button>
|
|
|
</el-form-item>
|
|
|
</div>
|
|
@@ -290,7 +289,8 @@ export default {
|
|
|
checkList: [],
|
|
|
sourceList: [],
|
|
|
ListCount: 1,
|
|
|
- budgeting: []
|
|
|
+ budgeting: [],
|
|
|
+ saveDisabled: false,
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
@@ -498,6 +498,7 @@ export default {
|
|
|
})
|
|
|
})
|
|
|
|
|
|
+ this.saveDisabled = true;
|
|
|
var url = "/api/Groups/OpCarTouristGuideGroundContent"
|
|
|
that.$axios({
|
|
|
method: 'post',
|
|
@@ -516,7 +517,10 @@ export default {
|
|
|
} else {
|
|
|
that.$message.error(res.data.msg);
|
|
|
}
|
|
|
- })
|
|
|
+ }).finally(() => {
|
|
|
+ that.saveDisabled = false;
|
|
|
+ });
|
|
|
+
|
|
|
} else {
|
|
|
this.$message.error('请完善信息在保存!');
|
|
|
return false;
|