|
@@ -507,7 +507,7 @@ import {
|
|
|
exportInventory,
|
|
|
cancelAllocation,
|
|
|
confirmAllocation,
|
|
|
- exportItem
|
|
|
+ exportItem,
|
|
|
} from "@/api/kaihe/domesticTrade/myOrder";
|
|
|
import Cookies from "js-cookie";
|
|
|
import { addSet, resetModule, select } from "@/api/system/set";
|
|
@@ -598,14 +598,7 @@ export default {
|
|
|
{
|
|
|
surface: "2",
|
|
|
label: "fServiceitems",
|
|
|
- name: "起运港运输条款",
|
|
|
- checked: 0,
|
|
|
- width: 140,
|
|
|
- },
|
|
|
- {
|
|
|
- surface: "3",
|
|
|
- label: "fDestportMode",
|
|
|
- name: "目的港运输条款",
|
|
|
+ name: "运输条款",
|
|
|
checked: 0,
|
|
|
width: 140,
|
|
|
},
|
|
@@ -970,6 +963,11 @@ export default {
|
|
|
/** 查询客户详情列表 */
|
|
|
getList() {
|
|
|
listCorps(this.queryParams).then((response) => {
|
|
|
+ if (response.rows) {
|
|
|
+ response.rows.forEach((e) => {
|
|
|
+ e.fServiceitems = e.fServiceitems + "-" + e.fDestportMode;
|
|
|
+ });
|
|
|
+ }
|
|
|
this.corpsList = response.rows;
|
|
|
this.total = response.total;
|
|
|
this.loading = false;
|
|
@@ -1036,6 +1034,9 @@ export default {
|
|
|
},
|
|
|
/** 导出按钮操作 */
|
|
|
handleExport() {
|
|
|
+ // exportInventory(this.queryParams).then((response) => {
|
|
|
+ // this.download(response.msg);
|
|
|
+ // });
|
|
|
const queryParams = this.queryParams;
|
|
|
this.$confirm("是否选择船名航次?", "警告", {
|
|
|
confirmButtonText: "确定",
|
|
@@ -1049,19 +1050,22 @@ export default {
|
|
|
this.download(response.msg);
|
|
|
});
|
|
|
},
|
|
|
- handleExportItem(){
|
|
|
- const queryParams = this.queryParams;
|
|
|
- this.$confirm("是否选择船名航次?", "警告", {
|
|
|
- confirmButtonText: "确定",
|
|
|
- cancelButtonText: "取消",
|
|
|
- type: "warning",
|
|
|
- })
|
|
|
- .then(function () {
|
|
|
- return exportItem(queryParams);
|
|
|
- })
|
|
|
- .then((response) => {
|
|
|
- this.download(response.msg);
|
|
|
- });
|
|
|
+ handleExportItem() {
|
|
|
+ exportItem(this.queryParams).then((response) => {
|
|
|
+ this.download(response.msg);
|
|
|
+ });
|
|
|
+ // const queryParams = this.queryParams;
|
|
|
+ // this.$confirm("是否选择船名航次?", "警告", {
|
|
|
+ // confirmButtonText: "确定",
|
|
|
+ // cancelButtonText: "取消",
|
|
|
+ // type: "warning",
|
|
|
+ // })
|
|
|
+ // .then(function () {
|
|
|
+ // return exportItem(queryParams);
|
|
|
+ // })
|
|
|
+ // .then((response) => {
|
|
|
+ // this.download(response.msg);
|
|
|
+ // });
|
|
|
},
|
|
|
/** 搜索按钮操作 */
|
|
|
handleQuery() {
|