1
hao
2025-05-19 8ef9c48b03ec22db9a56746f898993cb41eb4753
1
已修改2个文件
20 ■■■■ 文件已修改
夏蒙注塑报工/pages/scbg/scbg.vue 20 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
夏蒙注塑报工/unpackage/cache/apk/__UNI__C83ACBB_cm.apk 补丁 | 查看 | 原始文档 | blame | 历史
ÏÄÃÉ×¢Ëܱ¨¹¤/pages/scbg/scbg.vue
@@ -66,9 +66,13 @@
                    <text>需求单据:</text>
                    <text>{{ orderDetails.requirementDoc }}</text>
                </view>
                <view class="order-details-column">
                <!-- <view class="order-details-column">
                    <text>推荐包装数:</text>
                    <text>{{ orderDetails.bzsl }}</text>
                </view> -->
                <view class="order-details-column">
                    <text>工单状态:</text>
                    <text>{{ orderDetails.gdzt }}</text>
                </view>
            </view>
            <view class="order-details-row">
@@ -189,7 +193,7 @@
                                <view class="header-item" id="tm">打印条码</view>
                                <view class="header-item" id="sl">打印数量</view>
                                <view class="header-item" id="sj">打印时间</view>
                                <view class="header-item" id="ry">打印人</view>
                                <view class="header-item" id="ry">报工人</view>
                            </view>
                            <!-- è¡¨æ ¼å†…容 -->
@@ -284,6 +288,7 @@
                    orderQuantity: '', // è®¢å•数量
                    producedQuantity: '', // å·²ç”Ÿäº§æ•°
                    bzsl: '', // æŽ¨èåŒ…装数
                    gdzt:'',
                    itemId: '', // ç‰©æ–™ID
                    itemNo: '', // ç‰©æ–™ç¼–码
                    itemname: '', // ç‰©æ–™åç§°
@@ -753,7 +758,7 @@
                                itemBarcode: record.itemBarcode || '未知条码', // ç¡®ä¿è§£æžå­—段
                                quantity: record.quantity || '未知数量', // æ‰“印数量字段
                                printDate: record.printDate || '未知时间', // æ‰“印时间
                                printedBy: record.printedBy || '未知用户' // æ‰“印人
                                printedBy: record.printedBy || '' // æŠ¥å·¥äºº
                            }));
                            console.log('History records loaded:', this.historyList);
                        } else {
@@ -913,6 +918,7 @@
                    productionOrder: '', // ç”Ÿäº§è®¢å•
                    orderQuantity: '', // è®¢å•数量
                    bzsl: '', // æŽ¨èåŒ…装数
                    gdzt:'',
                    producedQuantity: '', // å·²ç”Ÿäº§æ•°
                    itemId: '', // ç‰©æ–™ID
                    itemNo: '', // ç‰©æ–™ç¼–码
@@ -941,6 +947,7 @@
                                productionOrder: res.data.productionOrder, // ç”Ÿäº§è®¢å•
                                orderQuantity: res.data.orderQuantity, // è®¢å•数量
                                bzsl: res.data.bzsl, // æŽ¨èåŒ…装数
                                gdzt: res.data.gdzt, // å·¥å•状态
                                producedQuantity: res.data.producedQuantity, // å·²ç”Ÿäº§æ•°
                                itemId: res.data.itemId, // ç‰©æ–™ID
                                itemNo: res.data.itemNO, // ç‰©æ–™ç¼–码
@@ -1358,7 +1365,7 @@
                            // ç¬¬å››éƒ¨åˆ†ï¼šæ•°é‡ä¸Žéœ€æ±‚单据号
                            command.setText(20, 340, "TSS24.BF2", 1, 1, "数量: ");
                            command.setText(120, 340, "TSS24.BF2", 1, 1, this.reportedQuantity);
                            command.setText(200, 340, "TSS24.BF2", 1, 1, "打印人: ");
                            command.setText(200, 340, "TSS24.BF2", 1, 1, "报工人: ");
                            command.setText(290, 340, "TSS24.BF2", 1, 1, this.selectedPerson);
@@ -1397,6 +1404,7 @@
                    }
                                    this.oldbgs =  this.reportedQuantity;
                                    this.bgr=
                            //从新刷新工单信息
                            loadOrderDetails();
                            //从新刷新历史记录
@@ -1467,7 +1475,7 @@
                        });
                    }
                });
            this.selectedPerson = this.lastRequestData.printedBy;
                // è¡¥æ‰“上一张记录
                this.fetchHistoryRecords(this.orderNo);
                if (!this.lastRequestData) {
@@ -1478,6 +1486,8 @@
                    });
                    return;
                }
                    //20250507 æ–°åŠ èµ‹å€¼åŽ†å²æ¡ç æŠ¥å·¥äºº
                    this.selectedPerson = this.lastRequestData.printedBy;
                console.log("老条码", this.oldbgs);
                // é‡æ–°æ‰“印上一张记录
                // async reprintLast() {
ÏÄÃÉ×¢Ëܱ¨¹¤/unpackage/cache/apk/__UNI__C83ACBB_cm.apk
Binary files differ