企标制修订-技术标准(发布)
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
<el-row :gutter="24">
|
<el-row :gutter="24">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="企标类别" prop="standSort" class="add-form-item form-item-disabled">
|
<el-form-item label="企标类别" prop="standSort" class="add-form-item form-item-disabled">
|
||||||
<el-select v-model="form.standSort" filterable clearable>
|
<el-select v-model="form.standSort" filterable clearable @change="standSortChange">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in standSortOptions"
|
v-for="item in standSortOptions"
|
||||||
placeholder="请选择企标类别"
|
placeholder="请选择企标类别"
|
||||||
@@ -88,7 +88,8 @@
|
|||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-show="form.reviseStatus === '1'" label="企标顺序号" :prop="form.reviseStatus === '1'?standNum : ''" class="add-form-item form-item-disabled">
|
<!--<el-form-item v-show="form.reviseStatus === '1'" label="企标顺序号" :prop="form.reviseStatus === '1'?standNum : ''" class="add-form-item form-item-disabled">-->
|
||||||
|
<el-form-item v-show="form.reviseStatus === '1' || form.reviseStatus === '2'" label="企标顺序号" :prop="form.reviseStatus === '1'?standNum : ''" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.standNum"
|
v-model="form.standNum"
|
||||||
:maxLength="100"
|
:maxLength="100"
|
||||||
@@ -840,6 +841,9 @@ export default {
|
|||||||
...mapGetters(['userInfo'])
|
...mapGetters(['userInfo'])
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
standSortChange(val){
|
||||||
|
this.$emit('standSortChange',val)
|
||||||
|
},
|
||||||
filterOp(data){
|
filterOp(data){
|
||||||
if(!data){
|
if(!data){
|
||||||
return ""
|
return ""
|
||||||
@@ -1110,6 +1114,11 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
'form.reviseStatus':{
|
||||||
|
handler(val) {
|
||||||
|
this.$emit('reveseStatusChange',val)
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -45,6 +45,8 @@
|
|||||||
@formChoiceZRR3 = "formChoiceZRR3"
|
@formChoiceZRR3 = "formChoiceZRR3"
|
||||||
@formChoiceZRR4 = "formChoiceZRR4"
|
@formChoiceZRR4 = "formChoiceZRR4"
|
||||||
@formChoiceZRR5 = "formChoiceZRR5"
|
@formChoiceZRR5 = "formChoiceZRR5"
|
||||||
|
@standSortChange = "standSortChange"
|
||||||
|
@reveseStatusChange = 'reveseStatusChange'
|
||||||
/>
|
/>
|
||||||
<div>
|
<div>
|
||||||
<el-collapse accordion v-model="activeName">
|
<el-collapse accordion v-model="activeName">
|
||||||
@@ -1118,6 +1120,7 @@
|
|||||||
syrzOptions:[],//适用认证下拉框
|
syrzOptions:[],//适用认证下拉框
|
||||||
data: [], // 标准列表数据
|
data: [], // 标准列表数据
|
||||||
ListForm: {}, // 新增数据
|
ListForm: {}, // 新增数据
|
||||||
|
maxStandnSn:"", // 最大順序號
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch:{
|
watch:{
|
||||||
@@ -1166,6 +1169,16 @@
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
reveseStatusChange(val){
|
||||||
|
if(val === '1'){
|
||||||
|
this.form.standNum = this.maxStandnSn
|
||||||
|
}else{
|
||||||
|
this.form.standNum = this.form.standSn
|
||||||
|
}
|
||||||
|
},
|
||||||
|
standSortChange(val){
|
||||||
|
this.form.standCode = val + ' ' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||||
|
},
|
||||||
checkedRoleTransfer (data) {
|
checkedRoleTransfer (data) {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.saveLoading = true
|
this.saveLoading = true
|
||||||
@@ -1266,6 +1279,7 @@
|
|||||||
this.fileType = fileType
|
this.fileType = fileType
|
||||||
this.fileUpload(fileType)
|
this.fileUpload(fileType)
|
||||||
}
|
}
|
||||||
|
this.form.standCode = this.form.standSort + ' ' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||||
},
|
},
|
||||||
modelProp(row,index){
|
modelProp(row,index){
|
||||||
console.log(row)
|
console.log(row)
|
||||||
@@ -2853,6 +2867,13 @@
|
|||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
getMaxStandnSn(){
|
||||||
|
this.$http.get('lawss/sarBussionessStand/selectMaxStandnSn', '', {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
this.maxStandnSn = res.data
|
||||||
|
})
|
||||||
|
}
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
// this.getTaskId()
|
// this.getTaskId()
|
||||||
@@ -2894,6 +2915,7 @@
|
|||||||
}
|
}
|
||||||
this.busVsFunc()
|
this.busVsFunc()
|
||||||
this.modelFunc()
|
this.modelFunc()
|
||||||
|
this.getMaxStandnSn();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user