From 36230cd4dd0ebe5d21eede3eff6216908f7f7a8e Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期三, 06 十一月 2024 16:48:32 +0800
Subject: [PATCH] AGV任务下发,AGV任务状态更新

---
 项目代码/WMS/WIDESEA_WMSClient/src/extension/outbound/outboundOrder.js |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/outbound/outboundOrder.js" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/outbound/outboundOrder.js"
index 12a97ac..fbae15b 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/outbound/outboundOrder.js"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/outbound/outboundOrder.js"
@@ -38,6 +38,21 @@
         //妗嗘灦鍒濆鍖栭厤缃悗
         //濡傛灉瑕侀厤缃槑缁嗚〃,鍦ㄦ鏂规硶鎿嶄綔
         //this.detailOptions.columns.forEach(column=>{ });
+        this.detailOptions.columns.forEach(x => {
+          if (x.field == 'materielCode') {
+            x.onChange = (val, option) => {
+              // this.$error(val.materielCode)
+              this.http.post("/api/MaterielInfo/Getmaterianame", { Extra: val.materielCode }, true).then(
+                source => {
+                  if (!source.status) return this.$error(source.message);
+                  val.materielName = source.data.materielName;
+                  // this.$success(source.data.materielName);
+                  this.refresh();
+                })
+            }
+          }
+  
+        });
       },
       searchBefore(param) {
         //鐣岄潰鏌ヨ鍓�,鍙互缁檖aram.wheres娣诲姞鏌ヨ鍙傛暟

--
Gitblit v1.9.3