Commit 7ba51427 authored by liwei's avatar liwei

liwei

parent f77dec53
......@@ -120,27 +120,8 @@ export default {
}
if (!this.deliverDetail && !this.noDeliverDetail) {
this.isShowAddress = false;
}
if (this.deliverDetail && this.noDeliverDetail) {
if (
(this.deliverDetail.express_no &&
this.deliverDetail.express_no.length > 0) ||
(this.noDeliverDetail.express_no &&
this.noDeliverDetail.express_no.length > 0)
) {
this.isShowAddress = true;
}
if (
this.deliverDetail.express_no &&
this.deliverDetail.express_no.length === 0
) {
if (
this.noDeliverDetail.express_no &&
this.noDeliverDetail.express_no.length === 0
) {
this.isShowAddress = false;
}
}
} else {
this.isShowAddress = true;
}
}
})
......
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