data.ts 609 Bytes
import { useOrderInfo } from '/@/hooks/component/order';
import { useOrderStoreWithOut } from '/@/store/modules/order';

export function getFormConfig() {
  const orderStore = useOrderStoreWithOut();

  const { innerNo } = useOrderInfo(orderStore);

  return {
    labelWidth: 100,
    schemas: [
      {
        field: `innerNo`,
        label: `内部编号`,
        component: 'Select',
        colProps: {
          span: 8,
        },
        labelWidth: 70,
        componentProps: {
          options: innerNo,
          showSearch: true,
          mode: 'multiple',
        },
      },
    ],
  };
}