Skip to content

Commit

Permalink
运费模板页面样式微调与bug修复
Browse files Browse the repository at this point in the history
  • Loading branch information
Eratosici authored and Eratosici committed Sep 14, 2021
1 parent 8a02cbb commit ced81aa
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions mall4v/src/views/modules/shop/transport-add-or-update.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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()"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -406,3 +412,10 @@ export default {
}
}
</script>

<style scoped>
.transport-dialog .table-con .el-form-item {
margin-top: 16px;
margin-bottom: 16px!important;
}
</style>

0 comments on commit ced81aa

Please sign in to comment.