加入返回按钮

This commit is contained in:
java110 2020-08-31 09:01:15 +08:00
parent eface0702c
commit 34dc12e2eb
4 changed files with 28 additions and 24 deletions

View File

@ -5,7 +5,10 @@
<div class="ibox-title">
<h5>{{listCarFeeInfo.carNum}}费用</h5>
<div class="ibox-tools" style="top:10px;">
<button type="button" class="btn btn-primary btn-sm" style="margin-left:10px"
v-on:click="_goBack()">
返回
</button>
</div>
</div>
<div class="ibox-content">

View File

@ -78,6 +78,9 @@
},
_refreshlistCarFeeInfo:function(){
vc.component.listCarFeeInfo._currentFeeConfigName = "";
},
_goBack:function(){
vc.goBack();
}
}

View File

@ -5,7 +5,10 @@
<div class="ibox-title">
<h5>订单收费</h5>
<div class="ibox-tools" style="top:10px;">
<button type="button" class="btn btn-primary btn-sm" style="margin-left:10px"
v-on:click="_goBack()">
返回
</button>
</div>
</div>
<div class="ibox-content">
@ -40,7 +43,7 @@
<div class="col-sm-6">
<select class="custom-select" v-model="payFeeOrderInfo.tempCycles"
@change="_changeMonth(payFeeOrderInfo.tempCycles)">
<option value="">请选择缴费周期</option>
<option value="">请选择缴费周期</option>
<option v-for="item in payFeeOrderInfo.paymentCycles" :value="item">{{item}}个月
</option>
<option value="-102">自定义周期</option>
@ -50,43 +53,35 @@
<div class="form-group row" v-if="payFeeOrderInfo.tempCycles == '-102'">
<label class="col-sm-2 col-form-label">实际周期</label>
<div class="col-sm-6">
<input type="text"
placeholder="请输入实际周期" v-model="payFeeOrderInfo.cycles" oninput ="value=value.replace(/[^\d]/g,'')" v-on:change="changeCycle(payFeeOrderInfo.cycles)"
class="form-control">
<input type="text" placeholder="请输入实际周期" v-model="payFeeOrderInfo.cycles"
oninput="value=value.replace(/[^\d]/g,'')"
v-on:change="changeCycle(payFeeOrderInfo.cycles)" class="form-control">
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label" style="padding-right:0px;">备注</label>
<div class="col-sm-8" style="padding-left:5px;">
<textarea placeholder="可填,请填写备注" class="form-control"
v-model="payFeeOrderInfo.remark"></textarea>
</div>
v-model="payFeeOrderInfo.remark"></textarea>
</div>
</div>
</div>
<div class="col-4" style="padding-left: 30px;">
<div class="row" v-if="payFeeOrderInfo.builtUpArea">
<label class="col-sm-3 col-form-label"
>面积:</label>
<label class="col-sm-8 col-form-label"
>{{payFeeOrderInfo.builtUpArea}}</label>
<label class="col-sm-3 col-form-label">面积:</label>
<label class="col-sm-8 col-form-label">{{payFeeOrderInfo.builtUpArea}}</label>
</div>
<div class="row" v-if="payFeeOrderInfo.builtUpArea">
<label class="col-sm-3 col-form-label"
>单价:</label>
<label class="col-sm-8 col-form-label"
>{{payFeeOrderInfo.squarePrice}}</label>
<label class="col-sm-3 col-form-label">单价:</label>
<label class="col-sm-8 col-form-label">{{payFeeOrderInfo.squarePrice}}</label>
</div>
<div class="row" v-if="payFeeOrderInfo.builtUpArea">
<label class="col-sm-3 col-form-label"
>附加费:</label>
<label class="col-sm-8 col-form-label"
>{{payFeeOrderInfo.additionalAmount}}</label>
<label class="col-sm-3 col-form-label">附加费:</label>
<label class="col-sm-8 col-form-label">{{payFeeOrderInfo.additionalAmount}}</label>
</div>
<div class="row" v-else>
<label class="col-sm-3 col-form-label"
>固定费:</label>
<label class="col-sm-8 col-form-label"
>{{payFeeOrderInfo.additionalAmount}}</label>
<label class="col-sm-3 col-form-label">固定费:</label>
<label class="col-sm-8 col-form-label">{{payFeeOrderInfo.additionalAmount}}</label>
</div>
<div class="row">
<label class="col-sm-3 col-form-label"

View File

@ -170,6 +170,9 @@
$('#payFeeResult').modal("hide");
vc.getBack();
},
_goBack:function(){
vc.goBack();
},
_printAndBack: function () {
//$('#payFeeResult').modal("hide");
window.open("/print.html#/pages/property/printPayFee?roomName=" + $that.payFeeOrderInfo.roomName)