Browse Source

1.凯和-内贸业务-我的订单,增加提货EDI按钮,并请求后端接口

nzf 3 years ago
parent
commit
dbcdf0a7fc

+ 7 - 0
src/api/finance/applyForInvoice/chargeInvoice.js

@@ -153,6 +153,13 @@ export function revocation(data) {
     data: data
   })
 }
+// 提货 EDI
+export function pickUpEDI() {
+  return request({
+    url: '/khwarehouse/warehousebills/pickUpEDI',
+    method: 'post',
+  })
+}
 // 导出计算明细从表
 export function exportWarehousebillsitems(fId) {
   return request({

+ 10 - 3
src/views/kaihe/domesticTrade/myOrder/index.vue

@@ -351,7 +351,9 @@
         >
         <el-button
           type="warning"
-          size="mini">
+          size="mini"
+          @click="pickUpEDI"
+        >
           提货EDI
         </el-button>
       </div>
@@ -700,10 +702,10 @@ import { addSet, resetModule, select } from "@/api/system/set";
 import Vue from "vue";
 import draggable from "vuedraggable";
 import {
-  getVesselName,
+  getVesselName, pickUpEDI,
   transship,
   transvoyage
-} from "@/api/finance/applyForInvoice/chargeInvoice";
+} from '@/api/finance/applyForInvoice/chargeInvoice'
 import {
   getVoyageName,
   getVoyageName2,
@@ -1185,6 +1187,11 @@ export default {
       }
       this.transvoyageVisible = Bool;
     },
+    pickUpEDI () {
+      pickUpEDI().then(res => {
+        console.log(res)
+      })
+    },
     transshipClosed() {
       this.ship2 = {
         fVoyid: "",