feat: There is no way the, bug #56417
This commit is contained in:
@@ -24,11 +24,21 @@
|
|||||||
<div class="prc-content-border">
|
<div class="prc-content-border">
|
||||||
<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 v-show="form.standStatus === '1'" label="企标类别" prop="standSort" class="add-form-item form-item-disabled">
|
||||||
<el-select :disabled="disabledXX" v-model="form.standSort" filterable clearable>
|
<el-select :disabled="disabledXX" v-model="form.standSort" filterable clearable placeholder="请选择企标类别">
|
||||||
|
<el-option
|
||||||
|
v-for="(item, index) in standSortOptions"
|
||||||
|
:key="index"
|
||||||
|
:value="item.value"
|
||||||
|
:label="item.label"
|
||||||
|
></el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item v-show="form.standStatus === '2' || form.standStatus === '3'" label="企标类别" prop="standSort" class="add-form-item form-item-disabled">
|
||||||
|
<el-select :disabled="disabledXX || planDisabled" v-model="form.standSort" filterable clearable
|
||||||
|
placeholder="请先选择企业标准带入企标类别">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="(item, index) in standSortOptions"
|
v-for="(item, index) in standSortOptions"
|
||||||
placeholder="请选择企标类别"
|
|
||||||
:key="index"
|
:key="index"
|
||||||
:value="item.value"
|
:value="item.value"
|
||||||
:label="item.label"
|
:label="item.label"
|
||||||
@@ -1061,6 +1071,7 @@
|
|||||||
:defaultProps="defaultModelProps" :checkedKeys="defaultCheckedKeys3"
|
:defaultProps="defaultModelProps" :checkedKeys="defaultCheckedKeys3"
|
||||||
:nodeKey="nodeKeyModel" @popoverHide="popoverHideModel"
|
:nodeKey="nodeKeyModel" @popoverHide="popoverHideModel"
|
||||||
@popoverHideCancel="popoverHideModelCancel()"></tree-select-module>
|
@popoverHideCancel="popoverHideModelCancel()"></tree-select-module>
|
||||||
|
<loading :loading="replaceLoading"></loading>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -1113,6 +1124,7 @@
|
|||||||
callback()
|
callback()
|
||||||
};
|
};
|
||||||
return {
|
return {
|
||||||
|
planDisabled:true,
|
||||||
disabledXX:!!this.$route.query.disabledXX,
|
disabledXX:!!this.$route.query.disabledXX,
|
||||||
opinionsStand:[
|
opinionsStand:[
|
||||||
{value: '1',label: '制定'},
|
{value: '1',label: '制定'},
|
||||||
@@ -1290,7 +1302,7 @@
|
|||||||
selListRep2:[],
|
selListRep2:[],
|
||||||
id:'',
|
id:'',
|
||||||
standNum:'',
|
standNum:'',
|
||||||
standStatus:'', // 标准状态
|
standStatus:'1', // 标准状态
|
||||||
planId:'',
|
planId:'',
|
||||||
planStatus:'',
|
planStatus:'',
|
||||||
reviseStatus:'',
|
reviseStatus:'',
|
||||||
@@ -1644,6 +1656,7 @@
|
|||||||
// }, e => {
|
// }, e => {
|
||||||
// })
|
// })
|
||||||
}
|
}
|
||||||
|
this.$forceUpdate()
|
||||||
|
|
||||||
},
|
},
|
||||||
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
@@ -2078,8 +2091,6 @@
|
|||||||
this.form.modelDataZrUserVerify=[]
|
this.form.modelDataZrUserVerify=[]
|
||||||
this.form.QCDWID= ''
|
this.form.QCDWID= ''
|
||||||
this.form.menuId = this.form['TXLBBUSSMenuId']
|
this.form.menuId = this.form['TXLBBUSSMenuId']
|
||||||
console.log(this.form)
|
|
||||||
console.log(this.form.menuId)
|
|
||||||
this.form.WJSCRYBUSS= this.$store.getters.userInfo.userId
|
this.form.WJSCRYBUSS= this.$store.getters.userInfo.userId
|
||||||
this.form.WJSCRYBUSSName= this.$store.getters.userInfo.userName
|
this.form.WJSCRYBUSSName= this.$store.getters.userInfo.userName
|
||||||
this.form['id'] = bringData.id
|
this.form['id'] = bringData.id
|
||||||
@@ -2092,6 +2103,7 @@
|
|||||||
this.XGDFileList=this.assemble(this.form.XGD,this.form.XGDName);
|
this.XGDFileList=this.assemble(this.form.XGD,this.form.XGDName);
|
||||||
this.standardDrawer = false
|
this.standardDrawer = false
|
||||||
this.verifySarStandard = true
|
this.verifySarStandard = true
|
||||||
|
this.planDisabled = false
|
||||||
if(standStatus && standStatus === '2'){
|
if(standStatus && standStatus === '2'){
|
||||||
let date = new Date();
|
let date = new Date();
|
||||||
let year = date.getFullYear();
|
let year = date.getFullYear();
|
||||||
@@ -2106,7 +2118,6 @@
|
|||||||
this.form.standStatus = "3"
|
this.form.standStatus = "3"
|
||||||
this.getStandInfoByReviseStatus('dr')
|
this.getStandInfoByReviseStatus('dr')
|
||||||
}
|
}
|
||||||
console.log(this.form)
|
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
}
|
}
|
||||||
// 遍历对象初始化文件信息
|
// 遍历对象初始化文件信息
|
||||||
@@ -2942,10 +2953,6 @@
|
|||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
this.saveLoading = false
|
this.saveLoading = false
|
||||||
|
|
||||||
if((this.form.standStatus === '3' || this.form.standStatus === '2') && (this.standardCheckedList === undefined ||this.standardCheckedList.length === 0)) {
|
|
||||||
this.$message.warning("请选择一条企标标准")
|
|
||||||
return
|
|
||||||
}
|
|
||||||
// this.changeTree(this.form.modelData)
|
// this.changeTree(this.form.modelData)
|
||||||
this.$refs['form'].validate((valid) => {
|
this.$refs['form'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
|||||||
Reference in New Issue
Block a user