xiaodai2017 2 anni fa
parent
commit
dfec089c08

+ 1 - 1
src/apis/purchaseOrder/index.js

@@ -33,7 +33,7 @@ export default {
 
   // 采返商品详情 订单生成前
   cove_detail: (data, params) =>
-    http(api + "getgoodzxinfobynotzixun", data, "post", params),
+    http(api + "getGoodZxInfoByNotZixun", data, "post", params),
   //导出
   exportcgdlist: (data, params) =>
     http(api + "exportcgdlist", data, "post", params),

+ 1 - 1
src/components/show-goods-data-table/http.js

@@ -9,5 +9,5 @@ export default {
     // 采返商品详情 订单生成后
     re_detail: (data, params) => http(api + "goodZxInfo", data, "post", params),
     // 采返商品详情 订单生成前
-    cove_detail: (data, params) => http(api + "getgoodzxinfobynotzixun", data, "post", params),
+    cove_detail: (data, params) => http(api + "getGoodZxInfoByNotZixun", data, "post", params),
 };

+ 2 - 1
src/components/show-goods-data-table/main.vue

@@ -409,6 +409,7 @@
 
 <script>
 import asyncRequest from "./http";
+import resToken from "@/mixins/resToken";
 import {
   onlineColumns,
   reColumns,
@@ -429,7 +430,7 @@ import {
 } from "./ShowDataTableColumns";
 export default {
   name: "showGoodsDataTable",
-
+  mixins: [resToken],
   props: {
     newTime: {
       type: String,