From 8abc9481eafeb715b39a4f4f8d6f628a642e6b53 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期三, 19 三月 2025 17:38:18 +0800
Subject: [PATCH] 优化AGV和输送线、产线对接逻辑
---
项目代码/WMS/WIDESEA_WMSClient/src/extension/basic/palletCodeInfo.js | 33 ++++++++++++++++++++++++---------
1 files changed, 24 insertions(+), 9 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/basic/palletCodeInfo.js" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/basic/palletCodeInfo.js"
index 67bcc6f..b59d307 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/basic/palletCodeInfo.js"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/basic/palletCodeInfo.js"
@@ -1,4 +1,5 @@
//姝s鏂囦欢鏄敤鏉ヨ嚜瀹氫箟鎵╁睍涓氬姟浠g爜锛屽彲浠ユ墿灞曚竴浜涜嚜瀹氫箟椤甸潰鎴栬�呴噸鏂伴厤缃敓鎴愮殑浠g爜
+import { th } from 'element-plus/es/locales.mjs';
import gridBody from './extend/printView.vue'
// import gridHeader from './extend/palletCodeAdd.vue'
let extension = {
@@ -32,20 +33,34 @@
align: 'center',
formatter: (row) => {
return (
- '<i style="cursor: pointer;color: #2d8cf0;"class="el-icon-printer">鎵撳嵃</i>'
+ '<i style="cursor: pointer;color: #2d8cf0;"class="el-icon-printer">鐢熸垚鏉$爜</i>'
);
},
+ // click: (row) => {
+ // let keys = [row.id]
+ // this.http.post("api/PalletCodeInfo/PrintBarcodeLib", keys, "姝e湪鎵撳嵃鏉$爜....").then(x => {
+ // if (x.status)
+ // this.$message.success(x.message);
+ // else
+ // this.$message.error(x.message);
+ // });
+ // }
click: (row) => {
- let palletCodeInfoDTO = {
- PalletCode: row.palletCode,
- Width: row.width,
- Height: row.height,
- Size: row.size
- }
- this.http.post("api/PalletCodeInfo/newBarcodeLib", palletCodeInfoDTO, "姝e湪鐢熸垚鏉$爜....").then(x => {
- let codeImgSrc= 'data:image/png;base64,' + x;
+ this.http.post("api/PalletCodeInfo/newBarcodeLib?key=" + row.id, "", "姝e湪鐢熸垚鏉$爜....").then(x => {
+ let codeImgSrc = 'data:image/png;base64,' + x;
this.$refs.gridBody.open(codeImgSrc);
});
+ // let palletCodeInfoDTO = {
+ // PalletCode: row.palletCode,
+ // Width: row.width,
+ // Height: row.height,
+ // Size: row.size,
+ // Code:row.code
+ // }
+ // this.http.post("api/PalletCodeInfo/newBarcodeLib", palletCodeInfoDTO, "姝e湪鐢熸垚鏉$爜....").then(x => {
+ // let codeImgSrc= 'data:image/png;base64,' + x;
+ // this.$refs.gridBody.open(codeImgSrc);
+ // });
}
});
},
--
Gitblit v1.9.3