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

master
Eratosici 5 years ago
parent 1453310a46
commit f1d071ca98

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

Loading…
Cancel
Save