diff --git a/src/views/emis/emisWaybillProblemInfo/centralProblemInquiry.vue b/src/views/emis/emisWaybillProblemInfo/centralProblemInquiry.vue index 436ebf1a..1a8754ba 100644 --- a/src/views/emis/emisWaybillProblemInfo/centralProblemInquiry.vue +++ b/src/views/emis/emisWaybillProblemInfo/centralProblemInquiry.vue @@ -37,7 +37,7 @@ - + @@ -115,17 +115,21 @@ {{ scope.row.blReversion == "1" ? "是" : "否" }} - - + + - + - + + + - @@ -148,8 +151,16 @@ - - + + + + + + @@ -174,6 +185,7 @@ import EmisUserSimplePicker from '@/views/emis/EmisBaseTools/EmisUserSimplePicke import CountryPicker from '@/views/emis/EmisBaseTools/CountryPicker.vue'; import ProblemTypePicker from '@/views/emis/EmisBaseTools/ProblemTypePicker.vue'; import { parseTime, dateToStr } from "@/utils/custom"; +import { formatSearchStr } from '@/utils/index' import { getDateTimeToString } from '@/utils/payutils' export default { @@ -265,7 +277,7 @@ export default { params:{ queryOrderType:"1" },//扩展参数 - dateTimeRange:[], + // dateTimeRange:[], // scanSite:null, queryType:"1",// 选择运单类型,默认为 运单号:1,订单号:2 // scanType:"", @@ -326,8 +338,9 @@ export default { let queryType = this.queryParams.queryType; if(queryType == "1"){ this.queryParams.orderSN=null; + this.queryParams.billCode=formatSearchStr(this.queryParams.billCode); }else if(queryType == "2"){ - this.queryParams.orderSN=this.queryParams.billCode; + this.queryParams.orderSN=formatSearchStr(this.queryParams.billCode); this.queryParams.billCode=null; } // listEmisTmsScanRecord(this.queryParams).then(response => { @@ -372,8 +385,8 @@ export default { this.form.problemId = null; return; } - this.queryParams.problemType = item.typeName; - this.queryParams.problemId=item.id; + this.queryParams.problemType = item.id; + // this.queryParams.problemId=item.id; }, onPreOrNextSiteSelect(item){ this.queryParams.preOrNextStation=item && item.siteName; @@ -385,7 +398,7 @@ export default { }, onDateSelect(value){ // console.log("date picker---->", value) - this.queryParams.dateTimeRange=value; + // this.queryParams.dateTimeRange=value; // scanDate }, // onStaffSelect(item){ diff --git a/src/views/emis/emisWaybillProblemInfo/receivedProblemInquiries.vue b/src/views/emis/emisWaybillProblemInfo/receivedProblemInquiries.vue index 50b15c93..be0aa75a 100644 --- a/src/views/emis/emisWaybillProblemInfo/receivedProblemInquiries.vue +++ b/src/views/emis/emisWaybillProblemInfo/receivedProblemInquiries.vue @@ -107,24 +107,27 @@ {{ scope.row.blReversion ? "是" : "否" }} - - + + - + - + + + - @@ -140,8 +143,16 @@ - - + + + + + + @@ -251,6 +262,7 @@ import EmisUserSimplePicker from '@/views/emis/EmisBaseTools/EmisUserSimplePicke import CountryPicker from '@/views/emis/EmisBaseTools/CountryPicker.vue'; import Comments from '@/views/emis/EmisBaseTools/Comments.vue'; import { parseTime, dateToStr } from "@/utils/custom"; +import { formatSearchStr } from '@/utils/index' import { getDateTimeToString } from '@/utils/payutils' export default { @@ -373,6 +385,7 @@ export default { }, created() { // this.getList(); + this.queryParams.sendSiteCode = this.$store.getters.ownerSiteCode; this.$nextTick(function() { let queryFormEl = this.$refs.queryForm.$el; let tableH = queryFormEl.offsetHeight+260; @@ -405,9 +418,10 @@ export default { let queryType = this.queryParams.queryType; if(queryType == "1"){ this.queryParams.orderSN=null; + this.queryParams.billCode=formatSearchStr(this.queryParams.billCode); }else if(queryType == "2"){ - this.queryParams.orderSN=this.queryParams.billCode; - this.queryParams.billCode=""; + this.queryParams.orderSN=formatSearchStr(this.queryParams.billCode); + this.queryParams.billCode=null; } // listEmisTmsScanRecord(this.queryParams).then(response => { // (this.queryParams).then(response => { diff --git a/src/views/emis/emisWaybillProblemInfo/registrationProblemInquiry.vue b/src/views/emis/emisWaybillProblemInfo/registrationProblemInquiry.vue index 9713d2b7..f09a63f3 100644 --- a/src/views/emis/emisWaybillProblemInfo/registrationProblemInquiry.vue +++ b/src/views/emis/emisWaybillProblemInfo/registrationProblemInquiry.vue @@ -107,17 +107,21 @@ {{ scope.row.blReversion ? "是" : "否" }} - - + + - + - + + + - @@ -140,8 +143,16 @@ - - + + + + + + @@ -207,6 +218,7 @@ import EmisUserSimplePicker from '@/views/emis/EmisBaseTools/EmisUserSimplePicke import CountryPicker from '@/views/emis/EmisBaseTools/CountryPicker.vue'; import Comments from '@/views/emis/EmisBaseTools/Comments.vue'; import { parseTime, dateToStr } from "@/utils/custom"; +import { formatSearchStr } from '@/utils/index' import { getDateTimeToString } from '@/utils/payutils' export default { @@ -329,6 +341,7 @@ export default { }, created() { // this.getList(); + this.queryParams.registerSiteCode = this.$store.getters.ownerSiteCode; this.$nextTick(function() { let queryFormEl = this.$refs.queryForm.$el; let tableH = queryFormEl.offsetHeight+260; @@ -361,9 +374,10 @@ export default { let queryType = this.queryParams.queryType; if(queryType == "1"){ this.queryParams.orderSN=null; + this.queryParams.billCode=formatSearchStr(this.queryParams.billCode); }else if(queryType == "2"){ - this.queryParams.orderSN=this.queryParams.billCode; - this.queryParams.billCode=""; + this.queryParams.orderSN=formatSearchStr(this.queryParams.billCode); + this.queryParams.billCode=null; } // listEmisTmsScanRecord(this.queryParams).then(response => { listEmisWaybillProblemInfo(this.queryParams).then(response => { @@ -419,7 +433,7 @@ export default { }, onDateSelect(value){ // console.log("date picker---->", value) - this.queryParams.dateTimeRange=value; + // this.dateTimeRange=value; // scanDate }, onStaffSelect(item){