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) => { const isShowMainButton = (row, val) => {
console.log("1111111",row.status)
if (val.indexOf(row.status) > -1) { if (val.indexOf(row.status) > -1) {
console.log("1111111")
return false return false
} else { } else {
return true return true
@ -143,14 +145,14 @@ const buttonBaseClick = (val, item) => {
// - // -
const butttondata = (row) =>{ const butttondata = (row) =>{
return [ return [
// defaultButtons.mainListEditBtn({hasPermi:'wms:supplierinvoice-invoiced:update'}), // defaultButtons.mainListEditBtn({hasPermi:'wms:supplierinvoice-invoiced:update'}), //
// defaultButtons.mainListDeleteBtn({hasPermi:'wms:supplierinvoice-invoiced:delete'}), // // defaultButtons.mainListDeleteBtn({hasPermi:'wms:supplierinvoice-invoiced:delete'}), //
// defaultButtons.mainListEditBtn({hasPermi:'wms:supplierinvoice-invoiced:update'}), // defaultButtons.mainListEditBtn({hasPermi:'wms:supplierinvoice-invoiced:update'}),
{ {
label: '审核通过', label: '审核通过',
name: 'agree', name: 'agree',
hide: isShowMainButton(row, ['1']), hide: isShowMainButton(row, ['1']),
type: 'danger', type: 'primary',
color: '', color: '',
link: true, // link: true, //
hasPermi: '' hasPermi: ''

Loading…
Cancel
Save