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