Ver Fonte

修改bug

QuKatie há 3 anos atrás
pai
commit
a0a4ccab5f
1 ficheiros alterados com 11 adições e 12 exclusões
  1. 11 12
      src/views/kaihe/domesticTrade/myOrder/index.vue

+ 11 - 12
src/views/kaihe/domesticTrade/myOrder/index.vue

@@ -339,6 +339,7 @@
           size="mini"
           @click="transship(true)"
           :disabled="selection.length == 0 ? true : false"
+          v-hasPermi="['warehouse:warehousebills:zc']"
           >转船</el-button
         >
         <el-button
@@ -347,13 +348,10 @@
           size="mini"
           @click="transvoyage(true)"
           :disabled="selection.length == 0 ? true : false"
+          v-hasPermi="['warehouse:warehousebills:zhc']"
           >转航次</el-button
         >
-        <el-button
-          type="warning"
-          size="mini"
-          @click="pickUpEDI"
-        >
+        <el-button type="warning" size="mini" @click="pickUpEDI">
           提货EDI
         </el-button>
       </div>
@@ -702,10 +700,11 @@ import { addSet, resetModule, select } from "@/api/system/set";
 import Vue from "vue";
 import draggable from "vuedraggable";
 import {
-  getVesselName, pickUpEDI,
+  getVesselName,
+  pickUpEDI,
   transship,
-  transvoyage
-} from '@/api/finance/applyForInvoice/chargeInvoice'
+  transvoyage,
+} from "@/api/finance/applyForInvoice/chargeInvoice";
 import {
   getVoyageName,
   getVoyageName2,
@@ -1187,10 +1186,10 @@ export default {
       }
       this.transvoyageVisible = Bool;
     },
-    pickUpEDI () {
-      pickUpEDI().then(res => {
-        console.log(res)
-      })
+    pickUpEDI() {
+      pickUpEDI().then((res) => {
+        console.log(res);
+      });
     },
     transshipClosed() {
       this.ship2 = {