Commit d94aac24 authored by 黄奎's avatar 黄奎

11

parent ada2098f
......@@ -68,7 +68,7 @@
</el-form-item>
<el-form-item :label="`${isBrand?'品牌':'服务'}简介`" class="ue-style">
<el-input type="textarea" :placeholder="`请输入${isBrand?'品牌':'服务'}简介`" v-model="addMsg.Introduce"
maxlength="500" autosize style="width: 690px;">
maxlength="500" autosize style="width: 690px;">
</el-input>
</el-form-item>
<el-form-item label="店铺数量" size="small">
......@@ -295,9 +295,15 @@
</el-input>
</el-form-item>
<el-form-item label="物业需求" prop="">
<el-input v-model="addMsg.PropertyDemand" style="width: 690px" size="small" placeholder="请输入物业需求"
<!-- <el-input v-model="addMsg.PropertyDemand" style="width: 690px" size="small" placeholder="请输入物业需求"
maxlength="500" show-word-limit>
</el-input>
</el-input> -->
<el-select style="width: 690px" v-model="addMsg.PropertyDemandList" multiple size="small" placeholder="物业需求">
<el-option v-for="(item,index) in wuyeList" :key="index" :label="item.Name" :value="item.Name">
</el-option>
</el-select>
</el-form-item>
<el-form-item label="配套需求" prop="">
<el-input v-model="addMsg.Complementary" style="width: 690px" size="small" placeholder="请输入配套需求"
......@@ -395,6 +401,7 @@
DevIntention: '', //发展意向
Cooperation: '', //合作条件
PropertyDemand: '', //物业需求
PropertyDemandList:[],//物业需求数组,
Complementary: '', //配套需求
ContactName: "", //联系人
ContactPhone: '', //联系电话
......@@ -438,6 +445,7 @@
LogoList: [],
isBrand: true,
CategoryList: [],
wuyeList:[],//物业需求
};
},
components: {
......@@ -453,8 +461,16 @@
this.getData();
}
this.getTypeEnumList();
this.getConfigData();
},
methods: {
getConfigData() {
this.apipost("/api/Trade/GetYBConfig", {}, (res) => {
if (res.data.resultCode == 1) {
this.wuyeList = res.data.data.wuyeList;
}
});
},
//获取类型
getTypeEnumList() {
this.apipost("/api/Trade/GetBrandClassList", {
......
......@@ -181,7 +181,7 @@
this.isBrand = this.$route.name == 'BrandEnterpriseManager'
this.msg.BrandEnterpriseType = this.isBrand ? 1 : 2
this.getList();
//this.getTypeEnumList();
this.getTypeEnumList();
this.getDown();
},
watch: {
......@@ -199,7 +199,7 @@
BrandEnterpriseType: this.isBrand ? 1 : 2, //(1-品牌,2-服务)
}
this.getList();
// this.getTypeEnumList();
this.getTypeEnumList();
},
deep: true,
},
......
......@@ -188,16 +188,20 @@
</el-input>
</el-form-item>
<el-form-item label="物业构成">
<el-select v-model="addMsg.CategoryId" size="small" placeholder="请选择">
<el-select v-model="addMsg.CategoryId" size="small" placeholder="请选择物业构成">
<el-option v-for="item in CategoryList" :key="item.ID" :label="item.ClassName" :value="item.ID">
</el-option>
</el-select>
</el-form-item>
<!--prop="Ascription"-->
<el-form-item label="资产权属">
<el-input v-model="addMsg.Ascription" style="width: 690px" size="small" placeholder="请输入资产权属" maxlength="500"
<!-- <el-input v-model="addMsg.Ascription" style="width: 690px" size="small" placeholder="请输入资产权属" maxlength="500"
show-word-limit>
</el-input>
</el-input> -->
<el-select v-model="addMsg.Ascription" size="small" placeholder="请选择资产权属">
<el-option v-for="(item,index) in zichanList" :key="index" :label="item.Name" :value="item.Name">
</el-option>
</el-select>
</el-form-item>
<el-form-item label="业态规划">
<el-input v-model="addMsg.CarrierPlan" style="width: 690px" size="small" placeholder="请输入业态规划">
......@@ -619,7 +623,8 @@
LogoList: [],
shenList: [],
isCarrier: true,
CategoryList: []
CategoryList: [],
zichanList: [],
};
},
components: {
......@@ -636,9 +641,17 @@
this.getData();
}
this.getTypeEnumList();
this.getConfigData();
this.GetAuthenticationCategoryEnumList();
},
methods: {
getConfigData() {
this.apipost("/api/Trade/GetYBConfig", {}, (res) => {
if (res.data.resultCode == 1) {
this.zichanList = res.data.data.zichanList;
}
});
},
//获取项目类型
getTypeEnumList() {
this.apipost("/api/Trade/GetProjectTypeEnumList", {}, (res) => {
......
......@@ -93,12 +93,20 @@
</el-select>
</el-form-item>
<el-form-item label="楼宇装修">
<el-input v-model="addMsg.Renovation" style="width: 690px" size="small" placeholder="请输入楼宇装修">
</el-input>
<el-select v-model="addMsg.Renovation" size="small" placeholder="请选择楼宇装修">
<el-option v-for="(item,index) in RenovationList" :key="index" :label="item.Name" :value="item.Name">
</el-option>
</el-select>
<!-- <el-input v-model="addMsg.Renovation" style="width: 690px" size="small" placeholder="">
</el-input> -->
</el-form-item>
<el-form-item label="支付方式">
<el-input v-model="addMsg.Payment" style="width: 690px" size="small" placeholder="请输入支付方式">
</el-input>
<el-select v-model="addMsg.Payment" size="small" placeholder="请选择付款方式">
<el-option v-for="(item,index) in PayTypeList" :key="index" :label="item.Name" :value="item.Name">
</el-option>
</el-select>
<!-- <el-input v-model="addMsg.Payment" style="width: 690px" size="small" placeholder="请输入支付方式">
</el-input> -->
</el-form-item>
<el-form-item label="交房日期">
<el-date-picker v-model="addMsg.HandoverDate" clearable format="yyyy-MM" value-format="yyyy-MM" size="small"
......@@ -295,6 +303,8 @@
CategoryList: [],
ETypeList: [],
isShowMap: false,
RenovationList: [], //装修类型
PayTypeList: [], //支付方式
};
},
components: {
......@@ -310,8 +320,17 @@
this.getData();
}
this.getTypeEnumList();
this.getConfigData();
},
methods: {
getConfigData() {
this.apipost("/api/Trade/GetYBConfig", {}, (res) => {
if (res.data.resultCode == 1) {
this.RenovationList = res.data.data.zhuangXiuList;
this.PayTypeList = res.data.data.fukuanList;
}
});
},
//得到地图信息
mapEvent(e) {
this.addMsg.LatAndLon = e.lat + "," + e.long;
......
......@@ -171,7 +171,7 @@
}
this.msg.BrandEnterpriseType = 2
this.getList();
// this.getTypeEnumList();
this.getTypeEnumList();
this.getDown();
},
watch: {
......
......@@ -248,7 +248,7 @@
},
created() {
this.getList();
//this.getTypeEnumList();
this.getTypeEnumList();
this.getDown();
this.getuserList()
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment