From f02d3a8ffc05a10a64859b2a16d5d43c8abb0fb9 Mon Sep 17 00:00:00 2001
From: xiaojiao <xiaojiao@kaokeziliao.com>
Date: 星期一, 23 三月 2026 11:13:36 +0800
Subject: [PATCH] 北京回长沙的最终版
---
项目代码/WMS/WIDESEA_WMSClient/src/extension/services/container/VV_ContainerInfo.js | 19 ++++++++++++-------
1 files changed, 12 insertions(+), 7 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/services/container/VV_ContainerInfo.js" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/services/container/VV_ContainerInfo.js"
index 2e4316e..347b664 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/services/container/VV_ContainerInfo.js"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/services/container/VV_ContainerInfo.js"
@@ -14,20 +14,25 @@
buttons: { view: [], box: [], detail: [] },//鎵╁睍鐨勬寜閽�
methods: {//浜嬩欢鎵╁睍
onInit() {
+ // this.columns.forEach(x => {
+
+ // if (x.field == "containerdtl_goodsWeight") {
+ // x.render = (h, { row, column, index }) => {
+ // if (row.materiel_id == "CRH1A" || row.materiel_id == "CRH380B") {
+ // return h('span', row.containerdtl_goodsWeight);
+ // }
+
+ // }
+ // }
+ // });
this.columns.forEach(x => {
-
if (x.field == "containerdtl_goodsWeight") {
x.render = (h, { row, column, index }) => {
- if (row.materiel_id == "CRH1A" || row.materiel_id == "CRH380B") {
- return h('span', row.containerdtl_goodsWeight);
- }
-
+ return h('span', parseInt(row.containerdtl_goodsWeight).toFixed(0));
}
}
});
-
-
this.http.post("/api/VV_ContainerInfo/Getgqrkts", null, false).then(x => {
this.$alert(
`<strong style="font-size: 20px; color: #ff0000;">
--
Gitblit v1.9.3