Commit 6aefbbc4 authored by youjie's avatar youjie

no message

parent 7d7c6c0a
......@@ -476,7 +476,7 @@
<tr>
<td width="100" align="right">{{$t('objFill.v102.youxiaoqks')}}</td>
<td>
<el-date-picker v-model="BoHuiObj.C_StartDate" style="width: 100%;"
<el-date-picker v-model="BoHuiObj.StartDateStr" style="width: 100%;"
format="yyyy-MM-dd" type="date"
value-format="yyyy-MM-dd"
:picker-options="pickerBeginDateBefore3" :clearable="false">
......@@ -486,8 +486,7 @@
<tr>
<td width="100" align="right">{{$t('objFill.v102.youxiaoqjs')}}</td>
<td>
{{BoHuiObj.C_EndDate}}
<el-date-picker v-model="BoHuiObj.C_EndDate" style="width: 100%;"
<el-date-picker v-model="BoHuiObj.EndDateStr" style="width: 100%;"
format="yyyy-MM-dd" type="date"
value-format="yyyy-MM-dd"
:picker-options="pickerBeginDateAfter3" :clearable="false">
......@@ -616,10 +615,10 @@
},
pickerBeginDateBefore3: {
disabledDate: time => {
if (this.BoHuiObj.C_EndDate == null) {
if (this.BoHuiObj.EndDateStr == null) {
return false;
} else {
let endTime = new Date(this.BoHuiObj.C_EndDate);
let endTime = new Date(this.BoHuiObj.EndDateStr);
return endTime.getTime() < time.getTime();
}
}
......@@ -638,8 +637,8 @@
},
BoHuiObj: {
C_DayNum: '',
C_StartDate: '',
C_EndDate: '',
StartDateStr: '',
EndDateStr: '',
C_NightNum: '',
},
isBoHui: 0, //是否是单项、一日游、境内旅游合同驳回
......@@ -708,8 +707,8 @@
closeContractDialog() {
this.BoHuiObj = {
C_DayNum: '',
C_StartDate: '',
C_EndDate: '',
StartDateStr: '',
EndDateStr: '',
C_NightNum: '',
}
this.isBoHui = 0;
......@@ -832,7 +831,7 @@
}
var that = this;
if(status==2){
if(item.C_DayNum==''||item.C_StartDate==''||item.C_EndDate==''
if(item.C_DayNum==''||item.StartDateStr==''||item.EndDateStr==''
||item.C_NightNum==''||!item.C_NightNum
||item.C_NightNum==null){
this.Error(this.$t('objFill.v102.hetongdhbts'));
......@@ -855,8 +854,8 @@
Status: status,
AuditContractReason: status==3?this.auditMsg.AuditContractReason:'',
C_DayNum: item.C_DayNum,
C_StartDate: item.C_StartDate,
C_EndDate: item.C_EndDate,
C_StartDate: item.StartDateStr,
C_EndDate: item.EndDateStr,
C_NightNum: item.C_NightNum,
}, res => {
if (res.data.resultCode == 1) {
......
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