运费模板页面样式微调与bug修复

master
Eratosici 5 years ago
parent 1453310a46
commit f1d071ca98

@ -2,7 +2,9 @@
<el-dialog :title="!dataForm.transportId ? '新增' : '修改'"
:close-on-click-modal="false"
:visible.sync="visible"
width="1400px">
width="1400px"
class="transport-dialog"
>
<el-form :model="dataForm"
ref="dataForm"
@keyup.enter.native="dataFormSubmit()"
@ -37,7 +39,9 @@
</el-form-item>
<el-table :data="dataForm.transfees"
border
style="width: 100%;">
style="width: 100%;"
class="table-con"
>
<el-table-column header-align="center"
align="center"
width="450"
@ -309,7 +313,9 @@ export default {
},
//
addTransfeeFree () {
this.dataForm.transfeeFrees.push({ freeCityList: [], freeType: 0 })
if (this.dataForm.hasFreeCondition) {
this.dataForm.transfeeFrees.push({ freeCityList: [], freeType: 0 })
}
},
//
deleteTransfeeFree (rowIndex) {
@ -406,3 +412,10 @@ export default {
}
}
</script>
<style scoped>
.transport-dialog .table-con .el-form-item {
margin-top: 16px;
margin-bottom: 16px!important;
}
</style>

Loading…
Cancel
Save