duyongjia
2025-02-28 cb385f0b515c738b503c5c75c9d7efcec323716d
´úÂë¹ÜÀí/WCS/WIDESEAWCS_Client/src/views/basic/locationInfo.vue
@@ -27,9 +27,12 @@
      sortName: "id",
    });
    const editFormFields = ref({
      locationCode:"",
      locationName:"",
      row: "",
      column: "",
      layer: "",
      roadwayNo:"",
      depth: "",
      locationType: "",
      locationStatus: "",
@@ -39,6 +42,40 @@
    const editFormOptions = ref([
      [
        {
          title: "货位编号",
          required: true,
          field: "locationCode",
          type: "string",
        },
        {
          title: "货位名称",
          required: true,
          field: "locationName",
          type: "string",
        },
         {
          title: "巷道编号",
          required: true,
          field: "roadwayNo",
          type: "string",
        },
        {
          title: "货位深度",
          field: "depth",
          type: "string",
          hidden: true,
        },
         {
          title: "备注",
          field: "remark",
          type: "string",
          hidden: true,
        },
      ],
        [
         {
          title: "货位行",
          required: true,
          field: "row",
@@ -56,12 +93,6 @@
          field: "layer",
          type: "string",
        },
        // {
        //   title: "货位深度",
        //   required: true,
        //   field: "depth",
        //   type: "string",
        // },
      ],
      [
        {
@@ -69,39 +100,25 @@
          required: true,
          field: "locationType",
          type: "select",
          dataKey:"",
          data:[
            {key:1,value:'正常货位'},
            {key:2,value:'暂存位'},
            {key:3,value:'提升机'},
            {key:4,value:'输送线'},
            {key:5,value:'组立机'},
          ]
          dataKey: "locationTypeEnum",
          data: [],
        },
         {
        {
          title: "禁用状态",
          required: true,
          field: "enableStatus",
          type: "select",
          dataKey:"",
          data:[
            {key:0,value:'正常'},
            {key:1,value:'禁用'},
          ]
          dataKey: "enableStatusEnum",
          data: [],
        },
        {
          title: "区域主键",
          required: true,
          //required: true,
          field: "areaId",
          type: "string",
          hidden:true,
          hidden: true,
        },
        // {
        //   title: "巷道编号",
        //   required: true,
        //   field: "roadwayNo",
        //   type: "string",
        // },
      ],
    ]);
    const searchFormFields = ref({
@@ -118,7 +135,7 @@
          dataKey: "locationTypeEnum",
          data: [],
        },
         {
        {
          title: "货位状态",
          field: "locationStatus",
          type: "selectList",
@@ -143,12 +160,12 @@
        title: "区域主键",
        type: "string",
        width: 90,
        hidden:true,
        hidden: true,
        align: "left",
        bind: {
          key: "areainfo",
          data: []
        }
          data: [],
        },
      },
      {
        field: "locationCode",
@@ -209,7 +226,7 @@
        type: "string",
        width: 120,
        align: "left",
        bind:{key: "locationTypeEnum", data: []}
        bind: { key: "locationTypeEnum", data: [] },
      },
      {
        field: "locationStatus",