feat(仓库管理): 在实仓列表中添加二维码列
添加二维码列以显示实仓ID对应的二维码,方便快速扫描识别
This commit is contained in:
@@ -82,6 +82,11 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="同级排序号" align="center" prop="sortNo" />
|
<el-table-column label="同级排序号" align="center" prop="sortNo" />
|
||||||
<el-table-column label="备注" align="center" prop="remark" />
|
<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">
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
@@ -139,12 +144,14 @@ import { listActualWarehouse, getActualWarehouse, delActualWarehouse, addActualW
|
|||||||
// import Treeselect from "@riophae/vue-treeselect";
|
// import Treeselect from "@riophae/vue-treeselect";
|
||||||
// import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
// import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
||||||
import ActualWarehouseSelect from "@/components/KLPService/ActualWarehouseSelect";
|
import ActualWarehouseSelect from "@/components/KLPService/ActualWarehouseSelect";
|
||||||
|
import QRCode from '../print/components/QRCode.vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "ActualWarehouse",
|
name: "ActualWarehouse",
|
||||||
components: {
|
components: {
|
||||||
// Treeselect,
|
// Treeselect,
|
||||||
ActualWarehouseSelect
|
ActualWarehouseSelect,
|
||||||
|
QRCode,
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user