Commit 6cbafb1a authored by 黄奎's avatar 黄奎

新增验证

parent 129d57a7
......@@ -7592,6 +7592,7 @@ export const obj = {
cibaojdan: 'This quotation sheet? ',
qingxzxuyscdwj: 'Please select the file you want to upload! ',
qingshurzop: 'Please select main OP',
qingxzcfrq: 'Please select the departure date',
zhulopbnhzopcx: 'Assistant OP cannot include main OP, please re-select! ',
xianluxltmin: 'Line. Series. Group name ',
tianshbshijsyrs: 'Number of days. Flight times. Number of people applicable ',
......
......@@ -7592,6 +7592,7 @@ export const obj = {
cibaojdan: 'この見積書?',
qingxzxuyscdwj: 'アップロードするファイルを選択してください!',
qingshurzop: 'メインOPを選択してください',
qingxzcfrq: '出発日を選択してください',
zhulopbnhzopcx: 'アシスタントOPにメインOPを含めることはできません。もう一度選択してください!',
xianluxltmin: '線路シリーズ団名',
tianshbshijsyrs: '日数フライト時間適用人数',
......
......@@ -456,6 +456,7 @@ export const hotel = {
hotel_GroupStates: 'Group status',
hotel_OrderStates: 'Order status',
hotel_StarDate: 'Departure date',
hotel_choostDate:'Selected date',
hotel_haveSignUp: 'Signed up',
hotel_Inthe: 'in',
hotel_expect: 'expect',
......
......@@ -407,7 +407,8 @@ hotel_TravelExpenses:'通行料',
hotel_ClickOnAdd:'クリックして添加',          
hotel_GroupStates:'団体の状態',          
hotel_OrderStates:'オーダー状態',          
hotel_StarDate:'出発日',            
hotel_StarDate:'出発日',
hotel_choostDate:'選択した日付',          
hotel_haveSignUp:'申し込み済み',            
hotel_Inthe:'中',                   
hotel_expect:'予定',                 
......
......@@ -453,6 +453,7 @@ export const admin={ //行政
hotel_GroupStates:'團的狀態',
hotel_OrderStates:'訂單狀態',
hotel_StarDate:'出發日期',
hotel_choostDate:'已選日期',
hotel_haveSignUp:'已報名',
hotel_Inthe:'中',
hotel_expect:'預計',
......
......@@ -455,6 +455,7 @@ export const admin={ //行政
hotel_GroupStates:'团的状态',
hotel_OrderStates:'订单状态',
hotel_StarDate:'出发日期',
hotel_choostDate:'已选日期',
hotel_haveSignUp:'已报名',
hotel_Inthe:'中',
hotel_expect:'预计',
......
......@@ -7592,6 +7592,7 @@ export const obj = {
cibaojdan: '此报价单?',
qingxzxuyscdwj: '请选择需要上传的文件!',
qingshurzop: '请选择主OP',
qingxzcfrq: '请选择出发日期',
zhulopbnhzopcx: '助理OP不能包含主OP,请重新选择!',
xianluxltmin: '线路.系列.团名',
tianshbshijsyrs: '天数.航班时间.适用人数',
......
......@@ -7592,6 +7592,7 @@ export const obj = {
cibaojdan: '此報價單?',
qingxzxuyscdwj: '請選擇需要上傳的文件!',
qingshurzop: '請選擇主OP',
qingxzcfrq: '請選擇出發日期',
zhulopbnhzopcx: '助理OP不能包含主OP,請重新選擇!',
xianluxltmin: '線路.系列.團名',
tianshbshijsyrs: '天數.航班時間.適用人數',
......
......@@ -171,7 +171,7 @@
<el-input v-model="postData.Title" type="textarea" :autosize="{minRows: 1, maxRows: 2 }" resize="none"
:placeholder="$t('objFill.v101.qingtxtdbti')" maxlength="200"></el-input>
</td>
<td width="80" class="txtRightCost">{{$t('Airticket.Air_StartTime')}}</td>
<td width="80" class="txtRightCost">{{$t('hotel.hotel_StarDate')}}</td>
<td>
<el-date-picker type="dates" v-model="postData.OutDateTimeList" value-format="yyyy-MM-dd" placeholder>
</el-date-picker>
......@@ -182,7 +182,7 @@
</td>
</tr>
<tr>
<td width="80" class="txtRightCost">已选日期</td>
<td width="80" class="txtRightCost">{{$t('hotel.hotel_choostDate')}}</td>
<td colspan="5">
<template v-if="postData.OutDateTimeList&&postData.OutDateTimeList.length>0">
<el-tag v-for="(item,oIndex) in postData.OutDateTimeList" :key="item" closable
......@@ -531,6 +531,11 @@
this.$message.error(this.$t('objFill.v101.qingshurzop'))
return;
}
if(this.postData.OutDateTimeList.length<1)
{
this.$message.error(this.$t('objFill.v101.qingxzcfrq'))
return;
}
this.postData.AssistantId = "";
var flag = false;
if (this.postData.AssistantList && this.postData.AssistantList.length > 0) {
......
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