|
|
@@ -32,6 +32,20 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <el-col :span="24">
|
|
|
+ <el-form-item label="项目方阶段:" prop="squarestage">
|
|
|
+ <el-select v-model="form.squarestage" placeholder="请选择项目方阶段" size="mini">
|
|
|
+ <el-option
|
|
|
+ v-for="(item,index) in squarestages"
|
|
|
+ :key="index"
|
|
|
+ :label="item.value"
|
|
|
+ :value="item.value">
|
|
|
+ <span style="float: left">{{ item.value }}</span>
|
|
|
+ <span style="float: right; color: #8492a6; font-size: 12px">{{ item.remarks?item.remarks:'暂无描述' }}</span>
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
<el-col :span="24">
|
|
|
<el-form-item label="项目等级:" prop="grade">
|
|
|
<el-select v-model="form.grade" placeholder="请选择项目等级" size="mini">
|
|
|
@@ -165,6 +179,12 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <el-col :span="24">
|
|
|
+ <el-form-item label="品牌是否由提报方植入:" prop="isfillbrangd" label-width="160px">
|
|
|
+ <el-radio v-model="form.isfillbrangd" label="1">是</el-radio>
|
|
|
+ <el-radio v-model="form.isfillbrangd" label="0">否</el-radio>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
|
|
|
</el-form>
|
|
|
</el-row>
|
|
|
@@ -294,6 +314,8 @@ export default {
|
|
|
},
|
|
|
form:{
|
|
|
sa_projectid:0,
|
|
|
+ isfillbrangd:'0',
|
|
|
+ squarestage:"",
|
|
|
projectname:"",
|
|
|
projectnum:"",
|
|
|
address:"",//可选
|
|
|
@@ -320,6 +342,7 @@ export default {
|
|
|
brandSelect:[],
|
|
|
tradefieldSelect:[],
|
|
|
unitnameList:[],
|
|
|
+ squarestages:[],
|
|
|
rules:{
|
|
|
projectname:[
|
|
|
{ required: true, message: '请输入项目名称', trigger: 'blur'},
|
|
|
@@ -388,7 +411,7 @@ export default {
|
|
|
cascaderChange (val) {
|
|
|
this.form = Object.assign({},this.form,{province:val[0],city:val[1],county:val[2]})
|
|
|
},
|
|
|
- editBtn () {
|
|
|
+ async editBtn () {
|
|
|
this.dialogFormVisible = true
|
|
|
this.form = Object.assign({},this.form,this.data)
|
|
|
this.form.value = [this.form.province,this.form.city,this.form.county]
|
|
|
@@ -401,6 +424,8 @@ export default {
|
|
|
this.getSysetms()
|
|
|
this.queryBrand()
|
|
|
this.queryTradefield()
|
|
|
+ const res = await this.$store.dispatch('optiontypeselect','squarestage')
|
|
|
+ this.squarestages = res.data
|
|
|
/*this.form.tradefields = JSON.parse(this.form.tradefields)*/
|
|
|
|
|
|
/*this.form.budgetary = this.form.budgetary !== 0 ? this.tool.formatAmount(this.form.budgetary,2):'' || ''
|
|
|
@@ -600,10 +625,11 @@ export default {
|
|
|
/*获取单位*/
|
|
|
queryUnitname(){
|
|
|
this.$store.dispatch('optiontypeselect','scaleunitname').then(res=>{
|
|
|
+ this.unitnameList = res.data
|
|
|
if (this.form.scale === ''){
|
|
|
this.form.unitname = res.data[0].value
|
|
|
}
|
|
|
- this.unitnameList = res.data
|
|
|
+
|
|
|
})
|
|
|
},
|
|
|
/*查询项目名称是否重复*/
|