king
2023-08-09 6399764961d7aca4f3452b25de46188eee1f077e
src/menu/components/card/data-card/options.jsx
@@ -62,6 +62,10 @@
    }
  }
  if (wrap.datatype === 'public' && MenuType === 'billPrint') {
    wrap.datatype = 'static'
  }
  const cardWrapForm = [
    {
      type: 'text',
@@ -99,7 +103,7 @@
      options: [
        {value: 'dynamic', label: '动态', priKeyType: 'static'},
        {value: 'static', label: '静态', priKeyType: 'static'},
        {value: 'public', label: '公共数据源', priKeyType: 'static'},
        {value: 'public', label: '公共数据源', priKeyType: 'static', disabled: MenuType === 'billPrint'},
      ],
      linkFields: ['priKeyType'],
      controlFields: [
@@ -279,18 +283,6 @@
      ],
      forbid: subtype === 'tablecard'
    },
    // {
    //   type: 'radio',
    //   field: 'checkAll',
    //   label: '全选',
    //   initval: wrap.checkAll || 'hidden',
    //   required: false,
    //   options: [
    //     {value: 'hidden', label: '隐藏'},
    //     {value: 'show', label: '显示'},
    //   ],
    //   forbid: subtype !== 'datacard' || appType !== 'mob'
    // },
    {
      type: 'radio',
      field: 'cardFloat',
@@ -336,10 +328,10 @@
      field: 'printType',
      label: '组件类型',
      initval: wrap.printType || 'content',
      tooltip: '选择类型为《页眉/页脚》时,打印的每页里都会带有该组件。',
      tooltip: '选择类型为《页眉/页脚》时,打印的每页里都会带有该组件。注:页眉页脚中文本元素将替换 @pageIndex@(页码)、@total@(总数)、@date@(当前日期)、@datetime@(当前时间),使用分页参数时注意打印模板的页面布局使用分页。',
      required: false,
      options: [
        {value: 'content', label: '内容'},
        {value: 'content', label: '属性卡'},
        {value: 'headerOrfooter', label: '页眉/页脚'},
      ],
      controlFields: [