mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
将楼层支持 字母
This commit is contained in:
parent
ce0fbc63ad
commit
e3339972ed
@ -66,16 +66,10 @@
|
||||
},
|
||||
],
|
||||
'addRoomViewInfo.layer': [{
|
||||
limit: "required",
|
||||
param: "",
|
||||
errInfo: "房屋楼层不能为空"
|
||||
},
|
||||
{
|
||||
limit: "num",
|
||||
param: "",
|
||||
errInfo: "房屋楼层高度必须为数字"
|
||||
},
|
||||
],
|
||||
limit: "required",
|
||||
param: "",
|
||||
errInfo: "房屋楼层不能为空"
|
||||
}],
|
||||
'addRoomViewInfo.apartment': [{
|
||||
limit: "required",
|
||||
param: "",
|
||||
|
||||
@ -2,18 +2,20 @@
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="exampleModalLabel"><vc:i18n name="请确认您的操作" namespace="deleteFloor"></vc:i18n>!</h5>
|
||||
<h5 class="modal-title" id="exampleModalLabel"><span><vc:i18n name="请确认您的操作" namespace="deleteFloor"></vc:i18n></span>!</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<tr align="center"><th><vc:i18n name="确认是否删除" namespace="deleteFloor"></vc:i18n>!</th></tr>
|
||||
<tr align="center">
|
||||
<th><span><vc:i18n name="确认是否删除" namespace="deleteFloor"></vc:i18n></span>!</th>
|
||||
</tr>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal" ><vc:i18n name="点错了" namespace="deleteFloor"></vc:i18n></button>
|
||||
<button type="button" class="btn btn-primary" v-on:click="deleteFloor()"><vc:i18n name="确认删除" namespace="deleteFloor"></vc:i18n></button>
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal"><span><vc:i18n name="点错了" namespace="deleteFloor"></vc:i18n></span></button>
|
||||
<button type="button" class="btn btn-primary" v-on:click="deleteFloor()"><span><vc:i18n name="确认删除" namespace="deleteFloor"></vc:i18n></span></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -19,7 +19,7 @@
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-2 col-form-label"><vc:i18n name="房屋楼层" namespace="editRoom"></vc:i18n></label>
|
||||
<div class="col-sm-10"><input v-model="editRoomInfo.layer" type="number" :placeholder="vc.i18n('必填,请填写房屋楼层','editRoom')" class="form-control"></div>
|
||||
<div class="col-sm-10"><input v-model="editRoomInfo.layer" type="text" :placeholder="vc.i18n('必填,请填写房屋楼层','editRoom')" class="form-control"></div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-2 col-form-label"><vc:i18n name="房屋单元" namespace="editRoom"></vc:i18n></label>
|
||||
@ -148,4 +148,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -145,16 +145,10 @@
|
||||
},
|
||||
],
|
||||
'editRoomInfo.layer': [{
|
||||
limit: "required",
|
||||
param: "",
|
||||
errInfo: "房屋楼层高度不能为空"
|
||||
},
|
||||
{
|
||||
limit: "num",
|
||||
param: "",
|
||||
errInfo: "房屋楼层高度必须为数字"
|
||||
}
|
||||
],
|
||||
limit: "required",
|
||||
param: "",
|
||||
errInfo: "房屋楼层高度不能为空"
|
||||
}],
|
||||
'editRoomInfo.state': [{
|
||||
limit: "required",
|
||||
param: "",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user