formConfig.js 1.56 KB
export const formConfig = [
  {
    label: "航班号",
    type: "Input",
    name: "purposeOfFlightNo",
    prop: "purposeOfFlightNo",
    placeholder: "请输入航班号",
    span: 5,
    trigger: "blur",
    labelWidth: "55px",
  },
  {
    label: "航班日期",
    type: "Date",
    name: "flightDate",
    prop: "flightDate",
    placeholder: "请选择航班日期",
    format: "yyyy-MM-dd",
    colWidth: "23%",
    inputWidth: "100%",
  },
  {
    label: "航线",
    type: "Input",
    name: "flightRouteListStr",
    prop: "flightRouteListStr",
    placeholder: "",
    span: 5,
    labelWidth: "40px",
    trigger: "blur", // 事件名
  },
  {
    label: "航线优先级",
    type: "slot",
    name: "flightRoute",
    prop: "flightRoute",
    placeholder: "",
    colWidth: "23%",
    labelWidth: "85px",
    trigger: "blur", // 事件名
  },
];
// 航线规则表单
export const routeRuleForm = {
  config: true,
  remark: true,
  flightRoute: "", // 飞行航线
  location: null, // 包含始发站
  notLocation: null, // 不包含始发站
  destinationSite: null, // 包含目的站
  notDestinationSite: null, // 不包含目的站
  includeUrsa: "", // URSA包含
  notIncludeUrsa: "", // URSA不包含
  minNumOfPieces: "", // 最小件数
  maxNumOfPieces: "", // 最大件数
  minWeight: "", // 最小重量
  maxWeight: "", // 最大重量
  typeOfGoods: [], // 申报类别
  cargoType: [], // 货物类型
  puporpuxCode: [], // 取件扫描号
  serviceCode: [], // Service Code
  handlingCode: [], // Handling Code
  subCategory: [], // Sub Category
};