leiqunqing
2026-01-19 ba8aa925e7901381ceb394adb53eca8723d1c4c5
´úÂë¹ÜÀí/WIDESEAWCS_Client/src/views/basicinfo/formulaDetail.vue
@@ -24,17 +24,17 @@
      footer: "Foots",
      cnName: "配方信息详情",
      name: "formulaDetail",
      url: "/formulaDetail/",
      sortName: "createDate",
      url: "/formulaDetail/",
      sortName: "createDate",
    });
    const editFormFields = ref({
      id: "",
      formulaId: "",
      formulaId: "",
      componentCode: "",
      componentName: "",
    });
    const editFormOptions = ref([
      [
        {
@@ -42,22 +42,31 @@
          field: "formulaId",
          type: "input",
          width: 200,
          require: true
          require: true,
        },
        {
          title: "零件编号",
          field: "componentCode",
          type: "input",
          width: 200,
          require: true
          require: true,
        },
        {
          title: "零件名称",
          field: "componentName",
          type: "input",
          width: 200,
          require: true
        }
          require: true,
        },
        {
          title: "是否扫码",
          field: "isScanned",
          type: "select",
          data: [
            { key: "0", value: "否" },
            { key: "1", value: "是" },
          ],
        },
      ],
      [
        {
@@ -66,9 +75,9 @@
          type: "input",
          width: 100,
          hidden: true,
          readonly: true
        }
      ]
          readonly: true,
        },
      ],
    ]);
    const searchFormFields = ref({
@@ -84,6 +93,15 @@
        { title: "配方信息主键", field: "formulaId", type: "int" },
        { title: "零件编号", field: "componentCode", type: "like" },
        { title: "零件名称", field: "componentName", type: "like" },
        {
          title: "是否扫码",
          field: "isScanned",
          type: "select",
          data: [
            { key: "0", value: "否" },
            { key: "1", value: "是" },
          ],
        },
      ],
      [
        { title: "创建人", field: "creater", type: "like" },
@@ -122,6 +140,18 @@
        type: "string",
        width: 200,
        align: "left",
      },
      {
        title: "是否扫码",
        field: "isScanned",
        type: "select",
        bind: {
          key: "value",
          data: [
            { key: "0", value: "否" },
            { key: "1", value: "是" },
          ],
        },
      },
      {
        field: "creater",
@@ -173,4 +203,4 @@
    };
  },
});
</script>
</script>