寄件运单列表运单号/订单号查询调整
This commit is contained in:
parent
5edfbe11ea
commit
81327d2ecf
@ -19,7 +19,7 @@
|
||||
</div>
|
||||
|
||||
<XdTextareaInput
|
||||
v-model="queryParams.billCode"
|
||||
v-model="queryParams.queryKey"
|
||||
:placeholder="$t('多个流水号逗号或换行隔开')"
|
||||
clearable
|
||||
:rows="2"
|
||||
@ -697,6 +697,7 @@ export default {
|
||||
queryParams: {
|
||||
pageNum: 1,
|
||||
pageSize: 20,
|
||||
queryKey: null,
|
||||
orderSn: null,
|
||||
billCode: null,
|
||||
billCodeSub: null,
|
||||
@ -1020,14 +1021,14 @@ export default {
|
||||
initQueryParams(){
|
||||
// this.queryOrderType="1";
|
||||
// this.queryOrderDateType="1";
|
||||
|
||||
if(this.queryParams.billCode){
|
||||
|
||||
if(this.queryParams.queryKey){
|
||||
if(this.queryOrderType != "1"){
|
||||
this.queryParams.orderSn=formatSearchStr(this.queryParams.billCode);
|
||||
this.queryParams.orderSn=formatSearchStr(this.queryParams.queryKey);
|
||||
this.queryParams.billCode=null;
|
||||
}else{
|
||||
// 处理子单号
|
||||
let qBillCode=formatSearchStr(this.queryParams.billCode);
|
||||
let qBillCode=formatSearchStr(this.queryParams.queryKey);
|
||||
let billArr = qBillCode.split(",");
|
||||
let newBillCodeStr="";
|
||||
billArr.forEach(item=>{
|
||||
@ -1039,7 +1040,7 @@ export default {
|
||||
}
|
||||
});
|
||||
this.queryParams.billCode=newBillCodeStr;
|
||||
|
||||
this.queryParams.orderSn=null;
|
||||
}
|
||||
}
|
||||
this.queryParams=this.addDateRange(this.queryParams, this.dateRange,"orderDate");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user