浏览代码

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

nzf 3 年之前
父节点
当前提交
dbcdf0a7fc
共有 2 个文件被更改,包括 17 次插入3 次删除
  1. 7 0
      src/api/finance/applyForInvoice/chargeInvoice.js
  2. 10 3
      src/views/kaihe/domesticTrade/myOrder/index.vue

+ 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: "",