Pārlūkot izejas kodu

1、优化审核流程
2、优化软床报价功能权限

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

+ 0 - 3
JLHHJSvr/DataStore/web_mattress_interfacelist.xml

@@ -116,7 +116,6 @@ SELECT u_mattress.mattressid
   </where>
   <orderstr>xd_auditingdate DESC,mattressid DESC</orderstr>
   <displayfields>
-    <field field="yw_flag" datatype="checkbox">业务审核</field>
     <field field="js1_flag" datatype="checkbox">产品补充审核</field>
     <field field="js2_flag" datatype="checkbox">清单补充审核</field>
     <field field="creatmtrl_flag" datatype="checkbox">生成L1产品</field>
@@ -132,8 +131,6 @@ SELECT u_mattress.mattressid
     <field field="mattress_height" datatype="number">床垫高/CM</field>
     <field field="createby">登记人</field>
     <field field="createtime" datatype="datetime">登记时间</field>
-    <field field="yw_auditingrep">业务审核人</field>
-    <field field="yw_auditingdate" datatype="datetime">业务审核时间</field>
     <field field="js1_auditingrep">产品补充审核人</field>
     <field field="js1_auditingdate" datatype="datetime">产品补充审核时间</field>
     <field field="js2_auditingrep">清单补充审核人</field>

+ 2 - 2
JLHWEB/src/routers/modules/baseRouter.ts

