mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 00:26:44 +08:00
出单列表查询这块 , 用来区分是当月还是当天,当月 dateFlag:m,当天 dateFlag:d
This commit is contained in:
@@ -129,6 +129,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
dateFlag: 'd',
|
||||||
style02: 'style02', //style02 时,显示红字红三角的样式,不写的话展示默认样式
|
style02: 'style02', //style02 时,显示红字红三角的样式,不写的话展示默认样式
|
||||||
isNoOrganization: null,
|
isNoOrganization: null,
|
||||||
currentIndex: 0, //0 当月 1当天
|
currentIndex: 0, //0 当月 1当天
|
||||||
@@ -192,6 +193,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.postDate = date.year + '-' + date.month + '-' + date.date
|
this.postDate = date.year + '-' + date.month + '-' + date.date
|
||||||
}
|
}
|
||||||
|
this.dateFlag = index == 0 ? 'm' : 'd'
|
||||||
this.currentIndex = index == 0 ? 1 : 0
|
this.currentIndex = index == 0 ? 1 : 0
|
||||||
this.pageNum = 1
|
this.pageNum = 1
|
||||||
this.tableData = []
|
this.tableData = []
|
||||||
@@ -199,6 +201,7 @@ export default {
|
|||||||
},
|
},
|
||||||
//时间筛选
|
//时间筛选
|
||||||
onDateConfirm(data) {
|
onDateConfirm(data) {
|
||||||
|
this.dateFlag = 'm'
|
||||||
this.postDate = data
|
this.postDate = data
|
||||||
this.pageNum = 1
|
this.pageNum = 1
|
||||||
this.tableData = []
|
this.tableData = []
|
||||||
@@ -272,6 +275,7 @@ export default {
|
|||||||
// 查询列表数据
|
// 查询列表数据
|
||||||
queryOutOrderListFunc() {
|
queryOutOrderListFunc() {
|
||||||
queryOutOrderList({
|
queryOutOrderList({
|
||||||
|
dateFlag: this.dateFlag,
|
||||||
appntDate: this.postDate,
|
appntDate: this.postDate,
|
||||||
distCode: this.OrgLv2Code,
|
distCode: this.OrgLv2Code,
|
||||||
depCode: this.OrgLv3Code,
|
depCode: this.OrgLv3Code,
|
||||||
|
|||||||
Reference in New Issue
Block a user