Przeglądaj źródła

1、核价系统软床报价编辑问题,自已增加的明细, 则允许修改/删除【金龙恒】【#18492】
2、核价系统软床报价点返回就报404错误【金龙恒】【#18492】

MY 3 tygodni temu
rodzic
commit
6d2d090d7d

+ 18 - 18
JLHWEB/src/views/quote/softbedQuote/detail.vue

@@ -312,24 +312,24 @@ const orderDefaultAction = [
       return !orderStatus.value;
     },
     clickFunc: item => {
-      if (route.path.indexOf("/new") > -1) {
-        tabRemove(route.fullPath);
-      } else {
-        // router.replace(
-        //   `/softbedQuote/detail?id=${LjDetailRef.value._mainData.softbed_id}&code=${LjDetailRef.value._mainData.softbed_code}`
-        // );
-        pageRefresh({
-          name: "softbedQuoteDetail",
-          params: {
-            id: LjDetailRef.value._mainData.softbed_id,
-            code: LjDetailRef.value._mainData.softbed_code
-          },
-          query: {
-            id: LjDetailRef.value._mainData.softbed_id,
-            code: LjDetailRef.value._mainData.softbed_code
-          }
-        });
-      }
+      // if (route.path.indexOf("/new") > -1) {
+      //   tabRemove(route.fullPath);
+      // } else {
+      // router.replace(
+      //   `/softbedQuote/detail?id=${LjDetailRef.value._mainData.softbed_id}&code=${LjDetailRef.value._mainData.softbed_code}`
+      // );
+      pageRefresh({
+        name: "softbedQuoteDetail",
+        params: {
+          id: LjDetailRef.value._mainData.softbed_id,
+          code: LjDetailRef.value._mainData.softbed_code
+        },
+        query: {
+          id: LjDetailRef.value._mainData.softbed_id,
+          code: LjDetailRef.value._mainData.softbed_code
+        }
+      });
+      // }
     }
   }),
   buttonNew({

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

@@ -1962,7 +1962,7 @@ export const useHooks = (t?: any) => {
                 mtrlcode: "",
                 mtrlmode: "",
                 unit: "",
-                allow_edit: 0,
+                allow_edit: 1,
                 cutting_length: 0,
                 cutting_width: 0,
                 cutting_qty: 0,
@@ -1990,7 +1990,7 @@ export const useHooks = (t?: any) => {
           mtrlcode: "",
           mtrlmode: "",
           unit: "",
-          allow_edit: 0,
+          allow_edit: 1,
           cutting_length: 0,
           cutting_width: 0,
           cutting_qty: 0,