From 583f0b0df83876e68e8729d9872f83af08b8ae27 Mon Sep 17 00:00:00 2001 From: futian.liu <liufutianyoo@163.com> Date: 星期五, 08 十二月 2023 10:35:06 +0800 Subject: [PATCH] 部门使用人重复显示修改 --- admin-web/src/views/foundation/material/index.vue | 23 +++++++++-------------- 1 files changed, 9 insertions(+), 14 deletions(-) diff --git a/admin-web/src/views/foundation/material/index.vue b/admin-web/src/views/foundation/material/index.vue index 12b56a6..b38160b 100644 --- a/admin-web/src/views/foundation/material/index.vue +++ b/admin-web/src/views/foundation/material/index.vue @@ -159,12 +159,12 @@ }, // 鍒椾俊鎭� columns: [ - {title: '鐗╁搧缂栧彿', field: 'goodsCode', align: 'center'}, - {title: '鐗╁搧鍚嶇О', field: 'goodsName', align: 'center'}, - {title: '鍒嗙被', field: 'categoryName', align: 'center'}, - {title: '绫诲埆', field: 'classification', align: 'center'}, + {title: '鐗╁搧缂栧彿', field: 'goodsCode', align: 'center', width: 120}, + {title: '鐗╁搧鍚嶇О', field: 'goodsName', align: 'left', minWidth: 140}, + {title: '鍒嗙被', field: 'categoryName', align: 'left', minWidth: 140}, + {title: '绫诲埆', field: 'classification', align: 'center', width: 80}, // {title: '閲囪喘绫诲瀷', field: 'categoryId', align: 'center'}, - {title: '鎵�灞炴満鏋�', field: '', align: 'center'}, + {title: '鎵�灞炴満鏋�', field: 'agencyName', align: 'left', minWidth: 140}, { title: '鍒涘缓鏃堕棿', field: 'createDate', @@ -205,7 +205,7 @@ // 鎿嶄綔淇℃伅 operation: { show: true, // 鏄剧ず鎿嶄綔鍒� - width: '250', // 鍒楀 + width: 160, // 鍒楀 attr: [ { title: '缂栬緫', @@ -290,19 +290,14 @@ // this.$message.warning('璇峰厛閫夋嫨宸︿晶鏈烘瀯') // } else { this.editSetting.id = null; - this.editSetting.info = null; this.editSetting.title = '鏂板'; this.editSetting.show = true; // } }, showAudit(row) { - finsystenant.editmaterial(row.id).then(res => { - // console.log(res,'res'); - this.editSetting.id = res.id; - this.editSetting.info = JSON.stringify(res); - this.editSetting.title = '缂栬緫'; - this.editSetting.show = true; - }) + this.editSetting.id = row.id; + this.editSetting.title = '缂栬緫'; + this.editSetting.show = true; }, // 鏌ヨtable鍒楄〃 search(pageNum) { -- Gitblit v1.9.1