格式化代码

This commit is contained in:
刘名喜 2024-12-16 15:01:51 +08:00
parent ae39ff817a
commit 0c8aca192b

View File

@ -78,7 +78,8 @@
size="mini"
@click="handleAdd"
v-hasPermi="['mes:wm:area:add']"
>新增</el-button>
>新增
</el-button>
</el-col>
<el-col :span="1.5">
<el-button
@ -89,7 +90,8 @@
:disabled="single"
@click="handleUpdate"
v-hasPermi="['mes:wm:area:edit']"
>修改</el-button>
>修改
</el-button>
</el-col>
<el-col :span="1.5">
<el-button
@ -100,7 +102,8 @@
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['mes:wm:area:remove']"
>删除</el-button>
>删除
</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
@ -113,7 +116,8 @@
type="text"
@click="handleView(scope.row)"
v-hasPermi="['mes:wm:area:query']"
>{{scope.row.areaCode}}</el-button>
>{{ scope.row.areaCode }}
</el-button>
</template>
</el-table-column>
<el-table-column label="库位名称" align="center" prop="areaName"/>
@ -131,14 +135,16 @@
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['mes:wm:area:edit']"
>修改</el-button>
>修改
</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['mes:wm:area:remove']"
>删除</el-button>
>删除
</el-button>
</template>
</el-table-column>
</el-table>
@ -463,7 +469,8 @@ export default {
}).then(() => {
this.getList();
this.$modal.msgSuccess("删除成功");
}).catch(() => {});
}).catch(() => {
});
},
/** 导出按钮操作 */
handleExport() {