Commit de43cdef authored by 罗超's avatar 罗超

submit

parent 15d8bac5
......@@ -157,7 +157,8 @@
<div slot="header" class="clearfix">
<span>旅行社基本資料</span>
</div>
<el-col :span="12">
<el-row>
<el-col :span="8">
<el-form-item label="旅行社名稱">
<el-input v-model="PostMsg.TAName" maxlength="80"></el-input>
</el-form-item>
......@@ -167,11 +168,12 @@
<el-input v-model="PostMsg.TABehalf" maxlength="20"></el-input>
</el-form-item>
</el-col> -->
<el-col :span="12">
<el-col :span="8">
<el-form-item label="旅行社业务经营许可证">
<el-input v-model="PostMsg.TAJiaoGuanCode" maxlength="30"></el-input>
</el-form-item>
</el-col>
</el-row>
<!-- <el-col :span="8">
<el-form-item label="品保編號">
<el-input v-model="PostMsg.TAPingBaoCode" maxlength="30"></el-input>
......@@ -838,7 +840,7 @@
if (tempData.PositionList) {
this.PostMsg.PositionList = tempData.PositionList;
}
this.PostMsg.EnableEmail = Boolean(tempData.EnableEmail);
this.PostMsg.EnableEmail = tempData.EnableEmail === 1;
if (tempData.FilingNo) {
this.PostMsg.FilingNo = tempData.FilingNo;
}
......@@ -855,8 +857,10 @@
},
//保存数据
saveData() {
let params = {...this.PostMsg}
params.EnableEmail = params.EnableEmail ? 1 : 2
this.apipost(
"ws_post_SetBasicConfig", this.PostMsg,
"ws_post_SetBasicConfig", params,
res => {
if (res.data.resultCode == 1) {
this.getData();
......
......@@ -329,7 +329,7 @@ import uploadImg from '../../pubComponents/uploadImg'
res => {
if (res.data.resultCode == 1) {
that.Success(res.data.message);
that.getData();
that.getList();
} else {
that.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