| | |
| | | <template xmlns=""> |
| | | <template> |
| | | <div> |
| | | <el-row :gutter="20"> |
| | | <el-row :gutter="5"> |
| | | <el-col :span="5"> |
| | | <div class="fa-card-a"> |
| | | <div class="fa-card-a" style="margin-right: 5px;height: calc(100vh - 123px)"> |
| | | <product-model-tree @on-selected="onProductSelected"/> |
| | | </div> |
| | | </el-col> |
| | | <el-col :span="19"> |
| | | <div class="mod-basicInfo-xhProductModel}"> |
| | | <div class="mod-basicInfo-xhProductModel fa-card-a" style="margin-left: 5px;"> |
| | | <zt-table-wraper ref="tableObj" defaultNotQuery="true" query-url="/basicInfo/XhProductModel/page" |
| | | delete-url="/basicInfo/XhProductModel/ " |
| | | :paging='false' |
| | |
| | | <zt-button type="delete" @click="table.deleteHandle()"/> |
| | | </el-form-item> |
| | | </el-form> |
| | | <el-table v-loading="table.dataLoading" :data="table.dataList" height="100px" v-adaptive="{bottomOffset:70}" |
| | | border row-key="id" |
| | | <el-table v-loading="table.dataLoading" :data="table.dataList" height="100px" v-adaptive="{bottomOffset:30}" |
| | | row-key="id" |
| | | @selection-change="table.selectionChangeHandle" |
| | | > |
| | | <el-table-column prop="name" label="名称"/> |
| | |
| | | <el-image v-if="row.operatImg" :src="url+row.operatImg" style="height: 50px;width: 50px"></el-image> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="sort" label="排序"/> |
| | | <zt-table-column-handle :table="table"/> |
| | | <el-table-column prop="sort" label="排序" width="100px"/> |
| | | <zt-table-column-handle :table="table" width="150px"/> |
| | | </el-table> |
| | | <!-- 弹窗, 新增 / 修改 --> |
| | | <add-or-update @refreshDataList="table.query" ref="AddOrUpdate"/> |