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