|
@ -112,6 +112,7 @@
|
|
|
<span class="fl">{{time}}</span><span class="fl ml5 sub-tap cur-pit" @click="spliceTimeArr(index, ind)"></span>
|
|
|
</p>
|
|
|
<span class="fl c-12b7f5 cur-pit calendar" contenteditable="true" readonly @mousedown="selectTime(index)" class=flatpickr data-enable-time=true data-time_24hr=true>添加</span>
|
|
|
<span class="fl c-12b7f5 cur-pit ml10" v-show="sureIndex == index">确定</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class='fr w60 c-t-right clearfix'>
|
|
@ -222,6 +223,7 @@
|
|
|
patiInfo: null,
|
|
|
diseaseObj: null,
|
|
|
mubanList: [],
|
|
|
sureIndex: null,
|
|
|
templateDetail: [],
|
|
|
templateResult: [],
|
|
|
allFee: 0,
|
|
@ -521,6 +523,7 @@
|
|
|
selectTime: function(index) {
|
|
|
var currentEle = $(event.target),
|
|
|
vm = this;
|
|
|
this.sureIndex = index
|
|
|
currentEle.flatpickr({
|
|
|
defaultDate: currentEle.val(),
|
|
|
minDate: "today",
|
|
@ -532,6 +535,7 @@
|
|
|
if(!str) {
|
|
|
return false;
|
|
|
}
|
|
|
vm.sureIndex = null
|
|
|
vm.templateDetail[index].specialistServiceItemDO.executeTime.push(str)
|
|
|
vm.allFee += Number(vm.templateDetail[index].expense)
|
|
|
}
|