Commit 8d387724 authored by 黄奎's avatar 黄奎

页面修改

parent 258f250a
...@@ -65,14 +65,17 @@ ...@@ -65,14 +65,17 @@
word-break: normal; word-break: normal;
color: #333; color: #333;
} }
.choose_trip .table-striped { .choose_trip .table-striped {
width: 100%; width: 100%;
border-spacing: 0; border-spacing: 0;
border-collapse: collapse; border-collapse: collapse;
} }
.table-striped tbody{
.table-striped tbody {
border-bottom: 1px solid #000; border-bottom: 1px solid #000;
} }
.choose_trip .table-striped th, .choose_trip .table-striped th,
.choose_trip .table-striped td { .choose_trip .table-striped td {
padding: 8px; padding: 8px;
...@@ -216,7 +219,7 @@ ...@@ -216,7 +219,7 @@
RateOnDay: "-1", RateOnDay: "-1",
SaleBranchId: [], SaleBranchId: [],
SalePlat: [], SalePlat: [],
StartGroupDate: "2020-6-19", StartGroupDate: "",
TCID: 0, TCID: 0,
TCNUM: "", TCNUM: "",
TCState: [3], TCState: [3],
...@@ -230,7 +233,7 @@ ...@@ -230,7 +233,7 @@
currentPage: 1, currentPage: 1,
total: 0, total: 0,
noData: true, noData: true,
loading:false loading: false
}, },
queryCommonData: { queryCommonData: {
LineList: [], LineList: [],
...@@ -241,7 +244,14 @@ ...@@ -241,7 +244,14 @@
}; };
}, },
created() { created() {
var myDate = new Date();
var nowDate =
myDate.getFullYear() +
"-" +
parseInt(myDate.getMonth() + 1) +
"-" +
myDate.getDate();
this.queryMsg.StartGroupDate = nowDate;
}, },
methods: { methods: {
//选中切换 //选中切换
...@@ -249,9 +259,9 @@ ...@@ -249,9 +259,9 @@
//单选 //单选
if (!this.IsMultiple) { if (!this.IsMultiple) {
this.dataList.forEach(x => { this.dataList.forEach(x => {
if(x.TCID==item.TCID){ if (x.TCID == item.TCID) {
//item.Checked = !item.Checked; //item.Checked = !item.Checked;
}else{ } else {
x.Checked = false; x.Checked = false;
} }
}); });
...@@ -311,11 +321,11 @@ ...@@ -311,11 +321,11 @@
this.queryMsg.currentPage = 1; this.queryMsg.currentPage = 1;
}, },
GetList() { GetList() {
this.queryMsg.loading=true; this.queryMsg.loading = true;
this.apipost( this.apipost(
"travel_get_GetTravelPrciePageList_V2", this.queryMsg, "travel_get_GetTravelPrciePageList_V2", this.queryMsg,
res => { res => {
this.queryMsg.loading=false; this.queryMsg.loading = false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
var tempArray = res.data.data.pageData; var tempArray = res.data.data.pageData;
this.queryMsg.total = res.data.data.count; this.queryMsg.total = res.data.data.count;
...@@ -344,7 +354,7 @@ ...@@ -344,7 +354,7 @@
return tempArray; return tempArray;
}, },
//清空数据 //清空数据
clearData(){ clearData() {
// this.dataList=[]; // this.dataList=[];
// this.queryMsg.pageIndex=1; // this.queryMsg.pageIndex=1;
// this.queryMsg.total=0; // this.queryMsg.total=0;
......
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