king
2022-10-09 2f54651464414059b224181d713af2980e76d095
src/menu/components/card/data-card/options.jsx
@@ -9,12 +9,17 @@
  let MenuType = ''
  let menu = fromJS(window.GLOB.customMenu).toJS()
  let laypage = setting && setting.laypage !== 'false'
  let interfaces = (menu.interfaces || []).map(item => {
    return {
      value: item.uuid,
      label: item.name
    }
  })
  let interfaces = []
  if (subtype === 'propcard' && menu.interfaces) {
    menu.interfaces.forEach(item => {
      if (item.status === 'true') {
        interfaces.push({
          value: item.uuid,
          label: item.name
        })
      }
    })
  }
  if (menu.parentId === 'BillPrintTemp') {
    MenuType = 'billPrint'