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

空运的部分bug

parent 0434d31a
......@@ -331,6 +331,15 @@ export function downloadReceivableList(params) {
});
}
// 空运的应收汇总下载
export function downloadAirReceivableList(params) {
return request({
url: "/ecw/box-preload-goods/downloadAirBillReceivable",
method: "get",
params,
});
}
// 下载提单copy
export function downloadLadingCopy(params) {
return request({
......
......@@ -229,6 +229,7 @@ export const DICT_TYPE = {
BOX_CUSTOMS_ERROR_TYPE: "customs_error_type",// 报关异常状态
BOX_SHIPPING_ERROR_TYPE: "shipping_error_type",// 起运异常状态
BOX_ARRIVAL_ERROR_TYPE: "arrival_error_type",// 到港异常状态
BOX_FLIGHT_ERROR_TYPE: 'flight_error_type',// 航班异常状态
SETTLEMENT_STATUS: 'settlement_status', // 结算状态
APP_TYPE:"app_type", //系统类型
......
......@@ -207,7 +207,7 @@ import {
exportboxExcel,
getNoticeList,
dealCustomsSplitNotify,
exportPreloadGoodsList, downloadReceivableList, getAirNoticeList, zipDownload
exportPreloadGoodsList, downloadReceivableList, getAirNoticeList, zipDownload, downloadAirReceivableList
} from '@/api/ecw/box'
import { getChannelList } from '@/api/ecw/channel'
import { getWarehouseList } from '@/api/ecw/warehouse'
......@@ -546,7 +546,7 @@ export default {
break;
case "downloadReceivableList":
this.exportExcel(
downloadReceivableList,
downloadAirReceivableList,
{shipmentId: row.id}
);
break;
......
......@@ -364,6 +364,7 @@ export default {
} else if (type === "single") {
orders = [row];
}
console.log('getErrorType', type)
this.getErrorType();
this.$set(this.errorInfo, "orderList", orders);
this.$set(this.errorInfo, "operate", type);
......@@ -387,6 +388,12 @@ export default {
this.$set(this.errorInfo, "errorType", "arrival");
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 {
this.DICT_TYPE.BOX_ARRIVAL_ERROR_TYPE
);
break;
case "flight":
this.types = this.getDictDatas(
this.DICT_TYPE.BOX_FLIGHT_ERROR_TYPE
);
break;
}
},
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