材料管理-日期清除bug修复
This commit is contained in:
parent
c1c3cdd81e
commit
b4fa567591
@ -603,7 +603,7 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
timeValue: '',
|
||||
timeValue: [],
|
||||
isShow: false,
|
||||
deliteShow: false,
|
||||
detailData: {},
|
||||
@ -663,10 +663,10 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
//选择时间时
|
||||
getTime(val) {
|
||||
if (val) {
|
||||
this.searchForm.startTime = val[0]
|
||||
this.searchForm.endTime = val[1]
|
||||
getTime() {
|
||||
if (this.timeValue) {
|
||||
this.searchForm.startTime = this.timeValue[0]
|
||||
this.searchForm.endTime = this.timeValue[1]
|
||||
} else {
|
||||
this.searchForm.startTime = ''
|
||||
this.searchForm.endTime = ''
|
||||
@ -747,7 +747,6 @@ export default {
|
||||
},
|
||||
|
||||
edit(obj) {
|
||||
console.log('obj=======', obj);
|
||||
this.title = '编辑入库'
|
||||
this.dialogShow = true
|
||||
this.addForm = JSON.parse(JSON.stringify(obj))
|
||||
@ -822,6 +821,7 @@ export default {
|
||||
this.getList()
|
||||
},
|
||||
refresh() {
|
||||
this.timeValue=[]
|
||||
this.searchForm = {}
|
||||
this.pagInfo.pageNo = 1 //页数
|
||||
this.pagInfo.pageSize = 10 //条数
|
||||
|
||||
@ -603,7 +603,7 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
timeValue: '',
|
||||
timeValue: [],
|
||||
isShow: false,
|
||||
deliteShow: false,
|
||||
detailData: {},
|
||||
@ -663,10 +663,10 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
//选择时间时
|
||||
getTime(val) {
|
||||
if (val) {
|
||||
this.searchForm.startTime = val[0]
|
||||
this.searchForm.endTime = val[1]
|
||||
getTime() {
|
||||
if (this.timeValue) {
|
||||
this.searchForm.startTime = this.timeValue[0]
|
||||
this.searchForm.endTime = this.timeValue[1]
|
||||
} else {
|
||||
this.searchForm.startTime = ''
|
||||
this.searchForm.endTime = ''
|
||||
@ -820,6 +820,7 @@ export default {
|
||||
this.getList()
|
||||
},
|
||||
refresh() {
|
||||
this.timeValue=[]
|
||||
this.searchForm = {}
|
||||
this.pagInfo.pageNo = 1 //页数
|
||||
this.pagInfo.pageSize = 10 //条数
|
||||
|
||||
@ -603,7 +603,7 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
timeValue: '',
|
||||
timeValue: [],
|
||||
isShow: false,
|
||||
deliteShow: false,
|
||||
detailData: {},
|
||||
@ -663,10 +663,10 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
//选择时间时
|
||||
getTime(val) {
|
||||
if (val) {
|
||||
this.searchForm.startTime = val[0]
|
||||
this.searchForm.endTime = val[1]
|
||||
getTime() {
|
||||
if (this.timeValue) {
|
||||
this.searchForm.startTime = this.timeValue[0]
|
||||
this.searchForm.endTime = this.timeValue[1]
|
||||
} else {
|
||||
this.searchForm.startTime = ''
|
||||
this.searchForm.endTime = ''
|
||||
@ -821,6 +821,7 @@ export default {
|
||||
this.getList()
|
||||
},
|
||||
refresh() {
|
||||
this.timeValue=[]
|
||||
this.searchForm = {}
|
||||
this.pagInfo.pageNo = 1 //页数
|
||||
this.pagInfo.pageSize = 10 //条数
|
||||
|
||||
@ -603,7 +603,7 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
timeValue: '',
|
||||
timeValue: [],
|
||||
isShow: false,
|
||||
deliteShow: false,
|
||||
detailData: {},
|
||||
@ -663,10 +663,10 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
//选择时间时
|
||||
getTime(val) {
|
||||
if (val) {
|
||||
this.searchForm.startTime = val[0]
|
||||
this.searchForm.endTime = val[1]
|
||||
getTime() {
|
||||
if (this.timeValue) {
|
||||
this.searchForm.startTime = this.timeValue[0]
|
||||
this.searchForm.endTime = this.timeValue[1]
|
||||
} else {
|
||||
this.searchForm.startTime = ''
|
||||
this.searchForm.endTime = ''
|
||||
@ -745,7 +745,6 @@ export default {
|
||||
this.materialData = []
|
||||
this.addForm = {}
|
||||
},
|
||||
|
||||
edit(obj) {
|
||||
this.title = '编辑出场登记'
|
||||
this.dialogShow = true
|
||||
@ -810,7 +809,6 @@ export default {
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
SizeChange(val) {
|
||||
this.pagInfo.pageSize = val
|
||||
this.getList()
|
||||
@ -820,6 +818,7 @@ export default {
|
||||
this.getList()
|
||||
},
|
||||
refresh() {
|
||||
this.timeValue=[]
|
||||
this.searchForm = {}
|
||||
this.pagInfo.pageNo = 1 //页数
|
||||
this.pagInfo.pageSize = 10 //条数
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user