MicroCommunityWeb/public/components/fee/editCommunityPayment/editCommunityPayment.html

104 lines
5.3 KiB
HTML

<div id="editCommunityPaymentModel" class="modal fade" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-body">
<h3 class="m-t-none m-b ">
<vc:i18n name="修改" namespace="editCommunityPayment"></vc:i18n>
</h3>
<div class="ibox-content">
<div class="form-group row">
<label class="col-sm-2 col-form-label">
<vc:i18n name='名称' namespace='editCommunityPayment'></vc:i18n>
</label>
<div class="col-sm-10">
<input v-model="editCommunityPaymentInfo.paymentName" type="text"
:placeholder="vc.i18n('必填,请填写名称','editCommunityPayment')" class="form-control">
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">
<vc:i18n name='支付厂家' namespace='editCommunityPayment'></vc:i18n>
</label>
<div class="col-sm-10">
<select class="custom-select" v-model="editCommunityPaymentInfo.paymentType" disabled>
<option selected disabled value="">{{vc.i18n('必填,请选择支付厂家','editCommunityPayment')}}</option>
<option :value="item.paymentType" v-for="(item,index) in editCommunityPaymentInfo.paymentTypes" :key="index">
{{item.name}}</option>
</select>
</div>
</div>
<div class="form-group row" v-for="(item,index) in editCommunityPaymentInfo.paymentKeys" :key="index">
<label class="col-sm-2 col-form-label">{{item.name}}</label>
<div class="col-sm-10">
<textarea v-model="item.columnValue" :placeholder="item.remark" class="form-control"></textarea>
</div>
</div>
<div class="form-group row" v-if="editCommunityPaymentInfo.paymentType == 'WECHAT'">
<label class="col-sm-2 col-form-label">
<vc:i18n name="商户证书(.p12)" namespace="editCommunityPayment"></vc:i18n>
</label>
<div class="col-sm-10">
<vc:create path="frame/uploadFile" callBackListener="editCommunityPayment" callBackFunction="notifyCert"
namespace="editCommunityPayment">
</vc:create>
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">
<vc:i18n name='支付范围' namespace='editCommunityPayment'></vc:i18n>
</label>
<div class="col-sm-10">
<select class="custom-select" v-model="editCommunityPaymentInfo.payType" disabled>
<option selected disabled value="">{{vc.i18n('必填,请选择支付范围','editCommunityPayment')}}</option>
<option value="1001">小区费用</option>
<option value="2002">临时停车费</option>
<option value="3003">费用项</option>
</select>
</div>
</div>
<div class="form-group row" v-if="editCommunityPaymentInfo.payType == '3003'">
<label class="col-sm-2 col-form-label">
<vc:i18n name="费用项" namespace="addPropertyCompany"></vc:i18n>
</label>
<div class="col-sm-10">
<label class="margin-left" v-for="(item,index) in editCommunityPaymentInfo.feeConfigs">
<input type="checkbox" v-model="editCommunityPaymentInfo.configIds" :value="item.configId"> {{item.feeName}}
</label>
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">
<vc:i18n name='状态' namespace='editCommunityPayment'></vc:i18n>
</label>
<div class="col-sm-10">
<select class="custom-select" v-model="editCommunityPaymentInfo.state">
<option selected disabled value="">{{vc.i18n('必填,请选择状态' ,'editCommunityPayment')}}</option>
<option value="Y">{{vc.i18n('启用' ,'editCommunityPayment')}} </option>
<option value="N">{{vc.i18n('停用' ,'editCommunityPayment')}} </option>
</select>
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">
<vc:i18n name='使用说明' namespace='editCommunityPayment'></vc:i18n>
</label>
<div class="col-sm-10">
<textarea v-model="editCommunityPaymentInfo.remark" :placeholder="vc.i18n('选填,请填写使用说明','editCommunityPayment')"
class="form-control"></textarea>
</div>
</div>
<div class="ibox-content">
<button class="btn btn-primary float-right" type="button" v-on:click="editCommunityPayment()"><i
class="fa fa-check"></i>&nbsp;<span>
<vc:i18n name="保存"></vc:i18n>
</span></button>
<button type="button" class="btn btn-warning float-right" style="margin-right:20px;"
data-dismiss="modal">
<vc:i18n name="取消"></vc:i18n>
</button>
</div>
</div>
</div>
</div>
</div>
</div>