Jelajahi Sumber

JLHWEB: 1、不锁死床网的规格,默认带出是床垫规格,且允许修改

JohnnyChan 2 hari lalu
induk
melakukan
11dba2bf8b
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      JLHWEB/src/views/quote/bednetQuote/hooks/index.tsx

+ 2 - 2
JLHWEB/src/views/quote/bednetQuote/hooks/index.tsx

@@ -842,7 +842,7 @@ export const useHooks = (t?: any, props?: any) => {
       basicinfo: {
         el: "input",
         editable: (scope: any) => {
-          if (ALLOW_EDIT_STATE.includes(scope.status) && !Boolean(props.mattressWidth)) {
+          if (ALLOW_EDIT_STATE.includes(scope.status)) {
             return true;
           }
           return false;
@@ -856,7 +856,7 @@ export const useHooks = (t?: any, props?: any) => {
       basicinfo: {
         el: "input",
         editable: (scope: any) => {
-          if (ALLOW_EDIT_STATE.includes(scope.status) && !Boolean(props.mattressLength)) {
+          if (ALLOW_EDIT_STATE.includes(scope.status)) {
             return true;
           }
           return false;