Commit 71418b61 authored by houjn@hikoon.cn's avatar houjn@hikoon.cn
parents c6e2b092 948f447a
...@@ -870,6 +870,22 @@ export function extraCostList(params) { ...@@ -870,6 +870,22 @@ export function extraCostList(params) {
}); });
} }
/**
* 获得额外报关费用列表
*
* @export
* @param {*} data
* @return {*}
*/
export function customsOrderList(data) {
return request({
url: "/shipment/box/customsOrderList",
method: "post",
headers: { "Content-Type": "application/x-www-form-urlencoded" },
data: jsonToFormData(data),
});
}
/***************************** 报关费用 end **********************************/ /***************************** 报关费用 end **********************************/
/***************************** 理货 start **********************************/ /***************************** 理货 start **********************************/
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item :label="$t('正常报关订单')"> <el-form-item :label="$t('正常报关订单')">
<div v-for="item in shipmentObj.normalOrderList" :key="item.orderId"> <div v-for="item in normalOrderList" :key="item.orderId">
<a href="javascript:void(0)" @click="jumpOrderDetail(item)">{{ item.orderNo }}</a> <a href="javascript:void(0)" @click="jumpOrderDetail(item)">{{ item.orderNo }}</a>
</div> </div>
</el-form-item> </el-form-item>
...@@ -164,6 +164,7 @@ import { ...@@ -164,6 +164,7 @@ import {
approvalCancel, approvalCancel,
resetById, resetById,
resetByShipmentId, resetByShipmentId,
customsOrderList,
} from "@/api/ecw/boxSea"; } from "@/api/ecw/boxSea";
import { import {
formatNumberString, formatNumberString,
...@@ -229,6 +230,7 @@ export default { ...@@ -229,6 +230,7 @@ export default {
this.DICT_TYPE.BOX_INSPECTION_TIME_CUSTOMS this.DICT_TYPE.BOX_INSPECTION_TIME_CUSTOMS
)[0].value, )[0].value,
isDownload: false, isDownload: false,
normalOrderList: [],
}; };
}, },
created() { created() {
...@@ -258,8 +260,17 @@ export default { ...@@ -258,8 +260,17 @@ export default {
]); ]);
this.cusDeclarationObj = oldData; this.cusDeclarationObj = oldData;
// this.getCustomsOrderList(oldData.dcCustomsType);
}, },
methods: { methods: {
getCustomsOrderList(dcCustomsType) {
customsOrderList({
shipmentId: this.shipmentObj.id,
customsTypes: dcCustomsType === "3" ? "2,3" : dcCustomsType,
}).then((res) => {
this.normalOrderList = res.data ?? [];
});
},
regCloseDialog(type) { regCloseDialog(type) {
this.regDialogVisible = false; this.regDialogVisible = false;
if (type === "error") { if (type === "error") {
...@@ -534,6 +545,9 @@ export default { ...@@ -534,6 +545,9 @@ export default {
}, },
}, },
watch: { watch: {
"cusDeclarationObj.dcCustomsType"(val) {
this.getCustomsOrderList(val);
},
"cusDeclarationObj.documentInfo"(val) { "cusDeclarationObj.documentInfo"(val) {
this.isDownload = false; this.isDownload = false;
if (val.includes("2")) { if (val.includes("2")) {
......
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