leiqunqing
2026-02-06 15b3879cd259108e7ebb755fe02c190f28f1e20c
´úÂë¹ÜÀí/WIDESEAWCS_Client/src/views/basicinfo/boxing.vue
@@ -28,11 +28,13 @@
      sortName: "createDate",
    });
    // ç¼–辑表单字段 - æ–°å¢žboxingNo
    const editFormFields = ref({
      id: "",
      palletCode: "",
      productCode: "",
      productName: "",
      boxingNo: "", // æµæ°´å·å­—段
    });
    const editFormOptions = ref([
      [
@@ -41,7 +43,6 @@
          field: "palletCode",
          type: "input",
          width: 200,
          link: true,
          require: true,
        },
        {
@@ -54,6 +55,14 @@
        {
          title: "成品名称",
          field: "productName",
          type: "input",
          width: 200,
          require: true,
        },
        // æ–°å¢žï¼šæµæ°´å·ç¼–辑项(和实体一致非空,故设require: true)
        {
          title: "流水号",
          field: "boxingNo",
          type: "input",
          width: 200,
          require: true,
@@ -71,10 +80,12 @@
      ],
    ]);
    // æŸ¥è¯¢è¡¨å•字段 - æ–°å¢žboxingNo
    const searchFormFields = ref({
      palletCode: "",
      productCode: "",
      productName: "",
      boxingNo: "", // æµæ°´å·æŸ¥è¯¢å­—段
      creater: "",
      createDate: "",
    });
@@ -84,6 +95,8 @@
        { title: "工装板编号", field: "palletCode", type: "like" },
        { title: "成品编号", field: "productCode", type: "like" },
        { title: "成品名称", field: "productName", type: "like" },
        // æ–°å¢žï¼šæµæ°´å·æŸ¥è¯¢é¡¹ï¼ˆæ¨¡ç³ŠæŸ¥è¯¢like,和其他编号保持一致)
        { title: "流水号", field: "boxingNo", type: "like" },
      ],
      [
        { title: "创建人", field: "creater", type: "like" },
@@ -91,6 +104,7 @@
      ],
    ]);
    // è¡¨æ ¼åˆ—配置 - æ–°å¢žboxingNo列
    const columns = ref([
      {
        field: "id",
@@ -120,6 +134,14 @@
      {
        field: "productName",
        title: "成品名称",
        type: "string",
        width: 200,
        align: "left",
      },
      // æ–°å¢žï¼šæµæ°´å·è¡¨æ ¼åˆ—(宽度和其他编号保持200,可根据需求调整)
      {
        field: "boxingNo",
        title: "流水号",
        type: "string",
        width: 200,
        align: "left",
@@ -164,7 +186,7 @@
    const detail = ref({
      cnName: "组盘详细信息",
      table: "boxingDetail",
      table: "DoxingDetail",
      columns: [
        {
          field: "boxingId",
@@ -180,6 +202,7 @@
          field: "componentCode",
          title: "零件编号",
          type: "string",
          edit: { type: "" },
          width: 200,
          align: "left",
        },
@@ -187,6 +210,7 @@
          field: "componentName",
          title: "零件名称",
          type: "string",
          edit: { type: "" },
          width: 200,
          align: "left",
        },