Commit 6166ffe3 authored by youjie's avatar youjie

no message

parent c421e9d7
...@@ -295,6 +295,12 @@ export default defineComponent({ ...@@ -295,6 +295,12 @@ export default defineComponent({
methods.getNum() methods.getNum()
if(!data.isCheck) return if(!data.isCheck) return
let flag = false let flag = false
if(data.msg.MailingState!='2'){
data.msg.MailingAddress = ''
data.msg.MailingMoney = 0
}if(data.msg.MailingState!='1'){
data.msg.SelffetchAddress = ''
}
if(data.msg.MailingState!='4'){ if(data.msg.MailingState!='4'){
guestName.value.validate() guestName.value.validate()
guestEName.value.validate() guestEName.value.validate()
...@@ -302,7 +308,7 @@ export default defineComponent({ ...@@ -302,7 +308,7 @@ export default defineComponent({
} }
if(data.msg.MailingState=='2'){ if(data.msg.MailingState=='2'){
data.msg.SelffetchAddress = ''
guestAddress.value.validate() guestAddress.value.validate()
flag = !guestName.value.hasError && !guestEName.value.hasError && !guestMobile.value.hasError && !guestAddress.value.hasError flag = !guestName.value.hasError && !guestEName.value.hasError && !guestMobile.value.hasError && !guestAddress.value.hasError
if(!flag) return if(!flag) return
...@@ -313,6 +319,7 @@ export default defineComponent({ ...@@ -313,6 +319,7 @@ export default defineComponent({
if(!flag) return if(!flag) return
} }
if(data.loading) return if(data.loading) return
data.loading = true data.loading = true
data.msg.DetailList = [] as any data.msg.DetailList = [] as any
......
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