Commit 8089f870 authored by youjie's avatar youjie

no message

parent b3ae18b8
......@@ -171,11 +171,11 @@
},
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 {locale,t } = useI18n();
const TCNumRef = ref(null) as any
const ContactNameRef = ref(null) as any
const ContactNumberRef = ref(null) as any
const data=reactive({
scrollStyle: {} as any,
addNum: 1,
......@@ -224,13 +224,9 @@
})
},
submit() {
// const tc = TCNumRef as any //断言任意类型
// const name = ContactNameRef as any
// const num = ContactNumberRef as any
// tc.value.validate()
// name.value.validate()
// num.value.validate()
// TCNumRef.value.validate()
// ContactNameRef.value.validate()
// ContactNumberRef.value.validate()
if(data.parameters.OrderType==1){
if(!data.parameters.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