@@ -473,7 +473,7 @@ export const baseRouter: Menu.MenuOptions[] = [
           isKeepAlive: true,
           isSubMenu: false,
           activeMenu: "/baseinfo",
-          funid: 53
+          funid: 137
         },
         children: [
           {
@@ -507,7 +507,7 @@ export const baseRouter: Menu.MenuOptions[] = [
           isKeepAlive: true,
           isSubMenu: false,
           activeMenu: "/baseinfo",
-          funid: 1
+          funid: 141
         },
         children: [
           {

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

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

+ 98 - 46
JLHWEB/src/views/erpapi/mattressInterface/detail.vue

@@ -108,6 +108,7 @@ import dialog from "@/utils/dialog";
 // import SetSubspecsDialog from "./components/setSubspecs.vue";
 import InsterMxDialog from "./components/insterMx.vue";
 import InsterPzDialog from "./components/insterPz.vue";
+import { SaveMattressAuditing } from "@/api/modules/quote";
 
 interface detailProp {
   /**
@@ -709,9 +710,9 @@ const orderDefaultAction = [
       if (editType.value == 2 && data.js1_flag == 1) {
         return "已产品补充审核,无法操作";
       }
-      if (editType.value == 1 && data.yw_flag == 1) {
-        return "已完成业务补充审核,无法操作";
-      }
+      // if (editType.value == 1 && data.yw_flag == 1) {
+      //   return "已完成业务补充审核,无法操作";
+      // }
       return "";
     },
     clickFunc: async item => {
@@ -868,8 +869,8 @@ const orderDefaultAction = [
       return !orderStatus.value || editType.value != 1;
     },
     disabledTextCallBack: (data: any) => {
-      if (data.yw_flag == 1) {
-        return "已业务补充审核,无法操作";
+      if (data.js1_flag == 1) {
+        return "已产品补充审核,无法操作";
       }
       return "";
     },
@@ -952,58 +953,102 @@ const orderDefaultAction = [
       }
     }
   }),
-  // [
   buttonDefault({
-    label: "业务补充",
-    power: 79,
+    label: t("common.businessOrderCancel"),
+    power: 95,
     limited: () => {
-      return !!orderStatus.value || LjDetailRef.value?._mainData.xd_flag == 1;
+      return !!orderStatus.value;
     },
     disabledTextCallBack: (data: any) => {
-      if (data.yw_flag == 1) {
-        return "已业务补充审核,无法修改";
+      if (!CheckPower(95)) {
+        return `你没有【报价单-${t("common.businessOrderCancel")}】的使用权限`;
+      }
+      if (data.js1_flag == 1) {
+        return "已产品补充审核,无法操作";
+      }
+      if (data.parentid > 0) {
+        return "副规格无法操作,请在主规格中进行";
       }
       return "";
     },
     clickFunc: item => {
-      routeToEdit(1);
+      ElMessageBox.confirm(`是否确定要${t("common.businessOrderCancel")}吗?`, "询问", {
+        confirmButtonText: "是",
+        cancelButtonText: "否",
+        type: "warning"
+      })
+        .then(() => {
+          let _params = {
+            mattressids: [Number(LjDetailRef.value._mainData.mattressid)],
+            xd_flag: 0
+          };
+          SaveMattressAuditing(_params).then(() => {
+            ElMessage.success(t("sys.api.operationSuccess"));
+
+            LjDetailRef.value.refresh();
+          });
+        })
+        .catch((e: TypeError) => {
+          ElMessage({
+            type: "info",
+            message: "操作取消"
+          });
+        });
     }
   }),
-  buttonDefault({
-    label: "业务审核",
-    power: 80,
-    limited: () => {
-      return !!orderStatus.value;
-    },
-    clickFunc: item => {
-      const curRecords = [LjDetailRef.value?._mainData];
+  // [
+  // buttonDefault({
+  //   label: "业务补充",
+  //   power: 79,
+  //   limited: () => {
+  //     return !!orderStatus.value || LjDetailRef.value?._mainData.xd_flag == 1;
+  //   },
+  //   disabledTextCallBack: (data: any) => {
+  //     if (data.yw_flag == 1) {
+  //       return "已业务补充审核,无法修改";
+  //     }
+  //     return "";
+  //   },
+  //   clickFunc: item => {
+  //     routeToEdit(1);
+  //   }
+  // }),
+  // buttonDefault({
+  //   label: "业务审核",
+  //   power: 80,
+  //   limited: () => {
+  //     return !!orderStatus.value;
+  //   },
+  //   clickFunc: item => {
+  //     const curRecords = [LjDetailRef.value?._mainData];
 
-      YWAudit(1, curRecords, () => {
-        LjDetailRef.value.refresh();
-      });
-    }
-  }),
-  buttonDefault({
-    label: "业务撤审",
-    power: 81,
-    limited: () => {
-      return !!orderStatus.value;
-    },
-    clickFunc: item => {
-      const curRecords = [LjDetailRef.value?._mainData];
+  //     YWAudit(1, curRecords, () => {
+  //       LjDetailRef.value.refresh();
+  //     });
+  //   }
+  // }),
+  // buttonDefault({
+  //   label: "业务撤审",
+  //   power: 81,
+  //   limited: () => {
+  //     return !!orderStatus.value;
+  //   },
+  //   clickFunc: item => {
+  //     const curRecords = [LjDetailRef.value?._mainData];
 
-      YWAudit(0, curRecords, () => {
-        LjDetailRef.value.refresh();
-      });
-    }
-  }),
+  //     YWAudit(0, curRecords, () => {
+  //       LjDetailRef.value.refresh();
+  //     });
+  //   }
+  // }),
   // ],
   // [
   buttonDefault({
     label: "产品补充",
     power: 82,
     limited: () => {
-      return !!orderStatus.value || LjDetailRef.value?._mainData.yw_flag == 0;
+      // return !!orderStatus.value || LjDetailRef.value?._mainData.yw_flag == 0;
+      return !!orderStatus.value;
     },
     disabledTextCallBack: (data: any) => {
       if (data.js1_flag == 1) {
@@ -1019,7 +1064,8 @@ const orderDefaultAction = [
     label: "产品补充审核",
     power: 83,
     limited: () => {
-      return !!orderStatus.value || LjDetailRef.value?._mainData.yw_flag == 0;
+      // return !!orderStatus.value || LjDetailRef.value?._mainData.yw_flag == 0;
+      return !!orderStatus.value;
     },
     clickFunc: item => {
       const curRecords = [LjDetailRef.value?._mainData];
@@ -1033,7 +1079,8 @@ const orderDefaultAction = [
     label: "产品补充撤审",
     power: 84,
     limited: () => {
-      return !!orderStatus.value || LjDetailRef.value?._mainData.yw_flag == 0;
+      // return !!orderStatus.value || LjDetailRef.value?._mainData.yw_flag == 0;
+      return !!orderStatus.value;
     },
     clickFunc: item => {
       const curRecords = [LjDetailRef.value?._mainData];
@@ -1049,7 +1096,8 @@ const orderDefaultAction = [
     label: "清单补充",
     power: 85,
     limited: () => {
-      return !!orderStatus.value || LjDetailRef.value?._mainData.yw_flag == 0;
+      // return !!orderStatus.value || LjDetailRef.value?._mainData.yw_flag == 0;
+      return !!orderStatus.value;
     },
     disabledTextCallBack: (data: any) => {
       if (data.js2_flag == 1) {
@@ -1065,7 +1113,8 @@ const orderDefaultAction = [
     label: "清单补充审核",
     power: 86,
     limited: () => {
-      return !!orderStatus.value || LjDetailRef.value?._mainData.yw_flag == 0;
+      // return !!orderStatus.value || LjDetailRef.value?._mainData.yw_flag == 0;
+      return !!orderStatus.value;
     },
     clickFunc: item => {
       const curRecords = [LjDetailRef.value?._mainData];
@@ -1079,7 +1128,8 @@ const orderDefaultAction = [
     label: "清单补充撤审",
     power: 87,
     limited: () => {
-      return !!orderStatus.value || LjDetailRef.value?._mainData.yw_flag == 0;
+      // return !!orderStatus.value || LjDetailRef.value?._mainData.yw_flag == 0;
+      return !!orderStatus.value;
     },
     clickFunc: item => {
       const curRecords = [LjDetailRef.value?._mainData];
@@ -1146,7 +1196,8 @@ const orderDefaultAction = [
     power: 88,
     loading: () => loadingStatus.value.mtrldef,
     limited: () => {
-      return !!orderStatus.value || LjDetailRef.value?._mainData.yw_flag == 0;
+      // return !!orderStatus.value || LjDetailRef.value?._mainData.yw_flag == 0;
+      return !!orderStatus.value;
     },
     clickFunc: item => {
       toCreateMtrl(1, [LjDetailRef.value?._mainData.mattressid]);
@@ -1158,7 +1209,8 @@ const orderDefaultAction = [
     power: 90,
     loading: () => loadingStatus.value.prdpf,
     limited: () => {
-      return !!orderStatus.value || LjDetailRef.value?._mainData.yw_flag == 0;
+      // return !!orderStatus.value || LjDetailRef.value?._mainData.yw_flag == 0;
+      return !!orderStatus.value;
     },
     disabledTextCallBack: (data: any) => {
       console.log("生成金蝶清单 disabledTextCallBack data", data);

+ 21 - 7
JLHWEB/src/views/erpapi/mattressInterface/hooks/index.tsx

@@ -467,9 +467,28 @@ export const useHooks = (t?: any) => {
   const columns: ColumnProps<any>[] = [
     { type: "checkbox", width: 40, fixed: "left" },
     { title: "#", type: "seq", fixed: "left", width: 80 },
+    // {
+    //   field: "yw_flag",
+    //   title: "业务审核",
+    //   search: {
+    //     // el: "select",
+    //     render: scope => {
+    //       // let _keys = Object.keys(scope);
+    //       // let _data = _keys.includes("row") ? scope.row : _keys.includes("searchParam") ? scope.searchParam : scope;
+    //       return (
+    //         <el-select v-model={scope.searchParam.status_flag} placeholder="全部" clearable onChange={ywFlagChange}>
+    //           <el-option label="待产品补充审" value="3" />
+    //           <el-option label="待清单补充审" value="4" />
+    //           <el-option label="待生成erp产品" value="5" />
+    //           <el-option label="待生成erp清单" value="6" />
+    //         </el-select>
+    //       );
+    //     }
+    //   }
+    // },
     {
-      field: "yw_flag",
-      title: "业务审核",
+      field: "js1_flag",
+      title: "产品补充审核",
       search: {
         // el: "select",
         render: scope => {
@@ -477,7 +496,6 @@ export const useHooks = (t?: any) => {
           // let _data = _keys.includes("row") ? scope.row : _keys.includes("searchParam") ? scope.searchParam : scope;
           return (
             <el-select v-model={scope.searchParam.status_flag} placeholder="全部" clearable onChange={ywFlagChange}>
-              <el-option label="待业务审" value="2" />
               <el-option label="待产品补充审" value="3" />
               <el-option label="待清单补充审" value="4" />
               <el-option label="待生成erp产品" value="5" />
@@ -487,10 +505,6 @@ export const useHooks = (t?: any) => {
         }
       }
     },
-    {
-      field: "js1_flag",
-      title: "产品补充审核"
-    },
     {
       field: "js2_flag",
       title: "清单补充审核"

+ 27 - 27
JLHWEB/src/views/erpapi/mattressInterface/index.vue

@@ -155,34 +155,34 @@ const action: detailAction[] = [
     }
   }),
   // [
-  buttonDefault({
-    label: "业务补充",
-    power: 79,
-    clickFunc: item => {
-      routeToEdit(1);
-    }
-  }),
-  buttonDefault({
-    label: "业务审核",
-    power: 80,
-    clickFunc: item => {
-      const { curRecords } = getCurrentRecords(vxeTableRef.value);
-      YWAudit(1, curRecords, () => {
-        vxeTableRef.value.refresh();
-      });
-    }
-  }),
-  buttonDefault({
-    label: "业务撤审",
-    power: 81,
-    clickFunc: item => {
-      const { curRecords } = getCurrentRecords(vxeTableRef.value);
+  // buttonDefault({
+  //   label: "业务补充",
+  //   power: 79,
+  //   clickFunc: item => {
+  //     routeToEdit(1);
+  //   }
+  // }),
+  // buttonDefault({
+  //   label: "业务审核",
+  //   power: 80,
+  //   clickFunc: item => {
+  //     const { curRecords } = getCurrentRecords(vxeTableRef.value);
+  //     YWAudit(1, curRecords, () => {
+  //       vxeTableRef.value.refresh();
+  //     });
+  //   }
+  // }),
+  // buttonDefault({
+  //   label: "业务撤审",
+  //   power: 81,
+  //   clickFunc: item => {
+  //     const { curRecords } = getCurrentRecords(vxeTableRef.value);
 
-      YWAudit(0, curRecords, () => {
-        vxeTableRef.value.refresh();
-      });
-    }
-  }),
+  //     YWAudit(0, curRecords, () => {
+  //       vxeTableRef.value.refresh();
+  //     });
+  //   }
+  // }),
   // ],
   // [
   buttonDefault({

+ 4 - 4
JLHWEB/src/views/quote/mattressQuote/detail.vue

@@ -2039,8 +2039,8 @@ const orderDefaultAction = [
       if (!CheckPower(94)) {
         return `你没有【报价单-${t("common.businessOrder")}】的使用权限`;
       }
-      if (data.yw_flag == 1) {
-        return "已业务补充审核,无法操作";
+      if (data.js1_flag == 1) {
+        return "已产品补充审核,无法操作";
       }
       if (data.parentid > 0) {
         return "副规格无法操作,请在主规格中进行";
@@ -2082,8 +2082,8 @@ const orderDefaultAction = [
       if (!CheckPower(95)) {
         return `你没有【报价单-${t("common.businessOrderCancel")}】的使用权限`;
       }
-      if (data.yw_flag == 1) {
-        return "已业务补充审核,无法操作";
+      if (data.js1_flag == 1) {
+        return "已产品补充审核,无法操作";
       }
       if (data.parentid > 0) {
         return "副规格无法操作,请在主规格中进行";

+ 6 - 5
JLHWEB/src/views/quote/mattressQuote/hooks/index.tsx

@@ -6040,11 +6040,12 @@ export const useHooks = (t?: any) => {
 
   const gotoErpapi = (_cur, type) => {
     try {
-      if (type === 1) {
-        if (_cur.yw_flag == 1) {
-          throw new Error(_cur.mattresscode + ":已业务补充审核,无法修改");
-        }
-      } else if (type === 2) {
+      // if (type === 1) {
+      //   if (_cur.yw_flag == 1) {
+      //     throw new Error(_cur.mattresscode + ":已业务补充审核,无法修改");
+      //   }
+      // } else 
+      if (type === 2) {
         if (_cur.js1_flag == 1) {
           throw new Error(_cur.mattresscode + ":已产品补充审核,无法修改");
         }

+ 2 - 2
JLHWEB/src/views/quote/mattressQuote/index.vue

@@ -364,8 +364,8 @@ const toAuditing = (params: any, message: string) => {
 
   curRecords.map(o => {
     if (params.hasOwnProperty("xd_flag")) {
-      if (o.yw_flag == 1) {
-        ElMessage.warning("已业务补充审核,无法修改");
+      if (o.js1_flag == 1) {
+        ElMessage.warning("已产品补充审核,无法修改");
         return;
       }
     }

+ 14 - 10
JLHWEB/src/views/quote/softbedQuote/detail.vue

@@ -305,7 +305,7 @@ const orderDefaultAction = [
   }),
   buttonDefault({
     label: t("common.add"),
-    power: 72,
+    power: 133,
     limited: () => {
       return !!orderStatus.value;
     },
@@ -314,8 +314,8 @@ const orderDefaultAction = [
     }
   }),
   buttonDefault({
-    power: 72,
     label: t("common.editText"),
+    power: 133,
     limited: () => {
       return !!orderStatus.value;
     },
@@ -332,13 +332,13 @@ const orderDefaultAction = [
     }
   }),
   buttonDefault({
-    power: 77,
     label: t("common.delText"),
+    power: 136,
     limited: () => {
       return !!orderStatus.value;
     },
     disabledTextCallBack: (data: any) => {
-      if (!CheckPower(77)) {
+      if (!CheckPower(136)) {
         return "你没有【报价单-删除】的使用权限";
       }
       return "";
@@ -353,12 +353,12 @@ const orderDefaultAction = [
   }),
   buttonDefault({
     label: t("common.auditText"),
-    power: 73,
+    power: 134,
     limited: () => {
       return !!orderStatus.value;
     },
     disabledTextCallBack: (data: any) => {
-      if (!CheckPower(73)) {
+      if (!CheckPower(134)) {
         return `你没有【报价单-${t("common.auditText")}】的使用权限`;
       }
       if (+data.flag === 1) {
@@ -375,12 +375,12 @@ const orderDefaultAction = [
   }),
   buttonDefault({
     label: t("common.withdrawAuditText"),
-    power: 74,
+    power: 135,
     limited: () => {
       return !!orderStatus.value;
     },
     disabledTextCallBack: (data: any) => {
-      if (!CheckPower(74)) {
+      if (!CheckPower(135)) {
         return `你没有【报价单-${t("common.withdrawAuditText")}】的使用权限`;
       }
       if (+data.flag === 0) {
@@ -400,11 +400,15 @@ const orderDefaultAction = [
     disabledTextCallBack: () => {
       return userInfo.usermode == 1 ? "业务员模式不可以查看!" : "";
     },
-    clickFunc: () => {}
+    clickFunc: () => {
+      alert("功能维护中!");
+    }
   }),
   buttonDefault({
     label: t("common.viewHistoricalQuotes"),
-    clickFunc: () => {}
+    clickFunc: () => {
+      alert("功能维护中!");
+    }
   }),
   buttonDefault({
     label: t("common.back"),

+ 14 - 72
JLHWEB/src/views/quote/softbedQuote/index.vue

@@ -20,17 +20,6 @@
       </template>
     </LjVxeTable>
   </div>
-
-  <BedConfigModal
-    v-model="isModalVisible"
-    v-model:showHeadboard="showHeadboard"
-    v-model:showNightstand="showNightstand"
-    v-model:showBedframe="showBedframe"
-    v-model:partsConfig="partsConfig"
-    :configItemOptions="allConfigItemOptions"
-    :configValueOptionsMap="configValueOptionsMap"
-    @submit="handleConfirm"
-  />
 </template>
 
 <script setup lang="ts" name="softbedQuote">
@@ -57,53 +46,10 @@ const { columns, orderStatus, VxeTableRef, initParams, onAudit, onCAudit, onDele
 const { CheckPower, CheckOption, buttonNew, buttonDefault } = useAuthButtons(t);
 const { userInfo } = useUserStore();
 
-const allConfigItemOptions = reactive([
-  { pzid: 101, pzname: "颜色" },
-  { pzid: 201, pzname: "材质" },
-  { pzid: 301, pzname: "款式" },
-  { pzid: 401, pzname: "尺寸" },
-  { pzid: 501, pzname: "填充物" },
-  { pzid: 601, pzname: "靠背调节" }
-]);
-
-const configValueOptionsMap = reactive({
-  101: [
-    { printid: 1, pznamemx: "白色" },
-    { printid: 2, pznamemx: "红色" }
-  ],
-  201: [
-    { printid: 1, pznamemx: "皮质" },
-    { printid: 2, pznamemx: "布艺" }
-  ],
-  301: [{ printid: 1, pznamemx: "简约款" }],
-  401: [{ printid: 1, pznamemx: "1.8米" }],
-  501: [{ printid: 1, pznamemx: "记忆棉" }],
-  601: [{ printid: 1, pznamemx: "不可调节" }]
-});
-
-// 父组件维护 partsConfig,Modal 每次打开都会使用同一个对象(记忆性)
-const partsConfig = reactive({
-  headboard: [
-    { pzid: 101, selectedValue: "白色" },
-    { pzid: 201, selectedValue: "皮质" }
-  ],
-  nightstand: [
-    { pzid: 101, selectedValue: "白色" },
-    { pzid: 301, selectedValue: "欧式款" }
-  ],
-  bedframe: [
-    { pzid: 101, selectedValue: "灰色" },
-    { pzid: 401, selectedValue: "1.8米" }
-  ]
-});
-
 const showHeadboard = ref(true);
 const showNightstand = ref(true);
 const showBedframe = ref(true);
 
-// 控制弹窗的显示状态
-const isModalVisible = ref(false);
-
 const getData = (params: any) => {
   let newParams: any = {};
   params.pageNum && (newParams.pageindex = params.pageNum);
@@ -176,14 +122,14 @@ const action: detailAction[] = [
   }),
   buttonDefault({
     label: t("common.add"),
-    power: 124,
+    power: 133,
     clickFunc: item => {
       router.push(`/softbedQuote/new?id=0`);
     }
   }),
   buttonDefault({
     label: t("common.editText"),
-    power: 124,
+    power: 133,
     clickFunc: item => {
       const { $table, curRecords } = getCurrentRecords(VxeTableRef.value);
 
@@ -201,9 +147,9 @@ const action: detailAction[] = [
   }),
   buttonDefault({
     label: t("common.delText"),
-    power: 127,
+    power: 136,
     disabledTextCallBack: (data: any) => {
-      if (!CheckPower(127)) {
+      if (!CheckPower(136)) {
         return "你没有【报价单-删除】的使用权限";
       }
 
@@ -226,12 +172,12 @@ const action: detailAction[] = [
   }),
   buttonDefault({
     label: t("common.auditText"),
-    power: 125,
+    power: 134,
     limited: () => {
       return !!orderStatus.value;
     },
     disabledTextCallBack: (data: any) => {
-      if (!CheckPower(125)) {
+      if (!CheckPower(134)) {
         return `你没有【报价单-${t("common.auditText")}】的使用权限`;
       }
       return "";
@@ -248,12 +194,12 @@ const action: detailAction[] = [
   }),
   buttonDefault({
     label: t("common.withdrawAuditText"),
-    power: 125,
+    power: 135,
     limited: () => {
       return !!orderStatus.value;
     },
     disabledTextCallBack: (data: any) => {
-      if (!CheckPower(125)) {
+      if (!CheckPower(135)) {
         return `你没有【报价单-${t("common.withdrawAuditText")}】的使用权限`;
       }
       return "";
@@ -299,20 +245,16 @@ const action: detailAction[] = [
   buttonDefault({
     label: t("common.viewHistoricalQuotes"),
     power: 61,
-    clickFunc: item => {}
+    clickFunc: item => {
+      alert("功能维护中!");
+    }
   }),
   buttonDefault({
     label: t("common.dataTransmission"),
     power: 61,
-    clickFunc: item => {}
+    clickFunc: item => {
+      alert("功能维护中!");
+    }
   })
 ];
-
-const handleConfirm = data => {
-  isModalVisible.value = false;
-  console.log("showHeadboard :>>", showHeadboard);
-  console.log("showNightstand :>>", showNightstand);
-  console.log("showBedframe :>>", showBedframe);
-  console.log("partsConfig :>>", data);
-};
 </script>