huangxiaoqiang
2026-03-10 d20a0bf191b78b59d18af198b7816a273e1cc283
ÏîÄ¿´úÂë/WCS/WCSClient/src/views/taskinfo/task.vue
@@ -1,19 +1,11 @@
<template>
  <view-grid
    ref="grid"
    :columns="columns"
    :detail="detail"
    :editFormFields="editFormFields"
    :editFormOptions="editFormOptions"
    :searchFormFields="searchFormFields"
    :searchFormOptions="searchFormOptions"
    :table="table"
    :extend="extend"
  >
  <view-grid ref="grid" :columns="columns" :detail="detail" :editFormFields="editFormFields"
    :editFormOptions="editFormOptions" :searchFormFields="searchFormFields" :searchFormOptions="searchFormOptions"
    :table="table" :extend="extend">
  </view-grid>
</template>
  <script>
<script>
import extend from "@/extension/taskinfo/task.js";
import { ref, defineComponent } from "vue";
export default defineComponent({
@@ -24,15 +16,15 @@
      cnName: "任务信息",
      name: "task",
      url: "/Task/",
      sortName: "CreateDate",
      sortName: "createDate",
    });
    const editFormFields = ref({
      taskNum:"",
      taskNum: "",
      palletCode: "",
      roadway: "",
      taskType:"",
      taskState:"",
      wMSId:"",
      taskType: "",
      taskState: "",
      wMSId: "",
      sourceAddress: "",
      targetAddress: "",
      currentAddress: "",
@@ -40,7 +32,7 @@
      creater: "",
      createDate: "",
      grade: "",
      productionLine:""
      productionLine: ""
    });
    const editFormOptions = ref([[{ title: "优先级", field: "grade", type: "int" },]]);
    const searchFormFields = ref({
@@ -106,9 +98,9 @@
      },
      {
        field: "palletCode",
        title: "托盘编号",
        title: "滑橇号",
        type: "string",
        width: 160,
        width: 100,
        align: "left",
      },
      {
@@ -162,27 +154,27 @@
        width: 110,
        align: "left",
      },
      {
        field: "productionLine",
        title: "产线",
        type: "string",
        width: 70,
        align: "left",
        bind: { key: "ProductionLine", data: [] }
      },
      // {
      //   field: "productionLine",
      //   title: "产线",
      //   type: "string",
      //   width: 70,
      //   align: "left",
      //   bind: { key: "ProductionLine", data: [] }
      // },
      {
        field: "exceptionMessage",
        title: "异常信息",
        type: "string",
        width: 90,
        width: 150,
        align: "left",
      },
      {
        field: "grade",
        title: "优先级",
        type: "int",
        width: 60,
        width: 90,
        align: "left",
      },
      {
@@ -200,7 +192,7 @@
        align: "left",
        hidden: true,
      },
      {
        field: "createDate",
        title: "创建时间",
@@ -208,7 +200,7 @@
        width: 150,
        align: "left",
      },
      {
        field: "modifyDate",
        title: "修改时间",