Browse Source

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

JohnnyChan 2 ngày trước cách đây
mục cha
commit
11dba2bf8b
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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;