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

页面修改

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