|
@@ -150,16 +150,6 @@ export default {
|
|
|
callback();
|
|
|
}
|
|
|
};
|
|
|
- let validateFloor = (rule, value, callback) => {
|
|
|
- let floorSequenceID = this.form["infos.floorSequenceID"];
|
|
|
- console.log(floorSequenceID);
|
|
|
- if (!floorSequenceID) {
|
|
|
- return callback(new Error("请输入楼层顺序号"));
|
|
|
- } else {
|
|
|
- callback();
|
|
|
- }
|
|
|
- };
|
|
|
- // }
|
|
|
return {
|
|
|
form: {},
|
|
|
isShowTitle: true,
|
|
@@ -170,7 +160,7 @@ export default {
|
|
|
localName: [
|
|
|
{ required: true, message: "请输入楼层本地名称", trigger: "blur" },
|
|
|
],
|
|
|
- floorSequenceId: [
|
|
|
+ floorSequenceID: [
|
|
|
{ required: true, message: "请输入楼层顺序号", trigger: "blur" },
|
|
|
],
|
|
|
},
|