zhangchengsong
2 天以前 f59f3b24814387573b5bca9a9b6c832a3720ee7e
ÏîÄ¿´úÂë/WIDESEAWCS_Client/src/views/taskinfo/task_hty.vue
@@ -21,13 +21,15 @@
    const table = ref({
      key: "taskId",
      footer: "Foots",
      cnName: "任务信息",
      cnName: "任务历史信息",
      name: "task_hty",
      url: "/Task_hty/",
      url: "/task_hty/",
      sortName: "CreateDate",
    });
    const editFormFields = ref({});
    const editFormOptions = ref([]);
    const editFormFields = ref({
    });
    const editFormOptions = ref([
    ]);
    const searchFormFields = ref({
      taskNum: "",
      palletCode: "",
@@ -47,15 +49,37 @@
          title: "任务类型",
          field: "taskType",
          type: "selectList",
          dataKey: "taskType",
          data: [],
          dataKey: "",
          data:[
            { value: "出库", key: 100 },
            { value: "入库", key: 200 },
            { value: "盘点", key: 300 },
          ]
        },
        {
          title: "任务状态",
          field: "taskState",
          type: "selectList",
          dataKey: "taskState",
          data: [],
          dataKey: "",
          data: [
            { value: "新建出库任务", key: 100 },
            { value: "堆垛机出库执行中", key: 110 },
            { value: "出库任务完成", key: 190 },
            { value: "出库任务挂起", key: 198 },
            { value: "出库任务取消", key: 199 },
            { value: "新建入库任务", key: 200 },
            { value: "堆垛机入库执行中", key: 210 },
            { value: "入库任务完成", key: 290 },
            { value: "入库任务挂起", key: 298 },
            { value: "入库任务取消", key: 299 },
            { value: "新建盘点任务", key: 300 },
            { value: "堆垛机盘点执行中", key: 310 },
            { value: "盘点任务完成", key: 390 },
            { value: "盘点任务挂起", key: 398 },
            { value: "盘点任务取消", key: 399 }
          ],
        },
      ],
      [
@@ -66,8 +90,9 @@
      ],
      [
        { title: "巷道号", field: "roadway", type: "like" },
        { title: "创建人", field: "creater", type: "like" },
        { title: "创建人", field: "creater", type: "select",dataKey: "",data:[{value:"WCS",key:"WCS"},{value:"WMS",key:"WMS"}]  },
        { title: "创建时间", field: "createDate", type: "datetime" },
        {title: "备注",field: "remark",type:"select",dataKey: "",data: [{value:"人工手动删除",key:"人工手动删除"},{value:"人工手动取消",key:"人工手动取消"},{value:"人工手动完成",key:"人工手动完成"}]}
      ],
    ]);
    const columns = ref([
@@ -75,20 +100,25 @@
        field: "taskId",
        title: "TaskId",
        type: "int",
        width: 90,
        width: 80,
        hidden: true,
        readonly: true,
        require: true,
        align: "left",
        sort:true,
      },
      {
        field: "taskNum",
        title: "任务号",
        title: "WCS任务号",
        type: "int",
        width: 90,
        width: 100,
        align: "left",
        sort:true,
      },
      {
        field: "wmStaskid",
        title: "WMS任务号",
        type: "string",
        width: 180,
        align: "left",
      },
      {
        field: "palletCode",
@@ -96,7 +126,6 @@
        type: "string",
        width: 200,
        align: "left",
        sort:true,
      },
      {
        field: "roadway",
@@ -104,7 +133,6 @@
        type: "string",
        width: 90,
        align: "left",
        sort:true,
      },
      {
        field: "taskType",
@@ -112,8 +140,14 @@
        type: "int",
        width: 90,
        align: "left",
        bind: { key: "taskType", data: [] },
        sort:true,
        bind: {
          key: "",
          data:[
            { value: "出库", key: 100 },
            { value: "入库", key: 200 },
            { value: "盘点", key: 300 },
          ]
        }
      },
      {
        field: "taskState",
@@ -121,8 +155,27 @@
        type: "int",
        width: 150,
        align: "left",
        bind: { key: "taskState", data: [] },
        sort:true,
        bind: {
          key: "",
          data: [
            { value: "新建出库任务", key: 100 },
            { value: "堆垛机出库执行中", key: 110 },
            { value: "出库任务完成", key: 190 },
            { value: "出库任务挂起", key: 198 },
            { value: "出库任务取消", key: 199 },
            { value: "新建入库任务", key: 200 },
            { value: "堆垛机入库执行中", key: 210 },
            { value: "入库任务完成", key: 290 },
            { value: "入库任务挂起", key: 298 },
            { value: "入库任务取消", key: 299 },
            { value: "新建盘点任务", key: 300 },
            { value: "堆垛机盘点执行中", key: 310 },
            { value: "盘点任务完成", key: 390 },
            { value: "盘点任务挂起", key: 398 },
            { value: "盘点任务取消", key: 399 }
          ]},
      },
      {
        field: "sourceAddress",
@@ -158,15 +211,14 @@
        type: "string",
        width: 90,
        align: "left",
        hidden: true,
      },
      {
        field: "grade",
        title: "优先级",
        type: "int",
        width: 80,
        align: "left",
      },
      // {
      //   field: "grade",
      //   title: "优先级",
      //   type: "int",
      //   width: 80,
      //   align: "left",
      // },
      {
        field: "dispatchertime",
        title: "任务下发时间",
@@ -181,6 +233,20 @@
        width: 120,
        align: "left",
        hidden: true,
      },{
        field: "deviceuuid",
        title: "设备UID",
        type: "string",
        width: 150,
        align: "left",
      },
      {
        field: "remark",
        title: "备注",
        type: "string",
        width: 130,
        align: "left",
        bind: {key:"",data:[{value:"人工手动删除",key:"人工手动删除"},{value:"人工手动取消",key:"人工手动取消"},{value:"人工手动完成",key:"人工手动完成"}] }
      },
      {
        field: "creater",
@@ -188,6 +254,7 @@
        type: "string",
        width: 90,
        align: "left",
        bind: { key: "", data: [{value:"WCS",key:"WCS"},{value:"WMS",key:"WMS"}] },
      },
      {
        field: "createDate",
@@ -195,7 +262,6 @@
        type: "datetime",
        width: 150,
        align: "left",
        sort:true,
      },
      {
        field: "modifier",
@@ -210,16 +276,8 @@
        type: "datetime",
        width: 160,
        align: "left",
        sort:true,
      },
      {
        field: "remark",
        title: "备注",
        type: "string",
        width: 100,
        align: "left",
        hidden: true,
      },
    ]);
    const detail = ref({
      cnName: "",