|
@@ -99,7 +99,8 @@ import dialogZone from "../../ledger/addDialog/dialogZone";
|
|
|
export default {
|
|
|
props: {
|
|
|
id: {},
|
|
|
- zoneCode: {}
|
|
|
+ zoneCode: {},
|
|
|
+ otherType: String
|
|
|
},
|
|
|
components: {
|
|
|
qrcode, //二维码页面
|
|
@@ -855,11 +856,19 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
//选择业务空间类型-添加业务空间
|
|
|
- changeAddType(val, item) {
|
|
|
- this.addData.spaceType = val;
|
|
|
- this.addData.spaceName = item.Name;
|
|
|
- this.addData.showType = this.showType;
|
|
|
- this.addData.buildFloorSelectd = this.buildFloorSelectd;
|
|
|
+ changeAddType(val, item, value) {
|
|
|
+ if (value.length == 2 && value[1] == "OtherZone") {
|
|
|
+ this.addData.spaceType = val;
|
|
|
+ this.addData.otherType = value[1]
|
|
|
+ this.addData.spaceName = `其他分区-${item.Name}`;
|
|
|
+ this.addData.showType = this.showType;
|
|
|
+ this.addData.buildFloorSelectd = this.buildFloorSelectd;
|
|
|
+ } else {
|
|
|
+ this.addData.spaceType = val;
|
|
|
+ this.addData.spaceName = item.Name;
|
|
|
+ this.addData.showType = this.showType;
|
|
|
+ this.addData.buildFloorSelectd = this.buildFloorSelectd;
|
|
|
+ }
|
|
|
},
|
|
|
//刷新
|
|
|
reset() {
|
|
@@ -919,6 +928,7 @@ export default {
|
|
|
} else {
|
|
|
this.OtherList = []
|
|
|
}
|
|
|
+ this.OtherValue = this.otherType
|
|
|
})
|
|
|
},
|
|
|
// 其他类型下拉change
|