From fbe9459ed908eef6c25c3bcd244d0a7e74dfa792 Mon Sep 17 00:00:00 2001 From: songshankun <songshankun@foxmail.com> Date: 星期四, 19 十月 2023 13:45:08 +0800 Subject: [PATCH] feat: 产品列表添加查看编辑按钮;弹窗根据情况展示对应标题 --- src/views/warehouseManage/warehouse/index.vue | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/views/warehouseManage/warehouse/index.vue b/src/views/warehouseManage/warehouse/index.vue index 832163d..ced4d42 100644 --- a/src/views/warehouseManage/warehouse/index.vue +++ b/src/views/warehouseManage/warehouse/index.vue @@ -57,7 +57,8 @@ setTable() { this.tableList = { tableInfomation: [], - selectBox: true, + selectBox: false, + selectIndex: true, showcol: this.showcol, allcol: [], tableColumn: this.setTableColumn(this.showcol) @@ -82,7 +83,7 @@ }, { label: "搴撳瓨浣嶇疆", - prop: "deviceName", + prop: "warehouseLocation", isShowColumn: true, default: true }, @@ -125,21 +126,21 @@ }, // 琛岀偣鍑� tableRowClick(row) { - this.editConfig.visible = true this.editConfig.title = "缂栬緫" this.editConfig.infomation = { ...row } + this.editConfig.visible = true }, // 鏂板缓 addBtnClick() { - this.editConfig.visible = true this.editConfig.infomation={ address:'', - buyToResupply:'', + buyToResupply:null, code:'', name:'', inboundTransportation:1, outboundTransportation:1, } + this.editConfig.visible = true this.editConfig.title = "鏂板缓" } } -- Gitblit v1.8.0