文档工具-认证清单维护-添加-法规编号

This commit is contained in:
刘彦泽
2023-03-15 11:17:28 +08:00
parent c36ee521e7
commit 519c08e68f
2 changed files with 122 additions and 98 deletions
@@ -1,9 +1,9 @@
<template>
<div>
<a-input allowClear
@click="add"
:placeholder="$t('PleaseSelect')+$t('regulationNo')"
v-model="regulation"></a-input>
<!-- <a-input allowClear-->
<!-- @click="add"-->
<!-- :placeholder="$t('PleaseSelect')+$t('regulationNo')"-->
<!-- v-model="regulation"></a-input>-->
<a-drawer
:title="$t('regulationNo')"
:width="1000"
@@ -204,6 +204,9 @@ export default {
this.replacePage()
this.queryConditionInventory()
},
// number() {
// this.regulation = ''
// },
searchQuery() {
this.pageNo = 1
this.replacePage()
@@ -284,12 +287,11 @@ export default {
this.confirmLoading = true
let selectedRowKeys = JSON.parse(JSON.stringify(this.selectedRowKeys))
if (this.selectedRowKeys.length < 2){
let fgid = ''
this.fgid = this.selectedRowList[0].id
this.regulation = this.selectedRowList[0].serial_number
let fgid = this.selectedRowList[0].id
let regulationIndex = this.selectedRowList[0].serial_number
this.confirmLoading = false
this.visible = false
this.$emit('regulation',this.regulation,this.fgid)
this.$emit('regulation',regulationIndex,fgid)
} else {
this.$message.warning(this.$t('OnlyOneSelected'))
this.confirmLoading = false