Commit 5410782a authored by dragondean@qq.com's avatar dragondean@qq.com

Merge remote-tracking branch 'origin/dev' into dev

parents 69753b07 2d9b32a9
...@@ -110,6 +110,11 @@ ...@@ -110,6 +110,11 @@
<el-form-item :label="$t('超重订单')" prop="overOrders" v-show="cusDeclarationObj.overMachineStatus == 2&&cusDeclarationObj.weightMisreport == 4"> <el-form-item :label="$t('超重订单')" prop="overOrders" v-show="cusDeclarationObj.overMachineStatus == 2&&cusDeclarationObj.weightMisreport == 4">
<ordersSelect v-model="cusDeclarationObj.overOrders" :placeholder="$t('请选择超重订单')" :shipmentId="shipmentObj.id" /> <ordersSelect v-model="cusDeclarationObj.overOrders" :placeholder="$t('请选择超重订单')" :shipmentId="shipmentObj.id" />
</el-form-item> </el-form-item>
<el-form-item prop="overOrders" v-show="cusDeclarationObj.overOrders.length > 0">
<div v-for="order in cusDeclarationObj.overOrders" :key="order">
{{getOrders(order)}} <el-button type="text" @click="$router.push('/order/warehousing-update?id='+order)">{{$t('入仓修改')}}</el-button>
</div>
</el-form-item>
<!-- <el-form-item :label="$t('装箱单')"> <!-- <el-form-item :label="$t('装箱单')">
<el-button type="primary">{{$t('下载装箱单')}}</el-button> <el-button type="primary">{{$t('下载装箱单')}}</el-button>
...@@ -206,7 +211,8 @@ import { ...@@ -206,7 +211,8 @@ import {
resetById, resetById,
resetByShipmentId, resetByShipmentId,
customsOrderList, customsOrderList,
approvalCreate approvalCreate,
boxGoodsDetail
} from "@/api/ecw/boxSea"; } from "@/api/ecw/boxSea";
import { import {
formatNumberString, formatNumberString,
...@@ -278,6 +284,7 @@ export default { ...@@ -278,6 +284,7 @@ export default {
isDownload: false, isDownload: false,
normalOrderList: [], normalOrderList: [],
isShowNormal: false, isShowNormal: false,
sectionOrderList: []
}; };
}, },
created() { created() {
...@@ -320,6 +327,12 @@ export default { ...@@ -320,6 +327,12 @@ export default {
this.$set(this.cusDeclarationObj, "deleteExitTime", details.deleteExitTime) this.$set(this.cusDeclarationObj, "deleteExitTime", details.deleteExitTime)
} }
} }
boxGoodsDetail({
shipmentId: this.shipmentObj.id,
secId: 0
}).then((res) => {
this.sectionOrderList = res.data.sectionOrderList;
});
}, },
methods: { methods: {
strToArray(str) { strToArray(str) {
...@@ -340,6 +353,13 @@ export default { ...@@ -340,6 +353,13 @@ export default {
} }
}); });
}, },
getOrders(id) {
let order = this.sectionOrderList.find(item=>item.orderId==id)
if(order){
return order.orderNo
}
return ''
},
regCloseDialog(type) { regCloseDialog(type) {
this.regDialogVisible = false; this.regDialogVisible = false;
if (type === "error") { if (type === "error") {
......
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