Commit 8089f870 authored by youjie's avatar youjie

no message

parent b3ae18b8
...@@ -171,11 +171,11 @@ ...@@ -171,11 +171,11 @@
}, },
setup(props, context) { setup(props, context) {
const TCNumRef = ref(null)
const ContactNameRef = ref(null)
const ContactNumberRef = ref(null)
const HotelCarList = inject(DirtionmaryHelper.HOTEL_CAR_LIST) as any const HotelCarList = inject(DirtionmaryHelper.HOTEL_CAR_LIST) as any
const {locale,t } = useI18n(); const {locale,t } = useI18n();
const TCNumRef = ref(null) as any
const ContactNameRef = ref(null) as any
const ContactNumberRef = ref(null) as any
const data=reactive({ const data=reactive({
scrollStyle: {} as any, scrollStyle: {} as any,
addNum: 1, addNum: 1,
...@@ -224,13 +224,9 @@ ...@@ -224,13 +224,9 @@
}) })
}, },
submit() { submit() {
// const tc = TCNumRef as any //断言任意类型 // TCNumRef.value.validate()
// const name = ContactNameRef as any // ContactNameRef.value.validate()
// const num = ContactNumberRef as any // ContactNumberRef.value.validate()
// tc.value.validate()
// name.value.validate()
// num.value.validate()
if(data.parameters.OrderType==1){ if(data.parameters.OrderType==1){
if(!data.parameters.ContactName){ if(!data.parameters.ContactName){
message.warnMsg(`${t("hotel.car.inputText")}${t("hotel.car.ContactName")}`) message.warnMsg(`${t("hotel.car.inputText")}${t("hotel.car.ContactName")}`)
......
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