xiaojiao
2026-03-23 f02d3a8ffc05a10a64859b2a16d5d43c8abb0fb9
ÏîÄ¿´úÂë/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;">