[update] 修改bug79797

This commit is contained in:
lideqin
2023-12-29 10:22:17 +08:00
parent f462f4ab0f
commit f5c4ecd219
3 changed files with 48 additions and 6 deletions
@@ -366,7 +366,7 @@ export default {
this.selectedRowList = row
},
handleCancel () {
this.visible = false
this.close()
},
handleSubmit () {
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
@@ -374,10 +374,24 @@ export default {
this.$emit('change', this.selectedRowKeys.join(','))
this.$emit('standardNumberChange', standardNumberList.join(','))
this.$emit('listChange', this.selectedRowList)
this.visible = false
this.close()
} else {
this.$message.warning(this.$t('selectLeastOne'))
}
},
close () {
this.visible = false
this.ipagination = {
current: 1,
pageSize: 10,
pageSizeOptions: ['10', '30', '50', '100', '150', '200'],
showTotal: (total, range) => {
return range[0] + '-' + range[1] + ' ' + this.$t('total') + ' ' + total + ' ' + this.$t('strip')
},
showQuickJumper: true,
showSizeChanger: true,
total: 0
}
}
}
}
@@ -269,7 +269,7 @@ export default {
this.selectedRowList = row
},
handleCancel () {
this.visible = false
this.close()
},
handleSubmit () {
if (this.selectedRowKeys && this.selectedRowKeys.length > 0) {
@@ -277,10 +277,24 @@ export default {
this.$emit('change', this.selectedRowKeys.join(','))
this.$emit('standardNumberChange', standardNumberList.join(','))
this.$emit('listChange', this.selectedRowList)
this.visible = false
this.close()
} else {
this.$message.warning(this.$t('selectLeastOne'))
}
},
close () {
this.visible = false
this.ipagination = {
current: 1,
pageSize: 10,
pageSizeOptions: ['10', '30', '50', '100', '150', '200'],
showTotal: (total, range) => {
return range[0] + '-' + range[1] + ' ' + this.$t('total') + ' ' + total + ' ' + this.$t('strip')
},
showQuickJumper: true,
showSizeChanger: true,
total: 0
}
}
}
}
@@ -263,7 +263,7 @@ export default {
this.replacePage()
},
handleCancel () {
this.visible = false
this.close()
},
handleSubmit () {
const serialNumber = []
@@ -276,11 +276,25 @@ export default {
this.$emit('change', serialNumber.join(','))
this.$emit('nameChange', serialNameArr.join(','))
this.$emit('listChange', this.selectedRowList)
this.visible = false
this.close()
} else {
this.$message.warning(this.$t('selectLeastOne'))
}
},
close () {
this.visible = false
this.ipagination = {
current: 1,
pageSize: 10,
pageSizeOptions: ['10', '30', '50', '100', '150', '200'],
showTotal: (total, range) => {
return range[0] + '-' + range[1] + ' ' + this.$t('total') + ' ' + total + ' ' + this.$t('strip')
},
showQuickJumper: true,
showSizeChanger: true,
total: 0
}
},
handleTypeChange () {
this.$forceUpdate()
},