Commit 06c16144 authored by zhoutong's avatar zhoutong

空运路线-开通服务中设置提单制作节点为出仓,但处于理货状态就可以制作提单了,该项设置无效

parent 3eedac78
......@@ -311,7 +311,24 @@ export default {
this.$t("部分完成"),
this.$t("已完成"),
],
allUsers: []
allUsers: [],
makeBillNodeStatus: {
'1':403,
'2':407,
'3':409,
'4':410,
'5':411,
'6':412,
'7':421,
'8':421,
'9':421,
'10':426,
'11':426,
'12':428,
'13':430,
'14':435,
'15':438,
}
}
},
computed: {
......@@ -518,9 +535,10 @@ export default {
this.handleDelete(row);
break;
case "editLadingBill":
getLineInfo({startWarehouseId: row.startWarehouseId,destWarehouseId: row.destWarehouseId,transportType:row.transportType})
console.log(row,12121)
if(1){
let line = await getLineInfo({startWarehouseId: row.startWarehouseId,destWarehouseId: row.destWarehouseId,transportType:row.transportType})
let makeBillNode = line.data.makeBillNode
console.log(row,this.makeBillNodeStatus[makeBillNode])
if(row.shipmentStatusAir<this.makeBillNodeStatus[makeBillNode]){
this.$message.error(this.$t("此出货单状态未到提单节点"));
return
}
......
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