From a0adb6373dbe1d37858998c12e206219dc45ac5c Mon Sep 17 00:00:00 2001
From: chenyong <chenyong@hnkhzn.com>
Date: 星期二, 17 三月 2026 15:36:07 +0800
Subject: [PATCH] 修复用户编辑页面下拉框无最近角色选项问题

---
 项目代码/WMS/WIDESEA_WMSClient/src/extension/basic/palletTypeInfo.js |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/basic/palletTypeInfo.js" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/basic/palletTypeInfo.js"
index 6c2ce93..52ac194 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/basic/palletTypeInfo.js"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/basic/palletTypeInfo.js"
@@ -1,10 +1,11 @@
-
 //姝s鏂囦欢鏄敤鏉ヨ嚜瀹氫箟鎵╁睍涓氬姟浠g爜锛屽彲浠ユ墿灞曚竴浜涜嚜瀹氫箟椤甸潰鎴栬�呴噸鏂伴厤缃敓鎴愮殑浠g爜
+import gridHeader from "@/extension/basic/extend/PrintPalletCode.vue"
+import { refresh } from "less";
 
 let extension = {
     components: {
       //鏌ヨ鐣岄潰鎵╁睍缁勪欢
-      gridHeader: '',
+      gridHeader: gridHeader,
       gridBody: '',
       gridFooter: '',
       //鏂板缓銆佺紪杈戝脊鍑烘鎵╁睍缁勪欢
@@ -17,6 +18,14 @@
     methods: {
       //涓嬮潰杩欎簺鏂规硶鍙互淇濈暀涔熷彲浠ュ垹闄�
       onInit() {
+        var PrintPalletCodeBtn = this.buttons.find(x => x.value == "PrintPalletCode");
+        if(PrintPalletCodeBtn != null){
+          PrintPalletCodeBtn.onClick = () => {
+            console.log('鎵撳嵃')
+            this.$refs.gridHeader.open();
+            this.refresh();
+          }
+        }
         let enableBtn = this.buttons.find(x => x.value == 'Enable');
         if (enableBtn) {
           enableBtn.onClick = function () {

--
Gitblit v1.9.3