Browse Source

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

MY 1 day ago
parent
commit
e4b6372aed
1 changed files with 1 additions and 1 deletions
  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 => {
       state.mattressYWList = visibleData.map(mx => {
         const key = `${mx.erp_pzid}`;
         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++;
           matchQty++;
           NEED_PROPS.forEach(prop => {
           NEED_PROPS.forEach(prop => {
             mx[prop] = copyMap.get(key)[prop];
             mx[prop] = copyMap.get(key)[prop];