文档工具-认证清单维护-添加-法规编号
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user