leiqunqing
2026-02-06 15b3879cd259108e7ebb755fe02c190f28f1e20c
´úÂë¹ÜÀí/WIDESEAWCS_Client/src/views/basicinfo/scanStation.vue
@@ -32,11 +32,15 @@
      sortName: "createDate",
    });
    // ã€ä¿®æ”¹1】新增组装人员、首件/末件流水号字段,移除不存在的isScanned
    const editFormFields = ref({
      id: "",
      stationCode: "",
      stationName: "",
      stationEndProduct: "",
      assembleUser: "", // ç»„装人员
      firstProductSn: "", // é¦–件流水号
      lastProductSn: "", // æœ«ä»¶æµæ°´å·
    });
    const editFormOptions = ref([
@@ -68,6 +72,36 @@
          require: false,
        },
      ],
      // ã€ä¿®æ”¹2】移除isScanned下拉框,新增组装人员输入框
      [
        {
          title: "组装人员",
          field: "assembleUser",
          type: "input",
          width: 200,
          require: false, // åŽç«¯å…è®¸ä¸ºç©ºï¼Œæ•…设为非必填
        },
      ],
      // ã€æ–°å¢žã€‘首件流水号输入框
      [
        {
          title: "首件流水号",
          field: "firstProductSn",
          type: "input",
          width: 300, // æµæ°´å·è¾ƒé•¿ï¼ŒåŠ å®½è¾“å…¥æ¡†
          require: false,
        },
      ],
      // ã€æ–°å¢žã€‘末件流水号输入框
      [
        {
          title: "末件流水号",
          field: "lastProductSn",
          type: "input",
          width: 300,
          require: false,
        },
      ],
      [
        {
          title: "主键ID",
@@ -80,10 +114,12 @@
      ],
    ]);
    // ã€ä¿®æ”¹3】搜索表单移除isScanned,新增组装人员(流水号一般不做搜索,故不新增)
    const searchFormFields = ref({
      stationCode: "",
      stationName: "",
      stationEndProduct: "",
      assembleUser: "", // æ–°å¢žç»„装人员搜索
      creater: "",
      createDate: "",
    });
@@ -98,8 +134,10 @@
          type: "select-search",
          data: stationEndProductList, // ç»‘定全局接口数据
        },
        { title: "组装人员", field: "assembleUser", type: "like" }, // æ–°å¢žç»„装人员模糊搜索
      ],
      [
        // ã€ä¿®æ”¹4】移除搜索栏的isScanned下拉框
        { title: "创建人", field: "creater", type: "like" },
        { title: "创建时间", field: "createDate", type: "datetime" },
      ],
@@ -142,6 +180,28 @@
        width: 200,
        align: "left",
      },
      // ã€ä¿®æ”¹5】移除表格的isScanned列,新增以下三列
      {
        field: "assembleUser",
        title: "组装人员",
        type: "string",
        width: 150,
        align: "left",
      },
      {
        field: "firstProductSn",
        title: "首件流水号",
        type: "string",
        width: 220,
        align: "left",
      },
      {
        field: "lastProductSn",
        title: "末件流水号",
        type: "string",
        width: 220,
        align: "left",
      },
      {
        field: "creater",
        title: "创建人",
@@ -171,7 +231,6 @@
        align: "left",
      },
    ]);
    const detail = ref({
      cnName: "",
      table: "",
@@ -180,6 +239,7 @@
      key: "",
    });
    // ã€ä¿ç•™åŽŸæœ‰é€»è¾‘ã€‘èŽ·å–ç«™å°æˆå“ä¸‹æ‹‰æ•°æ®
    const getStationEndProductData = async () => {
      try {
        const res = await axios.get("/api/formula/getEndProductList");