wuxw
2019-11-21 620d850d08121f3ca8a2e3e921e94eeff4d85595
WebService/src/main/resources/components/roomPackage/addRoomView/addRoomView.js
@@ -10,8 +10,10 @@
                flowComponent:'addRoomView',
                roomNum:'',
layer:'',
section:'',
section:'0',
apartment:'',
apartment1:'',
apartment2:'',
builtUpArea:'',
unitPrice:'',
state:'2002',
@@ -38,6 +40,7 @@
        },
        methods:{
            addRoomValidate(){
                vc.component.addRoomViewInfo.apartment=vc.component.addRoomViewInfo.apartment1+vc.component.addRoomViewInfo.apartment2;
                return vc.validate.validate({
                    addRoomViewInfo:vc.component.addRoomViewInfo
                },{
@@ -65,18 +68,6 @@
                            errInfo:"房屋楼层高度必须为数字"
                        },
                    ],
'addRoomViewInfo.section':[
{
                            limit:"required",
                            param:"",
                            errInfo:"房间数不能为空"
                        },
 {
                            limit:"num",
                            param:"",
                            errInfo:"房间数必须为数字"
                        },
                    ],
'addRoomViewInfo.apartment':[
{
                            limit:"required",
@@ -99,18 +90,6 @@
                            limit:"money",
                            param:"",
                            errInfo:"建筑面积错误,如 300.00"
                        },
                    ],
'addRoomViewInfo.unitPrice':[
{
                            limit:"required",
                            param:"",
                            errInfo:"房屋单价不能为空"
                        },
 {
                            limit:"money",
                            param:"",
                            errInfo:"房屋单价错误 如 300.00"
                        },
                    ],
'addRoomViewInfo.state':[