车型项目库-法规清单-勾选多条数据匹配平台件项目时,提示不对
This commit is contained in:
@@ -1994,19 +1994,18 @@
|
||||
}
|
||||
}
|
||||
for (let i = 0; i < dataSource.length; i++) {
|
||||
if (dataSource[i].verifyFlowStatus == 'List to be released' &&
|
||||
dataSource[i].designFlowStatus == 'List to be released') {
|
||||
if (dataSource[i].verifyFlowStatus !== 'List to be released' &&
|
||||
dataSource[i].designFlowStatus !== 'List to be released') {
|
||||
flag = '1'
|
||||
status = '1'
|
||||
} else {
|
||||
status = '2'
|
||||
}
|
||||
}
|
||||
console.log(status)
|
||||
if(status == '1'){
|
||||
this.$refs.associatedplatRef.transferModel(flag,type,this.selectedRowKeys.join(','))
|
||||
}else{
|
||||
this.$message.warning(this.$t('unpublishedregulationsselected'))
|
||||
|
||||
}else{
|
||||
this.$refs.associatedplatRef.transferModel(flag,type,this.selectedRowKeys.join(','))
|
||||
}
|
||||
}else{
|
||||
this.dataSource.forEach(item => {
|
||||
|
||||
+2
-2
@@ -11,7 +11,7 @@
|
||||
style="height: 100%;overflow: auto;padding-bottom: 53px;">
|
||||
<div style="margin-bottom: 60px">
|
||||
<div class="table-operator">
|
||||
<div class="operator-text" v-if="isDisplayNum == 2 && roleSwitchingCode == 1"
|
||||
<div class="operator-text" v-if="roleSwitchingCode == 1"
|
||||
@click="addData">
|
||||
<a-icon type="plus"/>
|
||||
{{$t('add')}}
|
||||
@@ -159,7 +159,7 @@
|
||||
computed: {
|
||||
columns() {
|
||||
let columnResult = JSON.parse(JSON.stringify(this.columnsAll))
|
||||
if (this.roleSwitchingCode == 1 && this.isDisplayNum == 2){
|
||||
if (this.roleSwitchingCode == 1){
|
||||
}else{
|
||||
for (var i = 0; i < columnResult.length; i++) {
|
||||
if (columnResult[i].title === this.$t('operation')) {
|
||||
|
||||
Reference in New Issue
Block a user