Merge branch 'master' of http://git.xdadan.loc/tanex/emis-frontend
This commit is contained in:
commit
b4d0593ad7
@ -6,7 +6,7 @@
|
|||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-form-item label="" prop="queryOrderType">
|
<el-form-item label="" prop="queryOrderType">
|
||||||
<div slot="label">
|
<div slot="label">
|
||||||
<el-radio-group class="query-label" v-model="queryParams.queryOrderType">
|
<el-radio-group class="query-label" v-model="queryParams.params.queryOrderType">
|
||||||
<el-radio label="1">合包号</el-radio>
|
<el-radio label="1">合包号</el-radio>
|
||||||
<el-radio label="2">运单号</el-radio>
|
<el-radio label="2">运单号</el-radio>
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
@ -898,9 +898,10 @@ export default {
|
|||||||
opMan: null,
|
opMan: null,
|
||||||
remark: null,
|
remark: null,
|
||||||
delFlag: null,
|
delFlag: null,
|
||||||
params:{},
|
params:{
|
||||||
|
queryOrderType: '1',
|
||||||
|
},
|
||||||
packNo:'',
|
packNo:'',
|
||||||
queryOrderType: '1',
|
|
||||||
billCode: ''
|
billCode: ''
|
||||||
},
|
},
|
||||||
queryCoParams: {
|
queryCoParams: {
|
||||||
@ -1013,7 +1014,7 @@ export default {
|
|||||||
newBillCodeStr=newBillCodeStr+item+",";
|
newBillCodeStr=newBillCodeStr+item+",";
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if(this.queryParams.queryOrderType == "1"){
|
if(this.queryParams.params.queryOrderType == "1"){
|
||||||
this.queryParams.packNo=newBillCodeStr;
|
this.queryParams.packNo=newBillCodeStr;
|
||||||
this.queryParams.billCode=null;
|
this.queryParams.billCode=null;
|
||||||
}else{
|
}else{
|
||||||
@ -1059,7 +1060,7 @@ export default {
|
|||||||
newBillCodeStr=newBillCodeStr+item+",";
|
newBillCodeStr=newBillCodeStr+item+",";
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if(this.queryParams.queryOrderType == "1"){
|
if(this.queryParams.params.queryOrderType == "1"){
|
||||||
this.queryWaitParams.packNo=newBillCodeStr;
|
this.queryWaitParams.packNo=newBillCodeStr;
|
||||||
this.queryWaitParams.billCode=null;
|
this.queryWaitParams.billCode=null;
|
||||||
}else{
|
}else{
|
||||||
@ -1109,7 +1110,7 @@ export default {
|
|||||||
newBillCodeStr=newBillCodeStr+item+",";
|
newBillCodeStr=newBillCodeStr+item+",";
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if(this.queryParams.queryOrderType == "1"){
|
if(this.queryParams.params.queryOrderType == "1"){
|
||||||
this.queryDoneParams.packNo=newBillCodeStr;
|
this.queryDoneParams.packNo=newBillCodeStr;
|
||||||
this.queryDoneParams.billCode=null;
|
this.queryDoneParams.billCode=null;
|
||||||
}else{
|
}else{
|
||||||
|
|||||||
@ -192,13 +192,17 @@ export default {
|
|||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
// this.initData();
|
// this.initData();
|
||||||
this.queryParams = this.propParams;
|
this.queryParams = this.propParams || {};
|
||||||
|
this.queryParams.params = this.queryParams.params || {};
|
||||||
|
this.queryParams.params.isNeedPack = null;
|
||||||
this.showType = this.propType;
|
this.showType = this.propType;
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
"propParams": {
|
"propParams": {
|
||||||
handler (newValue, oldValue) {
|
handler (newValue, oldValue) {
|
||||||
this.queryParams = newValue;
|
this.queryParams = newValue || {};
|
||||||
|
this.queryParams.params = this.queryParams.params || {};
|
||||||
|
this.queryParams.params.isNeedPack = null;
|
||||||
// this.initData();
|
// this.initData();
|
||||||
},
|
},
|
||||||
deep: true
|
deep: true
|
||||||
@ -350,10 +354,13 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.emisTmsPackList = [];
|
this.emisTmsPackList = [];
|
||||||
if (null != this.dateTimeRange && '' != this.dateTimeRange) {
|
// if (null != this.dateTimeRange && '' != this.dateTimeRange) {
|
||||||
this.queryParams.params["beginSendDate"] = dateToStr(new Date(this.dateTimeRange[0]));
|
// this.queryParams.params["beginSendDate"] = dateToStr(new Date(this.dateTimeRange[0]));
|
||||||
this.queryParams.params["endSendDate"] = dateToStr(new Date(this.dateTimeRange[1]));
|
// this.queryParams.params["endSendDate"] = dateToStr(new Date(this.dateTimeRange[1]));
|
||||||
}
|
// }
|
||||||
|
this.queryParams.params["beginSendDate"] = null;
|
||||||
|
this.queryParams.params["endSendDate"] = null;
|
||||||
|
this.queryParams.params["isNeedPack"] = null;
|
||||||
this.queryParams.destCountry = this.queryParams.receiveCountry;
|
this.queryParams.destCountry = this.queryParams.receiveCountry;
|
||||||
listEmisTmsPack(this.queryParams).then(response => {
|
listEmisTmsPack(this.queryParams).then(response => {
|
||||||
this.emisTmsPackList = response.rows;
|
this.emisTmsPackList = response.rows;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user