فهرست منبع

采购单详情按钮查看权限

阿赫 9 ماه پیش
والد
کامیت
eee5ff92be
1فایلهای تغییر یافته به همراه6 افزوده شده و 1 حذف شده
  1. 6 1
      zkqy-ui/src/views/orderMange/purchase/listInfoTwo.vue

+ 6 - 1
zkqy-ui/src/views/orderMange/purchase/listInfoTwo.vue

@@ -861,7 +861,7 @@ export default {
         this.materiels = res.data;
         this.materiels.forEach((item) => {
           item.materielName =
-            item.materieEncoding +
+            // item.materieEncoding +
             item.materieColorNumber +
             item.specificationModel;
         });
@@ -997,6 +997,8 @@ export default {
           );
           this.excuteBtnArr[0].children.push({
             btnName: "采购单详情",
+            btnHasPermi:"huaxian:cggl:yclcg:INSERT",
+            btnGroupType:"right",
             btnType: "viewPurchaseOrderDetails",
             btnIcon: "el-icon-edit",
             btnShowCondition: "",
@@ -1004,12 +1006,15 @@ export default {
           });
           this.excuteBtnArr[0].children.push({
             btnName: "采购修改",
+            btnHasPermi:"huaxian:cggl:yclcg:INSERT",
+            btnGroupType:"right",
             btnType: "caiGouUpdate",
             btnIcon: "el-icon-edit",
             btnShowCondition:
               '[{"fieldName":"purchase.data_approval_status","mark":"6","refValue":"0"}]',
             children: [],
           });
+          console.log("this.excuteBtnArr------------------",this.excuteBtnArr)
           this.topBtnArr = res.data.resultMap.button?.filter(
             (item) => item.btnGroupType == "top"
           );