From 933c3137276a8d242e5c52701b758db1752226ae Mon Sep 17 00:00:00 2001 From: zhaoxuebing <1291173720@qq.com> Date: Mon, 8 Apr 2024 11:06:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wms/supplierManage/supplierinvoiceInvoiced/index.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/wms/supplierManage/supplierinvoiceInvoiced/index.vue b/src/views/wms/supplierManage/supplierinvoiceInvoiced/index.vue index 8e99a46a1..adfe8d487 100644 --- a/src/views/wms/supplierManage/supplierinvoiceInvoiced/index.vue +++ b/src/views/wms/supplierManage/supplierinvoiceInvoiced/index.vue @@ -99,7 +99,9 @@ const { getList, setSearchParams } = tableMethods // 根据状态返回该按钮是否显示 const isShowMainButton = (row, val) => { + console.log("1111111",row.status) if (val.indexOf(row.status) > -1) { + console.log("1111111") return false } else { return true @@ -143,14 +145,14 @@ const buttonBaseClick = (val, item) => { // 列表-操作按钮 const butttondata = (row) =>{ return [ - // defaultButtons.mainListEditBtn({hasPermi:'wms:supplierinvoice-invoiced:update'}), // 编辑 + defaultButtons.mainListEditBtn({hasPermi:'wms:supplierinvoice-invoiced:update'}), // 编辑 // defaultButtons.mainListDeleteBtn({hasPermi:'wms:supplierinvoice-invoiced:delete'}), // 删除 // defaultButtons.mainListEditBtn({hasPermi:'wms:supplierinvoice-invoiced:update'}), { label: '审核通过', name: 'agree', hide: isShowMainButton(row, ['1']), - type: 'danger', + type: 'primary', color: '', link: true, // 文本展现按钮 hasPermi: ''