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: ''