Pārlūkot izejas kodu

修改软床报价权限

MY 1 mēnesi atpakaļ
vecāks
revīzija
f1638df274

+ 5 - 5
JLHWEB/src/routers/modules/softbedQuoteRouter.ts

@@ -15,7 +15,7 @@ export const softbedQuoteRouter: Menu.MenuOptions[] = [
       isFull: false,
       isAffix: false,
       isKeepAlive: true,
-      funid: 132
+      funid: 151
     },
     children: [
       {
@@ -30,7 +30,7 @@ export const softbedQuoteRouter: Menu.MenuOptions[] = [
           isFull: false,
           isAffix: false,
           isKeepAlive: true,
-          funid: 132,
+          funid: 151,
           activeMenu: "/softbedQuote"
         }
       },
@@ -46,7 +46,7 @@ export const softbedQuoteRouter: Menu.MenuOptions[] = [
           isFull: false,
           isAffix: false,
           isKeepAlive: true,
-          funid: 133,
+          funid: 152,
           activeMenu: "/softbedQuote"
         }
       },
@@ -62,7 +62,7 @@ export const softbedQuoteRouter: Menu.MenuOptions[] = [
           isFull: false,
           isAffix: false,
           isKeepAlive: true,
-          funid: 133,
+          funid: 152,
           activeMenu: "/softbedQuote"
         }
       },
@@ -78,7 +78,7 @@ export const softbedQuoteRouter: Menu.MenuOptions[] = [
           isFull: false,
           isAffix: false,
           isKeepAlive: true,
-          funid: 133,
+          funid: 152,
           activeMenu: "/softbedQuote"
         }
       }

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

@@ -305,7 +305,7 @@ const orderDefaultAction = [
   }),
   buttonDefault({
     label: t("common.add"),
-    power: 133,
+    power: 152,
     limited: () => {
       return !!orderStatus.value;
     },
@@ -315,7 +315,7 @@ const orderDefaultAction = [
   }),
   buttonDefault({
     label: t("common.editText"),
-    power: 133,
+    power: 152,
     limited: () => {
       return !!orderStatus.value;
     },
@@ -333,12 +333,12 @@ const orderDefaultAction = [
   }),
   buttonDefault({
     label: t("common.delText"),
-    power: 136,
+    power: 155,
     limited: () => {
       return !!orderStatus.value;
     },
     disabledTextCallBack: (data: any) => {
-      if (!CheckPower(136)) {
+      if (!CheckPower(155)) {
         return "你没有【报价单-删除】的使用权限";
       }
       return "";
@@ -353,12 +353,12 @@ const orderDefaultAction = [
   }),
   buttonDefault({
     label: t("common.auditText"),
-    power: 134,
+    power: 153,
     limited: () => {
       return !!orderStatus.value;
     },
     disabledTextCallBack: (data: any) => {
-      if (!CheckPower(134)) {
+      if (!CheckPower(153)) {
         return `你没有【报价单-${t("common.auditText")}】的使用权限`;
       }
       if (+data.flag === 1) {
@@ -375,12 +375,12 @@ const orderDefaultAction = [
   }),
   buttonDefault({
     label: t("common.withdrawAuditText"),
-    power: 135,
+    power: 154,
     limited: () => {
       return !!orderStatus.value;
     },
     disabledTextCallBack: (data: any) => {
-      if (!CheckPower(135)) {
+      if (!CheckPower(154)) {
         return `你没有【报价单-${t("common.withdrawAuditText")}】的使用权限`;
       }
       if (+data.flag === 0) {

+ 8 - 8
JLHWEB/src/views/quote/softbedQuote/index.vue

@@ -122,14 +122,14 @@ const action: detailAction[] = [
   }),
   buttonDefault({
     label: t("common.add"),
-    power: 133,
+    power: 152,
     clickFunc: item => {
       router.push(`/softbedQuote/new?id=0`);
     }
   }),
   buttonDefault({
     label: t("common.editText"),
-    power: 133,
+    power: 152,
     clickFunc: item => {
       const { $table, curRecords } = getCurrentRecords(VxeTableRef.value);
 
@@ -147,9 +147,9 @@ const action: detailAction[] = [
   }),
   buttonDefault({
     label: t("common.delText"),
-    power: 136,
+    power: 155,
     disabledTextCallBack: (data: any) => {
-      if (!CheckPower(136)) {
+      if (!CheckPower(155)) {
         return "你没有【报价单-删除】的使用权限";
       }
 
@@ -172,12 +172,12 @@ const action: detailAction[] = [
   }),
   buttonDefault({
     label: t("common.auditText"),
-    power: 134,
+    power: 153,
     limited: () => {
       return !!orderStatus.value;
     },
     disabledTextCallBack: (data: any) => {
-      if (!CheckPower(134)) {
+      if (!CheckPower(153)) {
         return `你没有【报价单-${t("common.auditText")}】的使用权限`;
       }
       return "";
@@ -194,12 +194,12 @@ const action: detailAction[] = [
   }),
   buttonDefault({
     label: t("common.withdrawAuditText"),
-    power: 135,
+    power: 154,
     limited: () => {
       return !!orderStatus.value;
     },
     disabledTextCallBack: (data: any) => {
-      if (!CheckPower(135)) {
+      if (!CheckPower(154)) {
         return `你没有【报价单-${t("common.withdrawAuditText")}】的使用权限`;
       }
       return "";