zhangwencui
5 天以前 1999e8cff956c8da795ea4433c4f0a9e4909b891
src/views/productionManagement/productionReporting/index.vue
@@ -243,6 +243,18 @@
      },
    },
    {
      label: "生产时间",
      prop: "createTime",
      width: 120,
      formatData: params => {
        const date = new Date(params);
        return `${date.getFullYear()}-${String(date.getMonth() + 1).padStart(
          2,
          "0"
        )}-${String(date.getDate()).padStart(2, "0")}`;
      },
    },
    {
      dataType: "action",
      label: "操作",
      align: "center",