Browse Source

跳转页面bug

master
常熟吴彦祖 2 weeks ago
parent
commit
dde4f0094a
  1. 82
      src/views/modules/qc/IQCResultEntry.vue

82
src/views/modules/qc/IQCResultEntry.vue

@ -2025,9 +2025,14 @@
'$route.query.inspectionNo': { '$route.query.inspectionNo': {
handler (newVal) { handler (newVal) {
if (newVal) { if (newVal) {
//
if (!this.searchData.site) {
this.searchData.site = this.$store.state.user.site
}
if (!this.searchData.userName) {
this.searchData.userName = this.$store.state.user.name
}
this.searchData.inspectionNo = newVal this.searchData.inspectionNo = newVal
// //
this.$nextTick(() => { this.$nextTick(() => {
this.getDataList() this.getDataList()
@ -2049,44 +2054,49 @@
this.disposalMeasuresSearch() this.disposalMeasuresSearch()
//this.orderTypeSearch() //this.orderTypeSearch()
// //
this.getTableUserColumn(this.$route.meta.menuId+'table1',1)
this.getTableUserColumn(this.$route.meta.menuId+'table2',2)
// this.getTableUserColumn(this.$route.meta.menuId+'table1',1)
// this.getTableUserColumn(this.$route.meta.menuId+'table2',2)
// inspectionNo
if (this.$route.query.inspectionNo) { if (this.$route.query.inspectionNo) {
// searchData inspectionNo
this.searchData = {
site: '',
userName: this.$store.state.user.name,
inspectionNo: this.$route.query.inspectionNo,
inspectionTypeNo: '105',
isQualified: '',
buNo: '',
startDate: '',
endDate: '',
startDate2: '',
endDate2: '',
partNo: '',
partDesc: '',
cinvSourceCode: '',
sku: '',
state: '',
inspectionResult: '',
supplierDesc: '',
disposalMeasures: '',
inspectorName: '',
page: 1,
limit: 10,
poOrderNo: '',
poItemNo: '',
orderType: '',
states: ['未开始', '待检验'],
submissionType: '',
invdefinetype: ''
}
this.searchData.inspectionNo= this.$route.query.inspectionNo
} }
// inspectionNo
// if (this.$route.query.inspectionNo) {
// // searchData inspectionNo
// this.searchData = {
// site: '',
// userName: this.$store.state.user.name,
// inspectionNo: this.$route.query.inspectionNo,
// inspectionTypeNo: '105',
// isQualified: '',
// buNo: '',
// startDate: '',
// endDate: '',
// startDate2: '',
// endDate2: '',
// partNo: '',
// partDesc: '',
// cinvSourceCode: '',
// sku: '',
// state: '',
// inspectionResult: '',
// supplierDesc: '',
// disposalMeasures: '',
// inspectorName: '',
// page: 1,
// limit: 10,
// poOrderNo: '',
// poItemNo: '',
// orderType: '',
// states: ['', ''],
// submissionType: '',
// invdefinetype: ''
// }
// }
if (!this.authSearch) { if (!this.authSearch) {
// //

Loading…
Cancel
Save