fields.js 603 Bytes
Newer Older
wuhao's avatar
wuhao committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
import { bmNoType } from "@/services/platform";

export default {
  noTypeId: {
    value: null,
    type: "select",
    title: "单号类型",
    name: ["noTypeId"],
    required: true,
    options: {
      database: bmNoType,
      params: {},
    },
    col: { span: 12 },
  },
  noSunName: {
    value: null,
    type: "input",
    title: "编号子类",
    name: ["noSunName"],
    required: true,
    col: { span: 12 },
  },
  nrList: {
    value: { value: [], other: {} },
    type: "diyrule",
    title: "规则配置",
    name: ["nrList"],
    col: { span: 24 },
    required: true,
  },
};