Commit f003118e authored by dragondean@qq.com's avatar dragondean@qq.com

空运的部分bug

parent 0434d31a
...@@ -331,6 +331,15 @@ export function downloadReceivableList(params) { ...@@ -331,6 +331,15 @@ export function downloadReceivableList(params) {
}); });
} }
// 空运的应收汇总下载
export function downloadAirReceivableList(params) {
return request({
url: "/ecw/box-preload-goods/downloadAirBillReceivable",
method: "get",
params,
});
}
// 下载提单copy // 下载提单copy
export function downloadLadingCopy(params) { export function downloadLadingCopy(params) {
return request({ return request({
......
...@@ -229,6 +229,7 @@ export const DICT_TYPE = { ...@@ -229,6 +229,7 @@ export const DICT_TYPE = {
BOX_CUSTOMS_ERROR_TYPE: "customs_error_type",// 报关异常状态 BOX_CUSTOMS_ERROR_TYPE: "customs_error_type",// 报关异常状态
BOX_SHIPPING_ERROR_TYPE: "shipping_error_type",// 起运异常状态 BOX_SHIPPING_ERROR_TYPE: "shipping_error_type",// 起运异常状态
BOX_ARRIVAL_ERROR_TYPE: "arrival_error_type",// 到港异常状态 BOX_ARRIVAL_ERROR_TYPE: "arrival_error_type",// 到港异常状态
BOX_FLIGHT_ERROR_TYPE: 'flight_error_type',// 航班异常状态
SETTLEMENT_STATUS: 'settlement_status', // 结算状态 SETTLEMENT_STATUS: 'settlement_status', // 结算状态
APP_TYPE:"app_type", //系统类型 APP_TYPE:"app_type", //系统类型
......
...@@ -207,7 +207,7 @@ import { ...@@ -207,7 +207,7 @@ import {
exportboxExcel, exportboxExcel,
getNoticeList, getNoticeList,
dealCustomsSplitNotify, dealCustomsSplitNotify,
exportPreloadGoodsList, downloadReceivableList, getAirNoticeList, zipDownload exportPreloadGoodsList, downloadReceivableList, getAirNoticeList, zipDownload, downloadAirReceivableList
} from '@/api/ecw/box' } from '@/api/ecw/box'
import { getChannelList } from '@/api/ecw/channel' import { getChannelList } from '@/api/ecw/channel'
import { getWarehouseList } from '@/api/ecw/warehouse' import { getWarehouseList } from '@/api/ecw/warehouse'
...@@ -546,7 +546,7 @@ export default { ...@@ -546,7 +546,7 @@ export default {
break; break;
case "downloadReceivableList": case "downloadReceivableList":
this.exportExcel( this.exportExcel(
downloadReceivableList, downloadAirReceivableList,
{shipmentId: row.id} {shipmentId: row.id}
); );
break; break;
......
...@@ -364,6 +364,7 @@ export default { ...@@ -364,6 +364,7 @@ export default {
} else if (type === "single") { } else if (type === "single") {
orders = [row]; orders = [row];
} }
console.log('getErrorType', type)
this.getErrorType(); this.getErrorType();
this.$set(this.errorInfo, "orderList", orders); this.$set(this.errorInfo, "orderList", orders);
this.$set(this.errorInfo, "operate", type); this.$set(this.errorInfo, "operate", type);
...@@ -387,6 +388,12 @@ export default { ...@@ -387,6 +388,12 @@ export default {
this.$set(this.errorInfo, "errorType", "arrival"); this.$set(this.errorInfo, "errorType", "arrival");
this.$set(this.dialogConfig, "title", this.$t("更新到港异常状态")); this.$set(this.dialogConfig, "title", this.$t("更新到港异常状态"));
} }
// 起飞异常
if (key === "flyingHasAbnormal" && value) {
this.$set(this.errorInfo, "errorType", "flight");
this.$set(this.dialogConfig, "title", this.$t("更新起飞异常状态"));
}
console.log(key, value)
} }
}, },
// 初始化字典数据 // 初始化字典数据
......
...@@ -123,6 +123,11 @@ export default { ...@@ -123,6 +123,11 @@ export default {
this.DICT_TYPE.BOX_ARRIVAL_ERROR_TYPE this.DICT_TYPE.BOX_ARRIVAL_ERROR_TYPE
); );
break; break;
case "flight":
this.types = this.getDictDatas(
this.DICT_TYPE.BOX_FLIGHT_ERROR_TYPE
);
break;
} }
}, },
immediate: true, immediate: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment