feat(仓库管理): 在实仓列表中添加二维码列

添加二维码列以显示实仓ID对应的二维码,方便快速扫描识别
This commit is contained in:
砂糖
2025-11-24 16:25:56 +08:00
parent 473067220a
commit 0beb9e22f8

View File

@@ -82,6 +82,11 @@
</el-table-column>
<el-table-column label="同级排序号" align="center" prop="sortNo" />
<el-table-column label="备注" align="center" prop="remark" />
<el-table-column label="二维码" align="center" prop="qrCode">
<template slot-scope="scope">
<QRCode :content="scope.row.actualWarehouseId" :size="60" />
</template>
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button
@@ -139,12 +144,14 @@ import { listActualWarehouse, getActualWarehouse, delActualWarehouse, addActualW
// import Treeselect from "@riophae/vue-treeselect";
// import "@riophae/vue-treeselect/dist/vue-treeselect.css";
import ActualWarehouseSelect from "@/components/KLPService/ActualWarehouseSelect";
import QRCode from '../print/components/QRCode.vue'
export default {
name: "ActualWarehouse",
components: {
// Treeselect,
ActualWarehouseSelect
ActualWarehouseSelect,
QRCode,
},
data() {
return {