gaoluyang
3 小时以前 0017250a893462a66cca0b2f960b71ea4f14c06a
1.海川开心-生产订单展示字段修改
已修改1个文件
24 ■■■■ 文件已修改
src/views/productionManagement/productionDispatching/index.vue 24 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/productionManagement/productionDispatching/index.vue
@@ -147,18 +147,18 @@
        prop: "entryDate",
        width: 120,
    },
    {
        label: "生产进度",
        prop: "progress",
        formatData: (cellValue) => {
            // 如果值为空或undefined,显示空字符串
            if (cellValue === null || cellValue === undefined || cellValue === '') {
                return '';
            }
            // 直接在数字后面添加百分号
            return `${cellValue}%`;
        }
    },
    // {
    //     label: "生产进度",
    //     prop: "progress",
    //     formatData: (cellValue) => {
    //         // 如果值为空或undefined,显示空字符串
    //         if (cellValue === null || cellValue === undefined || cellValue === '') {
    //             return '';
    //         }
    //         // 直接在数字后面添加百分号
    //         return `${cellValue}%`;
    //     }
    // },
    {
        label: "数量",
        prop: "quantity",