From f0ee8b06a481ab09ab4f986cbaaee0e033fdbc71 Mon Sep 17 00:00:00 2001 From: yxj <yxj@hz-kingdee.com> Date: 星期四, 21 十二月 2023 08:34:03 +0800 Subject: [PATCH] 安东尼奥发货看板显示列宽调整 --- Delivery.html | 21 +++++++++++++++------ 1 files changed, 15 insertions(+), 6 deletions(-) diff --git a/Delivery.html b/Delivery.html index b81a208..be76fa7 100644 --- a/Delivery.html +++ b/Delivery.html @@ -719,12 +719,15 @@ if (result.columnNameList[key].ColmType == "Decimal") { col.push({ - field: result.columnNameList[key].ColmCols, title: result.columnNameList[key].ColmCols, align: 'center', width: 180, formatter: function (value, row, index) { + field: result.columnNameList[key].ColmCols, title: result.columnNameList[key].ColmCols, align: 'center', width: 100, formatter: function (value, row, index) { return parseFloat(value).toFixed(2); } }); + } + else if (result.columnNameList[key].ColmCols == '鐗╂枡鍚嶇О' || result.columnNameList[key].ColmCols == '瑙勬牸鍨嬪彿') { + col.push({ field: result.columnNameList[key].ColmCols, title: result.columnNameList[key].ColmCols, align: 'center', width: 150 }); } else { - col.push({ field: result.columnNameList[key].ColmCols, title: result.columnNameList[key].ColmCols, align: 'center', width: 180 }); + col.push({ field: result.columnNameList[key].ColmCols, title: result.columnNameList[key].ColmCols, align: 'center', width: 100 }); } } @@ -860,12 +863,15 @@ if (result.columnNameList[key].ColmType == "Decimal") { col.push({ - field: result.columnNameList[key].ColmCols, title: result.columnNameList[key].ColmCols, align: 'center', width: 180, formatter: function (value, row, index) { + field: result.columnNameList[key].ColmCols, title: result.columnNameList[key].ColmCols, align: 'center', width: 100, formatter: function (value, row, index) { return parseFloat(value).toFixed(2); } }); + } + else if (result.columnNameList[key].ColmCols == '鐗╂枡鍚嶇О' || result.columnNameList[key].ColmCols == '瑙勬牸鍨嬪彿') { + col.push({ field: result.columnNameList[key].ColmCols, title: result.columnNameList[key].ColmCols, align: 'center', width: 150 }); } else { - col.push({ field: result.columnNameList[key].ColmCols, title: result.columnNameList[key].ColmCols, align: 'center', width: 180 }); + col.push({ field: result.columnNameList[key].ColmCols, title: result.columnNameList[key].ColmCols, align: 'center', width: 100 }); } } @@ -986,12 +992,15 @@ if (result.columnNameList[key].ColmType == "Decimal") { col.push({ - field: result.columnNameList[key].ColmCols, title: result.columnNameList[key].ColmCols, align: 'center', width: 180, formatter: function (value, row, index) { + field: result.columnNameList[key].ColmCols, title: result.columnNameList[key].ColmCols, align: 'center', width: 100, formatter: function (value, row, index) { return parseFloat(value).toFixed(2); } }); + } + else if (result.columnNameList[key].ColmCols == '鐗╂枡鍚嶇О' || result.columnNameList[key].ColmCols == '瑙勬牸鍨嬪彿') { + col.push({ field: result.columnNameList[key].ColmCols, title: result.columnNameList[key].ColmCols, align: 'center', width: 150 }); } else { - col.push({ field: result.columnNameList[key].ColmCols, title: result.columnNameList[key].ColmCols, align: 'center', width: 180 }); + col.push({ field: result.columnNameList[key].ColmCols, title: result.columnNameList[key].ColmCols, align: 'center', width: 100 }); } } -- Gitblit v1.9.1