|
@@ -410,7 +410,8 @@ export default {
|
|
},
|
|
},
|
|
// 离港出运
|
|
// 离港出运
|
|
departureShipment() {
|
|
departureShipment() {
|
|
- if (this.ship[0].fArrivalStatus === 0) {
|
|
|
|
|
|
+ console.log(this.ship)
|
|
|
|
+ // if (this.ship[0].fArrivalStatus === 0) {
|
|
if (this.departure === null) {
|
|
if (this.departure === null) {
|
|
this.$message({
|
|
this.$message({
|
|
showClose: true,
|
|
showClose: true,
|
|
@@ -435,17 +436,18 @@ export default {
|
|
});
|
|
});
|
|
})
|
|
})
|
|
}
|
|
}
|
|
- }else {
|
|
|
|
- this.$message({
|
|
|
|
- showClose: true,
|
|
|
|
- message: '该航次已离港或已到港',
|
|
|
|
- type: 'warning'
|
|
|
|
- });
|
|
|
|
- }
|
|
|
|
|
|
+ // }
|
|
|
|
+ // else {
|
|
|
|
+ // this.$message({
|
|
|
|
+ // showClose: true,
|
|
|
|
+ // message: '该航次已离港或已到港',
|
|
|
|
+ // type: 'warning'
|
|
|
|
+ // });
|
|
|
|
+ // }
|
|
},
|
|
},
|
|
// 到港卸船
|
|
// 到港卸船
|
|
unloading() {
|
|
unloading() {
|
|
- if (this.ship[0].fArrivalStatus === 1) {
|
|
|
|
|
|
+ // if (this.ship[0].fArrivalStatus === 1) {
|
|
if (this.arrival === null) {
|
|
if (this.arrival === null) {
|
|
this.$message({
|
|
this.$message({
|
|
showClose: true,
|
|
showClose: true,
|
|
@@ -470,13 +472,13 @@ export default {
|
|
});
|
|
});
|
|
})
|
|
})
|
|
}
|
|
}
|
|
- } else {
|
|
|
|
- this.$message({
|
|
|
|
- showClose: true,
|
|
|
|
- message: '该航次未离港或已到港',
|
|
|
|
- type: 'warning'
|
|
|
|
- });
|
|
|
|
- }
|
|
|
|
|
|
+ // } else {
|
|
|
|
+ // this.$message({
|
|
|
|
+ // showClose: true,
|
|
|
|
+ // message: '该航次未离港或已到港',
|
|
|
|
+ // type: 'warning'
|
|
|
|
+ // });
|
|
|
|
+ // }
|
|
},
|
|
},
|
|
// 导出清单
|
|
// 导出清单
|
|
shipInventoryExport() {
|
|
shipInventoryExport() {
|