货物组批次查询参数调整
This commit is contained in:
parent
67e96593ae
commit
a3b9aab109
@ -451,42 +451,32 @@ export default {
|
|||||||
/** 查询TMS组批次列表 */
|
/** 查询TMS组批次列表 */
|
||||||
getList() {
|
getList() {
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
|
this.initQueryParams();
|
||||||
let rqParams = {...this.queryParams};
|
let rqParams = {...this.queryParams};
|
||||||
|
|
||||||
if(this.queryParams.queryKey){
|
// if(this.queryParams.queryKey){
|
||||||
// rqParams={
|
// if(this.queryOrderType=='1'){
|
||||||
// pageNum: this.queryParams.pageNum,
|
// rqParams.params.billCode=this.queryParams.queryKey;
|
||||||
// pageSize: this.queryParams.pageSize,
|
// rqParams.batchNo=null;
|
||||||
// queryKey:null,
|
// rqParams.carNo=null;
|
||||||
// params:{
|
// }else if(this.queryOrderType=='2'){
|
||||||
// billCode:null,
|
// rqParams.carNo=this.queryParams.queryKey;
|
||||||
// batchNo:null
|
// rqParams.batchNo=null;
|
||||||
// }
|
// rqParams.params.billCode=null;
|
||||||
// };
|
// }else{
|
||||||
|
// rqParams.batchNo=this.queryParams.queryKey;
|
||||||
if(this.queryOrderType=='1'){
|
// rqParams.params.billCode=null;
|
||||||
rqParams.params.billCode=this.queryParams.queryKey;
|
// rqParams.carNo=null;
|
||||||
rqParams.batchNo=null;
|
// }
|
||||||
rqParams.carNo=null;
|
// }else{
|
||||||
}else if(this.queryOrderType=='2'){
|
// if(this.queryETDType=='2'){
|
||||||
rqParams.carNo=this.queryParams.queryKey;
|
// this.removeDateRange(rqParams,"createTime");
|
||||||
rqParams.batchNo=null;
|
// rqParams=this.addDateRange(rqParams, this.dateTimeRange,"etd");
|
||||||
rqParams.params.billCode=null;
|
// }else{
|
||||||
}else{
|
// this.removeDateRange(rqParams,"etd");
|
||||||
rqParams.batchNo=this.queryParams.queryKey;
|
// rqParams=this.addDateRange(rqParams, this.dateTimeRange,"createTime");
|
||||||
rqParams.params.billCode=null;
|
// }
|
||||||
rqParams.carNo=null;
|
// }
|
||||||
}
|
|
||||||
}else{
|
|
||||||
if(this.queryETDType=='2'){
|
|
||||||
this.removeDateRange(rqParams,"createTime");
|
|
||||||
rqParams=this.addDateRange(rqParams, this.dateTimeRange,"etd");
|
|
||||||
}else{
|
|
||||||
this.removeDateRange(rqParams,"etd");
|
|
||||||
rqParams=this.addDateRange(rqParams, this.dateTimeRange,"createTime");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
listEmisTmsSiteBatch(rqParams).then(response => {
|
listEmisTmsSiteBatch(rqParams).then(response => {
|
||||||
this.emisTmsBatchList = response.rows;
|
this.emisTmsBatchList = response.rows;
|
||||||
this.total = response.total;
|
this.total = response.total;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user