|
@@ -23,7 +23,7 @@
|
|
<div class="mui-input-row">
|
|
<div class="mui-input-row">
|
|
<label><i class="colorfe616c">*</i> 结束时间</label>
|
|
<label><i class="colorfe616c">*</i> 结束时间</label>
|
|
<button @click="selectEndTime" class="mui-btn mui-btn-block mui-navigate-right mui-ellipsis" type='button' style="width:65%">
|
|
<button @click="selectEndTime" class="mui-btn mui-btn-block mui-navigate-right mui-ellipsis" type='button' style="width:65%">
|
|
- {{subForm.endTimeShow}}{{subForm.endTimeQuantum=='0'?' 11:59':''}}{{subForm.endTimeQuantum=='1'?' 23:59':''}}
|
|
|
|
|
|
+ {{subForm.endTimeShow}}{{subForm.endTimeQuantum=='0'?' 12:00':''}}{{subForm.endTimeQuantum=='1'?' 23:59':''}}
|
|
</button>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
<div class="mui-input-row vongi-dw">
|
|
<div class="mui-input-row vongi-dw">
|
|
@@ -150,7 +150,7 @@
|
|
this.subForm.startTimeQuantum="1"
|
|
this.subForm.startTimeQuantum="1"
|
|
}
|
|
}
|
|
|
|
|
|
- if(this.subForm.endTime.indexOf(" 11:59")>-1){
|
|
|
|
|
|
+ if(this.subForm.endTime.indexOf(" 12:00")>-1){
|
|
this.subForm.endTimeQuantum="0"
|
|
this.subForm.endTimeQuantum="0"
|
|
}else{
|
|
}else{
|
|
this.subForm.endTimeQuantum="1"
|
|
this.subForm.endTimeQuantum="1"
|
|
@@ -186,7 +186,7 @@
|
|
"beginDate": beginDate,
|
|
"beginDate": beginDate,
|
|
"value":endTime,
|
|
"value":endTime,
|
|
|
|
|
|
- "customData":{"h":[{"text":"11:59","value":"0"},{"text":"23:59","value":"1"}]}
|
|
|
|
|
|
+ "customData":{"h":[{"text":"12:00","value":"0"},{"text":"23:59","value":"1"}]}
|
|
});
|
|
});
|
|
var _mui=mui;
|
|
var _mui=mui;
|
|
picker.show(function(selectItems) {
|
|
picker.show(function(selectItems) {
|
|
@@ -305,7 +305,7 @@
|
|
this.subForm.startTime=this.subForm.startTimeShow+
|
|
this.subForm.startTime=this.subForm.startTimeShow+
|
|
(this.subForm.startTimeQuantum=='0'?' 00:00':' 12:00')
|
|
(this.subForm.startTimeQuantum=='0'?' 00:00':' 12:00')
|
|
this.subForm.endTime=this.subForm.endTimeShow+
|
|
this.subForm.endTime=this.subForm.endTimeShow+
|
|
- (this.subForm.endTimeQuantum=='0'?' 11:59':' 23:59')
|
|
|
|
|
|
+ (this.subForm.endTimeQuantum=='0'?' 12:00':' 23:59')
|
|
|
|
|
|
this.isLoading = true;
|
|
this.isLoading = true;
|
|
API_BusinessTravel.submitBusiness(this.subForm).then(response => {
|
|
API_BusinessTravel.submitBusiness(this.subForm).then(response => {
|