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