Browse Source

修改

master_hella_20240701
zhaoxuebing 7 months ago
parent
commit
933c313727
  1. 6
      src/views/wms/supplierManage/supplierinvoiceInvoiced/index.vue

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

Loading…
Cancel
Save