Cloud Zhang
2024-05-22 988733c9eef179ea4081c092bcd425d300b096a5
src/views/tigerprojects/mes/smt/smttable/smttbale.data.ts
@@ -32,10 +32,24 @@
  },
  {
    field: 'PCB_SURFACE',
    component: 'Switch',
    component: 'Select',
    label: '正反面',
    colProps: {
      span: 8,
    },
    componentProps: {
      options: [
        {
          label: 'A面',
          value: 'A面',
          key: 'A面',
        },
        {
          label: 'B面',
          value: 'B面',
          key: 'B面',
        },
      ],
    },
  },
];
@@ -140,7 +154,7 @@
    label: '关联工单号',
    required: true,
    component: 'Input',
    colProps: { span: 8 },
    colProps: { span:12 },
  },
  {
    field: 'ID',
@@ -152,90 +166,90 @@
    field: 'PROD_CODE',
    label: '产品编码',
    component: 'Input',
    colProps: { span: 8 },
    colProps: { span: 12 },
  },
  {
    field: 'ITEM_CODE',
    label: '物料编码',
    required: true,
    component: 'Input',
    colProps: { span: 8 },
    colProps: { span: 12 },
  },
  {
    field: 'SUBITEM_CODE',
    label: '替代料',
    component: 'Input',
    colProps: { span: 8 },
    colProps: { span: 12 },
  },
  {
    field: 'UNIT',
    label: '单位',
    //required: true,
    component: 'Input',
    colProps: { span: 8 },
    colProps: { span: 12 },
  },
  {
    field: 'UNIT_QTY',
    label: '单位用量',
    required: true,
    component: 'Input',
    colProps: { span: 8 },
    colProps: { span: 12 },
  },
  {
    field: 'LINE_CODE',
    label: '产线编码',
    //required: true,
    component: 'Input',
    colProps: { span: 8 },
    colProps: { span: 12 },
  },
  {
    field: 'SMT_CODE',
    label: '贴片机编码',
    //required: true,
    component: 'Input',
    colProps: { span: 8 },
    colProps: { span: 12 },
  },
  {
    field: 'SMT_STENCIL',
    label: '钢网编码',
    //required: true,
    component: 'Input',
    colProps: { span: 8 },
    colProps: { span: 12 },
  },
  {
    field: 'SLOT_NO',
    label: '站位号',
    required: true,
    component: 'Input',
    colProps: { span: 8 },
    colProps: { span: 12 },
  },
  {
    field: 'LOCATION',
    label: '贴片位置',
    required: true,
    component: 'Input',
    colProps: { span: 8 },
    colProps: { span: 12 },
  },
  {
    field: 'FEEDER_CODE',
    label: '飞达编码',
    required: true,
    component: 'Input',
    colProps: { span: 8 },
    colProps: { span: 12 },
  },
  {
    field: 'FEEDER_TYPE',
    label: '飞达类型',
    required: true,
    component: 'Input',
    colProps: { span: 8 },
    colProps: { span: 12 },
  },
  {
    field: 'PCB_SURFACE',
    label: '加工面',
    required: true,
    component: 'Select',
    colProps: { span: 8 },
    colProps: { span: 12 },
    componentProps: {
      options: [
        {
@@ -256,12 +270,12 @@
    label: '上料顺序',
    required: true,
    component: 'Input',
    colProps: { span: 8 },
    colProps: { span: 12 },
  },
  {
    field: 'REMARK',
    label: '备注',
    component: 'Input',
    colProps: { span: 8 },
    colProps: { span: 12 },
  },
];