mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
优化代码
This commit is contained in:
parent
ec38f72ec4
commit
815527d4b7
@ -14,25 +14,21 @@
|
||||
<div class="row">
|
||||
<div class="col-sm-4">
|
||||
<div class="form-group">
|
||||
<input type="text" :placeholder="vc.i18n('请选择供应商名称','chainSupplierManage')"
|
||||
v-model="chainSupplierManageInfo.conditions.name" class=" form-control">
|
||||
<input type="text" :placeholder="vc.i18n('请选择供应商名称','chainSupplierManage')" v-model="chainSupplierManageInfo.conditions.name" class=" form-control">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-4">
|
||||
<div class="form-group">
|
||||
<input type="text" :placeholder="vc.i18n('请选择接口地址','chainSupplierManage')"
|
||||
v-model="chainSupplierManageInfo.conditions.url" class=" form-control">
|
||||
<input type="text" :placeholder="vc.i18n('请选择接口地址','chainSupplierManage')" v-model="chainSupplierManageInfo.conditions.url" class=" form-control">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<div class="form-group">
|
||||
<input type="text" :placeholder="vc.i18n('请选择商户ID','chainSupplierManage')"
|
||||
v-model="chainSupplierManageInfo.conditions.mchId" class=" form-control">
|
||||
<input type="text" :placeholder="vc.i18n('请选择商户ID','chainSupplierManage')" v-model="chainSupplierManageInfo.conditions.mchId" class=" form-control">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-1">
|
||||
<button type="button" class="btn btn-primary btn-sm"
|
||||
v-on:click="_queryChainSupplierMethod()">
|
||||
<button type="button" class="btn btn-primary btn-sm" v-on:click="_queryChainSupplierMethod()">
|
||||
<i class="glyphicon glyphicon-search"></i> <span>
|
||||
<vc:i18n name="查询"></vc:i18n>
|
||||
</span>
|
||||
@ -56,7 +52,7 @@
|
||||
<button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddChainSupplierModal()">
|
||||
<i class="glyphicon glyphicon-plus"></i>
|
||||
<span>
|
||||
<vc:i18n name="添加供应商" namespace="chainSupplierManage"></vc:i18n>
|
||||
<vc:i18n name="添加" namespace="chainSupplierManage"></vc:i18n>
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
@ -105,17 +101,15 @@
|
||||
<td class="text-center">{{chainSupplier.url}}</td>
|
||||
<td class="text-center">
|
||||
<div class="btn-group">
|
||||
<button class="btn-white btn btn-xs" v-on:click="_openManageCatalog(chainSupplier)"><span><vc:i18n name="管理分类" namespace="propertyCompanyManage"></vc:i18n></span></button>
|
||||
<button class="btn-white btn btn-xs" v-on:click="_openManageCatalog(chainSupplier)"><span><vc:i18n name="分类" namespace="propertyCompanyManage"></vc:i18n></span></button>
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
<button class="btn-white btn btn-xs"
|
||||
v-on:click="_openEditChainSupplierModel(chainSupplier)"><span>
|
||||
<button class="btn-white btn btn-xs" v-on:click="_openEditChainSupplierModel(chainSupplier)"><span>
|
||||
<vc:i18n name='修改'></vc:i18n>
|
||||
</span></button>
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
<button class="btn-white btn btn-xs"
|
||||
v-on:click="_openDeleteChainSupplierModel(chainSupplier)"><span>
|
||||
<button class="btn-white btn btn-xs" v-on:click="_openDeleteChainSupplierModel(chainSupplier)"><span>
|
||||
<vc:i18n name='删除'></vc:i18n>
|
||||
</span></button>
|
||||
</div>
|
||||
|
||||
@ -58,7 +58,8 @@
|
||||
<div class="form-group row" v-if="payFeeOrderInfo.tempCycles == '-102'">
|
||||
<label class="col-sm-2 col-form-label"><span><span><vc:i18n name="实际周期" namespace="payFeeOrder"></vc:i18n></span></span></label>
|
||||
<div class="col-sm-6">
|
||||
<input type="text" :placeholder="vc.i18n('请输入实际周期','payFeeOrder')" v-model="payFeeOrderInfo.cycles" oninput="value=value.replace(/[^\d]/g,'')" v-on:change="changeCycle(payFeeOrderInfo.cycles)" class="form-control">
|
||||
<!--oninput="value=value.replace(/[^\d]/g,'')" 这里取消校验 实际中 可能要填写 几点几个月-->
|
||||
<input type="text" :placeholder="vc.i18n('请输入实际周期','payFeeOrder')" v-model="payFeeOrderInfo.cycles" v-on:change="changeCycle(payFeeOrderInfo.cycles)" class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
@ -202,7 +203,7 @@
|
||||
</div>
|
||||
<div class="row">
|
||||
<label class="col-sm-3 col-form-label"><span><span><vc:i18n name="实收金额" namespace="payFeeOrder"></vc:i18n></span></span>:</label>
|
||||
<label class="col-sm-8 col-form-label" v-if = "payFeeOrderInfo.flag != null && payFeeOrderInfo.flag != '' && payFeeOrderInfo.flag == 'true'">{{payFeeOrderInfo.receivedAmountNumber}}</label>
|
||||
<label class="col-sm-8 col-form-label" v-if="payFeeOrderInfo.flag != null && payFeeOrderInfo.flag != '' && payFeeOrderInfo.flag == 'true'">{{payFeeOrderInfo.receivedAmountNumber}}</label>
|
||||
<label class="col-sm-8 col-form-label" v-else>{{payFeeOrderInfo.receivedAmount}}</label>
|
||||
</div>
|
||||
<div class="row">
|
||||
@ -237,4 +238,4 @@
|
||||
<vc:create path="property/payFeeUserAccount"></vc:create>
|
||||
<vc:create path="property/payFeeDiscount"></vc:create>
|
||||
<vc:create path="property/prestoreAccount2"></vc:create>
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Reference in New Issue
Block a user