Commit d8429561 authored by youjie's avatar youjie

no message

parent b627cd07
...@@ -98,9 +98,6 @@ ...@@ -98,9 +98,6 @@
</div> </div>
</template> </template>
</q-input> </q-input>
</div>
<div :class="filedWidth">
</div> </div>
<div :class="filedWidth"> <div :class="filedWidth">
<q-input <q-input
...@@ -116,9 +113,10 @@ ...@@ -116,9 +113,10 @@
]" ]"
/> />
</div> </div>
<div :class="filedWidth">
<q-toggle v-model="isUpdateUserInfo" label="同步更新會員資料" />
</div> </div>
<div class="col row justify-end">
<q-toggle v-model="isUpdateUserInfo" label="同步更新會員資料" />
</div> </div>
</q-form> </q-form>
</q-card> </q-card>
...@@ -372,7 +370,7 @@ ...@@ -372,7 +370,7 @@
option-value="ID" option-value="ID"
v-model="chosenObj.RelationPhoneType" v-model="chosenObj.RelationPhoneType"
@input="(e)=>{getValue(e,'AreaCode')}" @input="(e)=>{getValue(e,'AreaCode')}"
:options="areaCode" :options="countrys"
style="width: 120px" style="width: 120px"
ref="RelationPhoneType" ref="RelationPhoneType"
:rules="[(val) =>!!val || '請选择國家/地區']" :rules="[(val) =>!!val || '請选择國家/地區']"
...@@ -613,19 +611,19 @@ export default { ...@@ -613,19 +611,19 @@ export default {
IsNeedInvoice: 0,// 是否需要发票 ,0-默认 IsNeedInvoice: 0,// 是否需要发票 ,0-默认
InvoiceName: '',// 发票名称 InvoiceName: '',// 发票名称
InvoiceType: 0,// 发票类型1-个人,2-企业,3-非企业性单位 InvoiceType: 0,// 发票类型1-个人,2-企业,3-非企业性单位
InvoiceTypeObj:'', // InvoiceTypeObj:'',
DutyParagraph: '',// 税号 DutyParagraph: '',// 税号
Receiver: '',// 收件人 Receiver: '',// 收件人
ReceiverPhone: '',// 收件人电话 ReceiverPhone: '',// 收件人电话
ReceiverProvince: '',// 收件人省 ReceiverProvince: '',// 收件人省
ReceiverProvinceObj: '', // ReceiverProvinceObj: '',
ReceiverCity: '',// 收件人市 ReceiverCity: '',// 收件人市
ReceiverCityObj: '', ReceiverCityObj: '',
ReceiverAddress: '',// 收件人地址 ReceiverAddress: '',// 收件人地址
ReceiverCity: '',// 收件人市 ReceiverCity: '',// 收件人市
ReceiverAddress: '',// 收件人地址 ReceiverAddress: '',// 收件人地址
RelationPhoneType: 2,// 手机号码归属国家 RelationPhoneType: 2,// 手机号码归属国家
RelationPhoneTypeObj: '', // RelationPhoneTypeObj: '',
EnterCountryTime: '',// 入境时间 EnterCountryTime: '',// 入境时间
AdultPeopleNum: null, AdultPeopleNum: null,
ChildPeopleNum: null, ChildPeopleNum: null,
...@@ -747,27 +745,27 @@ export default { ...@@ -747,27 +745,27 @@ export default {
} }
}, },
GetSelectData() { GetSelectData() {
this.apipost( // this.apipost(
"dict_post_Destination_GetPhoneCodeListExt", // "dict_post_Destination_GetPhoneCodeListExt",
{}, // {},
(res) => { // (res) => {
if (res.data.resultCode == 1) { // if (res.data.resultCode == 1) {
this.areaCode = res.data.data // this.areaCode = res.data.data
} else { // } else {
this.$message.error(res.data.message); // this.$message.error(res.data.message);
} // }
}, // },
(err) => { // (err) => {
} // }
); // );
this.apipost('dict_get_GetDictValueCommonList', { // this.apipost('dict_get_GetDictValueCommonList', {
"Key":"SK_CRM_DutyType" // "Key":"SK_CRM_DutyType"
}, res => { // }, res => {
if (res.data.resultCode == 1) { // if (res.data.resultCode == 1) {
this.customerTypes = res.data.data // this.customerTypes = res.data.data
} // }
}, err => {}) // }, err => {})
this.apipost('app_customer_GetChildList', { this.apipost('app_customer_GetChildList', {
Id: 2, Id: 2,
"level": 1 "level": 1
...@@ -808,21 +806,21 @@ export default { ...@@ -808,21 +806,21 @@ export default {
} else { } else {
flag = await this.formValidateHandler("baseCustomerInfo"); flag = await this.formValidateHandler("baseCustomerInfo");
if (!flag) { if (!flag) {
if(this.guests.length==0) this.goScrollToForm(`baseCustomerTitle`); this.goScrollToForm(`baseCustomerTitle`);
else{ return
for (let i = 0; i < this.guests.length; i++) { // for (let i = 0; i < this.guests.length; i++) {
flag = await this.formValidateHandler("guest" + i); // flag = await this.formValidateHandler("guest" + i);
if (!flag) { // if (!flag) {
this.goScrollToForm(`guest${i}Title`); // this.goScrollToForm(`guest${i}Title`);
break; // return
} // }
} // }
}
}else{ }else{
flag = await this.formValidateHandler("baseRecipientInfo"); flag = await this.formValidateHandler("baseRecipientInfo");
if (!flag) { if (!flag) {
this.goScrollToForm("baseRecipientTitle"); this.goScrollToForm("baseRecipientTitle");
return
} }
} }
// if(flag&&this.chosenObj.PeopleNum==0) return this.$message.error("请输入成人或者儿童人数!"); // if(flag&&this.chosenObj.PeopleNum==0) return this.$message.error("请输入成人或者儿童人数!");
......
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