|
@@ -190,11 +190,11 @@ export default {
|
|
|
advanced: true, // 高级搜索 展开/关闭
|
|
|
tableHeight: 0,
|
|
|
time: [
|
|
|
- getDate.getCurrMonthDays().starttime,
|
|
|
+ getDate.getThreeMonthDays().starttime,
|
|
|
getDate.getCurrMonthDays().endtime
|
|
|
],
|
|
|
queryParam: { // 查询条件
|
|
|
- beginDate: getDate.getCurrMonthDays().starttime,
|
|
|
+ beginDate: getDate.getThreeMonthDays().starttime,
|
|
|
endDate: getDate.getCurrMonthDays().endtime,
|
|
|
productCode: '',
|
|
|
productName: '',
|
|
@@ -273,7 +273,7 @@ export default {
|
|
|
// 导入成功
|
|
|
handleGuideOk (resData) {
|
|
|
traceCodeInsertBatch(resData).then(res => {
|
|
|
- if (res.status == 200 && res.data) {
|
|
|
+ if (res.status == 200) {
|
|
|
this.resetSearchForm()
|
|
|
}
|
|
|
})
|
|
@@ -306,11 +306,11 @@ export default {
|
|
|
// 重置
|
|
|
resetSearchForm () {
|
|
|
this.time = [
|
|
|
- getDate.getCurrMonthDays().starttime,
|
|
|
+ getDate.getThreeMonthDays().starttime,
|
|
|
getDate.getCurrMonthDays().endtime
|
|
|
]
|
|
|
this.$refs.rangeDate.resetDate(this.time)
|
|
|
- this.queryParam.beginDate = getDate.getCurrMonthDays().starttime
|
|
|
+ this.queryParam.beginDate = getDate.getThreeMonthDays().starttime
|
|
|
this.queryParam.endDate = getDate.getCurrMonthDays().endtime
|
|
|
this.totalData = null
|
|
|
this.queryParam.productCode = ''
|