maxmall-portal-master/src/views/oms/return/reason.vue
(开头部分) 8KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<template>
<div class="app-container">
<div class="filter-container">
<el-card class="box-card">
<el-form :inline="true" :model="listQuery" class="demo-form-inline">
<el-form-item label="输入搜索: ">
<el-input v-model="listQuery.name" class="form-item" placeholder="退货原因" />
</el-form-item>
<el-form-item>
<el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="handleSearchList">
{{ $t('table.search') }}
</el-button>
<el-button v-waves class="filter-item" type="primary" plain icon="el-icon-edit" @click="handleAdd">
添加
</el-button>
</el-form-item>
</el-form>
</el-card>
</div>
<el-card class="box-card">
<el-table
:key="tableKey"
v-loading="listLoading"
:data="list"
stripe
style="font-size: 12px;"
fit
highlight-current-row
:default-expand-all="false"
@sort-change="sortChange">
<el-table-column label="编号" min-width="10px" align="left">
<template slot-scope="scope">
{{ scope.row.id }}
</template>
</el-table-column>
<el-table-column label="退货原因" align="left">
<template slot-scope="scope">
{{ scope.row.name }}
</template>
</el-table-column>
<el-table-column label="排序" width="120" align="center">
<template slot-scope="scope">
{{ scope.row.sort }}
</template>
</el-table-column>
<el-table-column label="状态" width="180" align="center">
<template slot-scope="scope">
<el-switch
v-model="scope.row.status"
:active-value="0"
:inactive-value="1"
active-text="启用"
inactive-text="禁用"
@change="changeStatus($event,scope.row,scope.$index)">
</el-switch>
</template>
</el-table-column>
<el-table-column label="创建时间" width="180" align="left">
<template slot-scope="scope">
后面还有 219 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
