Commit 216abe87 authored by 黄奎's avatar 黄奎

页面修改

parent 30e163f0
...@@ -1559,12 +1559,14 @@ ...@@ -1559,12 +1559,14 @@
var qmsg = { var qmsg = {
Id: this.Id Id: this.Id
}; };
console.log("qmsg",qmsg);
this.apipost("travel_get_GetBaoJiaDanSwtService", qmsg, res => { this.apipost("travel_get_GetBaoJiaDanSwtService", qmsg, res => {
console.log("getData",res.data.data);
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
var jsonData = res.data.data; var jsonData = res.data.data;
if (jsonData) { if (jsonData) {
this.postData.Id = jsonData.Id; this.postData.Id = this.Id;
this.postData.LineId = jsonData.LineId; this.postData.LineId = jsonData.LineId;
if (this.postData.LineId > 0) { if (this.postData.LineId > 0) {
this.getLineTeamList(); this.getLineTeamList();
...@@ -1671,10 +1673,12 @@ ...@@ -1671,10 +1673,12 @@
//保存数据 //保存数据
SaveData(type) { SaveData(type) {
this.apipost("travel_post_SetBaoJiaDanSwtService", this.postData, res => { this.apipost("travel_post_SetBaoJiaDanSwtService", this.postData, res => {
console.log("SaveData",res.data.data);
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.Id = res.data.data; this.Id = res.data.data;
if (type == 0) { if (type == 0) {
this.gonewQuotationSWT(res.data.data, 'QuotationPrice_SWT'); this.gonewQuotationSWT(this.Id, 'QuotationPrice_SWT');
this.getData();
} else { } else {
this.gonewQuotationSWT(0, 'newQuotation_SWT'); this.gonewQuotationSWT(0, 'newQuotation_SWT');
} }
...@@ -2507,6 +2511,7 @@ ...@@ -2507,6 +2511,7 @@
if (this.$route.query.Id) { if (this.$route.query.Id) {
this.Id = this.$route.query.Id; this.Id = this.$route.query.Id;
} }
console.log("this.Id", this.Id);
this.GetBaoJiaFeeConfigList(); this.GetBaoJiaFeeConfigList();
this.getBusTypeList(); this.getBusTypeList();
this.getLineList(); this.getLineList();
......
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