修改 企标制修订——产品标准 代替/被代替 企标编号 增加清空功能
This commit is contained in:
@@ -13,6 +13,7 @@
|
|||||||
placeholder="请输入代替标准号"
|
placeholder="请输入代替标准号"
|
||||||
clearable
|
clearable
|
||||||
/>
|
/>
|
||||||
|
<i class="el-icon-circle-close closeIcon" v-if="!disabled" v-show="form.DTQBBHBUSS" @click="clearInput('DTQBBHBUSS')"></i>
|
||||||
<el-button
|
<el-button
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
type="primary"
|
type="primary"
|
||||||
@@ -46,6 +47,7 @@
|
|||||||
placeholder="请输入被代替企标编号"
|
placeholder="请输入被代替企标编号"
|
||||||
clearable
|
clearable
|
||||||
/>
|
/>
|
||||||
|
<i class="el-icon-circle-close closeIcon" v-if="!disabled" v-show="form.BDTQBBHBUSS" @click="clearInput('BDTQBBHBUSS')"></i>
|
||||||
<el-button
|
<el-button
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
type="primary"
|
type="primary"
|
||||||
@@ -249,6 +251,9 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
clearInput (tag) {
|
||||||
|
this.form[tag] = ''
|
||||||
|
},
|
||||||
selectLaws (type) {
|
selectLaws (type) {
|
||||||
if (type === 'DTQBBHBUSS') {
|
if (type === 'DTQBBHBUSS') {
|
||||||
this.dialogTitle = '代替企标编号'
|
this.dialogTitle = '代替企标编号'
|
||||||
@@ -363,5 +368,10 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
.closeIcon{
|
||||||
|
position: absolute;top: 18px;right: 85px;cursor: pointer;color: darkgrey
|
||||||
|
}
|
||||||
|
.closeIcon:hover{
|
||||||
|
color: dimgrey;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user