ソースを参照

1、修复复制配置报错导致没反应问题

MY 1 日 前
コミット
e4b6372aed
1 ファイル変更1 行追加1 行削除
  1. 1 1
      JLHWEB/src/views/erpapi/mattressInterface/hooks/index.tsx

+ 1 - 1
JLHWEB/src/views/erpapi/mattressInterface/hooks/index.tsx

@@ -1916,7 +1916,7 @@ export const useHooks = (t?: any) => {
 
       state.mattressYWList = visibleData.map(mx => {
         const key = `${mx.erp_pzid}`;
-        if (copyMap.has(key) && (mx.bj_inputtype === 1 || mx.bj_inputtype === 0 || mx.bj_name.includes("床网"))) {
+        if (copyMap.has(key) && (mx.bj_inputtype === 1 || mx.bj_inputtype === 0 || mx.bj_pzname.includes("床网"))) {
           matchQty++;
           NEED_PROPS.forEach(prop => {
             mx[prop] = copyMap.get(key)[prop];