|
@ -104,14 +104,14 @@
|
|
|
</ul>
|
|
|
</div>
|
|
|
</div>
|
|
|
<p class="m0 mb5 p0 fl"><span class="c-999">费  用:</span>{{detail.specialistServiceItemDO.unit}}</p>
|
|
|
<p class="m0 mb5 p0 fl"><span class="c-999">费  用:</span>{{detail.expense}}</p>
|
|
|
</div>
|
|
|
<div class="m0 p0 lh18 clearfix">
|
|
|
<span class="fl c-999">计划时间:</span>
|
|
|
<p class="fl lh18 mb5 mr20 clearfix" v-for="(time, ind) in detail.specialistServiceItemDO.executeTime" :key="ind" v-if="detail.specialistServiceItemDO.executeTime.length">
|
|
|
<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="true" @mousedown="selectTime(index)" class=flatpickr data-enable-time=true data-time_24hr=true>添加</span>
|
|
|
<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>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class='fr w60 c-t-right clearfix'>
|
|
@ -394,7 +394,7 @@
|
|
|
this.templateDetail.splice(index, 1)
|
|
|
var len = detail.specialistServiceItemDO.executeTime.length
|
|
|
if(len) {
|
|
|
this.allFee -= (len * detail.specialistServiceItemDO.unit)
|
|
|
this.allFee -= (len * detail.expense)
|
|
|
}
|
|
|
$.each(vm.projectList, function(index, o) {
|
|
|
if(detail.specialistServiceItemDO.itemType == o.itemType) {
|
|
@ -535,13 +535,13 @@
|
|
|
return false;
|
|
|
}
|
|
|
vm.templateDetail[index].specialistServiceItemDO.executeTime.push(str)
|
|
|
vm.allFee += Number(vm.templateDetail[index].specialistServiceItemDO.unit)
|
|
|
vm.allFee += Number(vm.templateDetail[index].expense)
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
spliceTimeArr: function(index, ind) {
|
|
|
this.templateDetail[index].specialistServiceItemDO.executeTime.splice(ind, 1)
|
|
|
this.allFee -= Number(this.templateDetail[index].specialistServiceItemDO.unit)
|
|
|
this.allFee -= Number(this.templateDetail[index].expense)
|
|
|
},
|
|
|
createRehabilitationPlan: function() {
|
|
|
if(!this.allFee) {
|