From 982aa985f13accaf1b6a9171b8f0a684782f99e0 Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期二, 29 四月 2025 11:01:42 +0800
Subject: [PATCH] 1
---
代码管理/WMS/WIDESEA_WMSClient/src/extension/stock/stockView.js | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/stock/stockView.js" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/stock/stockView.js"
index 35f980c..d4a4ff8 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/stock/stockView.js"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/stock/stockView.js"
@@ -19,6 +19,7 @@
methods: {
//涓嬮潰杩欎簺鏂规硶鍙互淇濈暀涔熷彲浠ュ垹闄�
onInit() {
+
// let InOrder = this.buttons.find(x => x.value == 'StockOutbound');
// if (InOrder) {
// InOrder.onClick = function () {
@@ -94,6 +95,23 @@
}
}
})
+ this.columns.forEach((x) => {
+ if (x.field == 'materielInfo') {
+ x.cellStyle = (row, rowIndex, columnIndex) => {
+ if (row.palletCode == 'BCS20250225001') {
+ return { background: '#E6A23C' };
+ }
+ };
+ }
+
+ //濡傛灉鏍规嵁琛岀殑鏌愪釜鍊艰缃暣琛岄鑹�
+ //璁剧疆鏁磋鑳屾櫙棰滆壊
+ // x.cellStyle = (row, rowIndex, columnIndex) => {
+ // if (row.ProductCode == '10044464880643') {
+ // return { background: '#ddecfd' };
+ // }
+ // };
+ });
},
onInited() {
//妗嗘灦鍒濆鍖栭厤缃悗
--
Gitblit v1.9.3