Commit 9ebc65e3 authored by dragondean@qq.com's avatar dragondean@qq.com

修复几个bug

parent 8971390e
......@@ -832,8 +832,8 @@ export default {
}
},
'form.transportId'(transportId, oldTransportId){
// 海运拼柜给表单默认值
if(this.form.transportId == 4){
// 空运
if(this.form.transportId == 4 || this.form.transportId == 3){
this.$nextTick(() => {
this.$set(this, 'form', Object.assign(this.form, {
doubleClear: 2,
......@@ -854,8 +854,9 @@ export default {
this.$set(this.form, 'channelId', null)
}
// 如果是专线空运默认目的港清关选择我司
if(transportId == 3){
// 如果是专线空运默认目的港清关选择我司
this.$set(this.form, 'portDestCustomsClear', 1)
}
......
......@@ -632,9 +632,15 @@ export default {
// 渠道列表,空运需要渠道筛选
channelList:[],
// 编号搜索条件
noParam: {},
noParam: {
key: 'numberKey',
value: ''
},
// 商品搜索条件
prodParam: {}
prodParam: {
key: 'prodKey',
value: ''
}
};
},
watch:{
......@@ -877,6 +883,8 @@ export default {
page: 1,
rows: 10
}
this.noParam.value = ''
this.prodParam.value = ''
this.dateFilter = []
this.handleQuery();
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment