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

页面修改

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