Commit 6aefbbc4 authored by youjie's avatar youjie

no message

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