Commit 35cc7a22 authored by 华国豪's avatar 华国豪 🙄

意见调查填写 提交时加转圈圈 防止重复提交数据

parent 99ff5bc0
......@@ -119,7 +119,7 @@
:visible.sync="DiaoChaShow"
center
:before-close="closeDialog">
<div class="main NewSurveyList">
<div class="main NewSurveyList" v-loading="saveShow">
<el-select filterable v-model="GuestId" value-key="LineID" @change="getOrderID(GuestId)">
<el-option v-for="item in ppList" :label='item.GuestName' :value='item.GuestId' :key='item.GuestId'></el-option>
</el-select>
......@@ -196,6 +196,7 @@ export default {
loading:false,
DiaoChaShow: false,
wqList: [],
saveShow: false,
msg:{
pageSize:10,
pageIndex:1,
......@@ -318,6 +319,7 @@ export default {
if (this.GuestId == '') {
return this.$message.error('请选择客人')
}
this.saveShow = true
let data = JSON.parse(JSON.stringify(this.wqList))
data.forEach(x=>{
x.TCID = this.TCID;
......@@ -335,6 +337,7 @@ export default {
this.$message.success('提交成功!');
this.GuestId = '';
this.DiaoChaShow = false;
this.saveShow = false;
this.getList();
} else {
this.$message.error(res.data.message)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment