src/menu/actioncomponent/formconfig.jsx
@@ -150,8 +150,8 @@ initVal: card.pageTemplate || '', required: true, options: [{ value: 'print', text: Formdict['header.menu.printTemplate'] value: 'billprint', text: '单据打印' }, { value: 'pay', text: Formdict['model.pay'] @@ -292,6 +292,18 @@ }] }, { type: 'number', key: 'width', min: 1, max: 24, precision: 0, label: '宽度', initVal: card.width || 12, tooltip: '栅格布局,每行等分为24列。', forbid: type !== 'card', required: true }, { type: 'select', key: 'show', label: "显示为", @@ -391,8 +403,5 @@ // } ] // if (type === 'chart') { // return forms // } return forms }