Commit 8361e4ba authored by 邓春圆's avatar 邓春圆

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

parents b3691a3a 006a9d78
...@@ -61,6 +61,7 @@ export default { ...@@ -61,6 +61,7 @@ export default {
}, },
data() { data() {
return { return {
airBaseData,
shipmentObj: {}, shipmentObj: {},
warehouseList: [], warehouseList: [],
// 供应商 // 供应商
...@@ -72,7 +73,7 @@ export default { ...@@ -72,7 +73,7 @@ export default {
// 用户 // 用户
allUsers: [], allUsers: [],
// 流程图节点 // 流程图节点
seaBaseData: airBaseData(), seaBaseData: [],
// 状态 // 状态
statusLabel: "", statusLabel: "",
}; };
...@@ -119,6 +120,24 @@ export default { ...@@ -119,6 +120,24 @@ export default {
getbox(this.shipmentId).then((res) => { getbox(this.shipmentId).then((res) => {
const { data } = res; const { data } = res;
this.shipmentObj = data ?? {}; this.shipmentObj = data ?? {};
this.seaBaseData = this.airBaseData()
if(this.shipmentObj.destinationClearance==3&&this.shipmentObj.deliveryType==2){
this.seaBaseData = this.seaBaseData.filter(item=>{
var flag = true
item.forEach(element => {
if(element.type == 'agent'){
flag = false
}
if(element.type == 'unloading'){
flag = false
}
if(element.type == 'clrDocument'){
flag = false
}
});
return flag
})
}
}); });
}, },
}, },
......
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