Sfoglia il codice sorgente

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

MY 1 giorno fa
parent
commit
e4b6372aed

+ 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];