xiaojiao
3 小时以前 75d16a23d059439c7478f8d3f6372c29072ba84e
ÏîÄ¿´úÂë/WIDESEA_WCSClient/src/views/basicinfo/materialInfo.vue
@@ -13,7 +13,7 @@
    const table = ref({
      key: "id",
      footer: "Foots",
      cnName: "物料绑定管理",
      cnName: "物料记录",
      name: "Dt_MaterialInfo",
      url: "/materialInfo/",
      sortName: "CreateDate",
@@ -47,34 +47,14 @@
    });
    const searchFormOptions = ref([
      [
        { title: "任务号", field: "taskNum", type: "int" },
        { title: "托盘编号", field: "palletCode", type: "text" },
        {
          title: "任务类型",
          field: "taskType",
          type: "selectList",
          dataKey: "taskType",
          data: [],
        },
        {
          title: "任务状态",
          field: "taskState",
          type: "selectList",
          dataKey: "taskState",
          data: [],
        },
        { title: "容器编号", field: "containerCode", type: "string" },
        { title: "零件号", field: "materialName", type: "string" },
          { title: "车型", field: "carmodel", type: "string" },
      ],
      [
        { title: "起始地址", field: "sourceAddress", type: "text" },
        { title: "目标地址", field: "targetAddress", type: "text" },
        { title: "当前位置", field: "currentAddress", type: "text" },
        { title: "下一位置", field: "nextAddress", type: "text" },
      ],
      [
        { title: "巷道号", field: "roadway", type: "text" },
        { title: "创建人", field: "creater", type: "text" },
        { title: "创建时间", field: "createDate", type: "datetime" },
      ],
        { title: "容器起点", field: "position", type: "string" },
        { title: "容器终点", field: "endPosition", type: "string" },
      ]
    ]);
    const columns = ref([
      {
@@ -88,7 +68,14 @@
        align: "left",
      },
      {
        field: "ContainerCode",
        field: "materialName",
        title: "零件号",
        type: "string",
        width: 150,
        align: "left",
      },
      {
        field: "containerCode",
        title: "容器编号",
        type: "string",
        width: 90,
@@ -96,37 +83,37 @@
      },
      
      {
        field: "Position",
        title: "容器当前位置",
        field: "position",
        title: "容器起点",
        type: "string",
        width: 160,
        align: "left",
      },
      {
        field: "EndPosition",
        title: "容器出场位置",
        field: "endPosition",
        title: "容器终点",
        type: "string",
        width: 90,
        align: "left",
      },
      {
        field: "IsNew",
        field: "isNew",
        title: "是否属于新增容器",
        type: "int",
        width: 120,
        align: "left",
        bind: { key: "taskType", data: [] },
        bind: { key: "isBind", data: [] },
      },
      {
        field: "IsBind",
        field: "isBind",
        title: "是否绑定",
        type: "int",
        width: 150,
        align: "left",
        bind: { key: "taskState", data: [] },
        bind: { key: "isBind", data: [] },
      },
      {
        field: "Carmodel",
        field: "carmodel",
        title: "车型",
        type: "string",
        width: 120,